restricting non-pty cmds with passwd auth

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


Hi,

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
(519)897-1516
http://www.coplanar.net




More information about the openssh-unix-dev mailing list