Back to list
*Note: Email address will appear as "user domain ext" to prevent harvesting.
Re: ForceCommand executes shell
Apr 21 2011 06:50AM
Walter de Jong (walter sara nl)
This works, but ruins the possiblity of having a normal shell on the
standard port 22.
Another note, if you want the possibility of letting the user specify
any command-line arguments, oper-only-ever-gets-to-do-this.sh should
accept the '-c' argument as sshd executes 'shell' '-c'.
[ more ]
Copyright 2010, SecurityFocus