Oleg Verych
2011-Jul-29 06:01 UTC
sshd’s ForceCommand and ssh’s "–N Do not execute a remote command"
Hallo. If `sshd` is configured to have a ForceCommand, no `ssh ?N` must skip this *forced* server?s setup, isn?t it? But it isn?t so. Thus, admin may think that the command is forced by a server, but user can skip that. In such case only port forwarding is available, but anyway *force* is meaningless, IMHO. -- sed 'sed && sh + olecom = love'? <<? '' -o--=O`C ?#oo'L O <___=E M
Oleg Verych
2011-Aug-01 05:46 UTC
Re: sshd’s ForceCommand and ssh’s "–N Do not execute a remote command"
Hi, 2011/7/29 Oleg Verych <olecom at gmail.com>:> If `sshd` is configured to have a ForceCommand, no `ssh ?N` must skip > this *forced* server?s setup, isn?t it? > > But it isn?t so. Thus, admin may think that the command is forced by a server, > but user can skip that. > > In such case only port forwarding is available, but anyway *force* is > meaningless, IMHO.there is more info about this, in case you don't know: *** Can server disallow -N option? http://groups.google.com/group/comp.security.ssh/browse_thread/thread/ea54d720ca056c99/11a67bc5f2eac619 *** ________