Re: Command limiting with SSH keys and password auth ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 29 Jan 2008, Ian wrote:

Main problem I have is if you enter no command (simply ssh <server>) it also
kicks you out, I'd like it to ask for a password if no command is given, and
then if correct pass you onto a normal shell.

I've always used 2 sets of keys, one for the restriction, one without.
Then on the invoking end alias/script/config shortcuts to ssh -i the
right one.

------------------------------------------------------------------------
Jim Wildman, CISSP, RHCE       jim@xxxxxxxxxxxxx http://www.rossberry.com
"Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one."
Thomas Paine
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux