Re: setting environment for SSH and SCP session
From: Richard E. Silverman (res_at_qoxp.net)
Date: 04/27/04
- Next message: Richard E. Silverman: "Re: Windows XP remote desktop over SSH"
- Previous message: Richard E. Silverman: "Re: interaction with su-only accounts"
- In reply to: Claus Østby Nielsen: "setting environment for SSH and SCP session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 26 Apr 2004 21:56:46 -0400
Assuming your shell is bash, read the INVOCATION section of bash(1),
remembering that the shell you get for remote command execution (an SSH
exec channel) is non-interactive in the terminology of that man page.
You don't say what SSH software you're using. If the server is OpenSSH,
then see ssh(1) regarding PermitUserEnvironment and ~/.ssh/environment.
-- Richard Silverman res@qoxp.net
- Next message: Richard E. Silverman: "Re: Windows XP remote desktop over SSH"
- Previous message: Richard E. Silverman: "Re: interaction with su-only accounts"
- In reply to: Claus Østby Nielsen: "setting environment for SSH and SCP session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|