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

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


2011/7/29 Oleg Verych <olecom at>:

> 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?

More information about the openssh-unix-dev mailing list