Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: authorized_keys options for password access ?? |
|---|---|
| Date: | Sat, 07 Jul 2007 07:29:44 +1000 |
Hello,
I have been able to restrict an account using options in the authorized_keys file:
--snip--
from="*",command="/usr/local/bin/jcmenu",no-port-forwarding,no-X11-forwarding,no-agent-forwarding ssh-rsa AAAA......
--snip--
However password based logins are currently allowed on the system and can not be turned off :( Is there a way to have the above restrictions in place regardless of the authentication method ?
openssh-3.9p1-8.RHEL4.4
Match User someuser
ForceCommand /usr/local/bin/jcmenu
AllowTcpForwarding no
X11Forwarding no--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Postponed authentication message in syslogs, Paul Stepowski |
|---|---|
| Next by Date: | Is IPv6 support for VxWorks 5.5 (OS) from OpenSSH ???, Vikas Bagora |
| Previous by Thread: | authorized_keys options for password access ??, Michael Gale |
| Next by Thread: | OpenSSH_4.5p1 on GNU/Linux: connection unexpectedly closed, Adam Lantos |
| Indexes: | [Date] [Thread] [Top] [All Lists] |