Re: sshd’s ForceCommand and ssh’s "–N Do not execute a remote command"

Oleg Verych olecom at gmail.com
Mon Aug 1 15:46:36 EST 2011


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
***
________


More information about the openssh-unix-dev mailing list