Displaying 1 result from an estimated 1 matches for "ssh_propogate_env".
2001 May 17
0
Patch: Set SSH_AUTHKEY to key id used to authenticate.
...9;s useful to
know who is on the other end of the connection. For example, if I log in
as root on a box, I'd like to be able to configure vi-specific settings,
while another user may prefer to have emacs.
Originally I had thought about doing it with environment variables. Set it
up with:
SSH_PROPOGATE_ENV="SSH_PROPOGATE_ENV INPUTRC REMOTE_USER"
INPUTRC="$HOME/.inputrc-vi"
REMOTE_USER="jafo"
Something like that. Obviously, there are some problems with "$HOME"
getting expanded on the client side, but worst case you could use
REMOTE_USER in the .profile....