[openssh] What env variables does scp set on remote?
From: Harry Putnam (reader@newsguy.com)Date: 07/15/02
- Next message: : "Re: [openssh] What env variables does scp set on remote?"
- Previous message: ??: "Re: Beginner needs help"
- Next in thread: : "Re: [openssh] What env variables does scp set on remote?"
- Reply: : "Re: [openssh] What env variables does scp set on remote?"
- Reply: Richard E. Silverman: "Re: [openssh] What env variables does scp set on remote?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Harry Putnam <reader@newsguy.com> Date: Sun, 14 Jul 2002 15:09:06 -0700
When ssh connects to a remote machine it sets a handy variable, SSH_TTY.
Tests against that variable can be used to control things in init
files that need to act different when its ssh as against a console
login.
In home experiements it appears that scp does not set that var, and
therefore it cannot be used to control stuff that might not be good
in a scp connection, so cutting to the chase, I wondered what env
variables if any scp sets on connection, that might be available for
the same kind of usage?
scp -vv [...]
doesn't appear to supply that information.
ditto man scp|grep env
- Next message: : "Re: [openssh] What env variables does scp set on remote?"
- Previous message: ??: "Re: Beginner needs help"
- Next in thread: : "Re: [openssh] What env variables does scp set on remote?"
- Reply: : "Re: [openssh] What env variables does scp set on remote?"
- Reply: Richard E. Silverman: "Re: [openssh] What env variables does scp set on remote?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|