Re: [CentOS] Command limiting with SSH keys and password auth ...

2008-01-30 Thread Jim Wildman
On Tue, 29 Jan 2008, Ian wrote: Main problem I have is if you enter no command (simply ssh ) 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.

[CentOS] Command limiting with SSH keys and password auth ...

2008-01-29 Thread Ian
Hi all, I'm trying to do a setup (Centos 4.4), with ssh keys. Ideal is that remote you can enter a limited set of commands with no password "or" you can ssh in with password and get a normal bash prompt. At the moment I have from=":::x.x.x.x",command="/usr/local/bin/allowedcommands.sh" ssh-rs