setting environment for SSH and SCP session
From: Claus Østby Nielsen (cni_at_privat.dk)
Date: 04/25/04
- Next message: Juha Laiho: "Re: interaction with su-only accounts"
- Previous message: Robert Stober: "Can't compile OpenSSH (SSH1) with Kerberos5 on Linux 2.4"
- Next in thread: Richard E. Silverman: "Re: setting environment for SSH and SCP session"
- Reply: Richard E. Silverman: "Re: setting environment for SSH and SCP session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 25 Apr 2004 09:26:05 +0200
Can anyone point me to the docs that tell you how to set the
environment when you execute commands remotely via ssh?.
If I login using "ssh remotehost" then I get a reasonable environment,
probably comes from my .profile, however if I "ssh remotehost command"
then the environment that the command runs in is quite spartan.
What I need to know is how do I configure the environment in the
second case, specifically I need to add the usual */bin paths to the
PATH variable.
My default shell is '/bin/sh'
- Next message: Juha Laiho: "Re: interaction with su-only accounts"
- Previous message: Robert Stober: "Can't compile OpenSSH (SSH1) with Kerberos5 on Linux 2.4"
- Next in thread: Richard E. Silverman: "Re: setting environment for SSH and SCP session"
- Reply: Richard E. Silverman: "Re: setting environment for SSH and SCP session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|