SSH_CLIENT _not_ set when doing a command

Michael Stone mstone at cs.loyola.edu
Tue Sep 26 22:20:34 EST 2000


On Tue, Sep 26, 2000 at 10:33:24AM +0200, Sendy wrote:
> If i run 'env|grep SSH_CLIENT' on a Debian 2.2 system with
> SSH Version OpenSSH-1.2.3

~> cat /etc/debian_version 
2.2
~> ssh -V
SSH Version OpenSSH-1.2.3, protocol version 1.5.
Compiled with SSL.
~> ssh localhost 'env|grep SSH'
mstone at localhost's password:
SSH_CLIENT=127.0.0.1 746 22

> And if i run this on another Debian 2.2 system with ssh upgraded to
> SSH Version OpenSSH_2.2.0p1

~> ssh -V
SSH Version OpenSSH_2.2.0p1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
~> ssh localhost 'env | grep SSH_CLIENT'
mstone at localhost's password: 
SSH_CLIENT=127.0.0.1 1888 22


-- 
Mike Stone





More information about the openssh-unix-dev mailing list