restricting non-pty cmds with passwd auth

Jeremy Jackson jerj at
Thu Sep 23 05:10:18 EST 2004


I'm looking for a way to force users to use a pty and their login shell. 
  They have a .profile that forces them to use a specific application. 
They are currently logging in with telnetd, so this is effective.  I 
want to move to openssh, but this would allow "ssh user at host /bin/sh" 
and any other commands they can think of to bypass this restriction.

Is there a way to make openssh as restrictive at the current environment?

Jeremy Jackson
Coplanar Networks

More information about the openssh-unix-dev mailing list