Disallow command parameters from ssh connection

From: Eric (eric.chin_at_pinnacle.co.uk)
Date: 07/08/04


Date: 8 Jul 2004 07:35:20 -0700

Greetings,

I wonder is there an option can be set or some sort of wrapper (open
source or commecial) which will disallow command paramter from a ssh
client connection?

For example, a connection such as "ssh user@paranoia-serevr uname -n"
will be rejected and only allow "ssh user@paranoia-server" type
connection.

Any pointer appreciated.

TIA

Eric



Relevant Pages

  • Re: Disallow command parameters from ssh connection
    ... >source or commecial) which will disallow command paramter from a ssh ... Give this user a shell that doesn't accept "-c". ...
    (comp.security.ssh)
  • Pseudo-terminal and OpenSSH
    ... I am trying to write an wrapper for OpenSSH because my current internet ... But for the ssh command it starts by asking for the password (bypassing ... the rebind of stdin i would guess too), and then it continues the program ... so the program output would go like this: ...
    (comp.unix.programmer)
  • Re: telnet port forwading
    ... I am quite new with SSH and I would like to forward the X11 ... > UL> display from a TELNET connection via SSH: ... > a screen/keyboard/mouse attached to remotehost3. ... And the X client connection is forwarded to localhost. ...
    (comp.security.ssh)
  • ssh and forced password changes
    ... I have a wrapper on my password that prints out directions to my ... This works with everything other than ssh. ... passwd command. ...
    (comp.security.ssh)