[Bug 959] enhancement: supporting a remote scp path option in scp

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Dec 7 11:59:30 EST 2004


djm at mindrot.org changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

------- Additional Comments From djm at mindrot.org  2004-12-07 11:59 -------
Reading of ~/.ssh/environment is controlled by the PermitUserEnvironment option
in sshd_config. It defaults to "no". 

The other ssh-related vector by which the environment may be modified by the
user is through environment passing (AcceptEnv in sshd_config, SendEnv in
ssh_config), it too is off by default (on both the client and the server).

So, assuming that the user can't modify shell initialisation files (e.g.
.bashrc), the user's $PATH is under your control and you should be able to match
on the bare command safely.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the openssh-bugs mailing list