How do you globally set environment variables for remote execution through ssh?




I am trying to exec a script remotely through ssh from x86 Solaris 8 OpenSSH
4.4 to SPARC Solaris 10 Sun_SSH 1.1. I can set an environment variable in
$HOME/.ssh/environment but need to have this set globally for every user. I
know that ssh does not run any of the usual login files for a remotely
executed program but the has to be some file where global item may be set.
Apparently Sun_SSH does not look at the system ssh config files either, like
/etc/ssh/environment.
--
View this message in context: http://www.nabble.com/How-do-you-globally-set-environment-variables-for-remote-execution-through-ssh--tf4806563.html#a13751457
Sent from the SSH (Secure Shell) mailing list archive at Nabble.com.



Relevant Pages

  • Re: Recent OpenSSH releases not reading .bashrc for ssh commands
    ... their .bashrc will no longer get them without engaging in..... ... ssh can invoke bash without it then reading .bashrc. ... which svn", the .bashrc is no longer read. ... you're on RHEL 5, you've installed an updated OpenSSH, and you try to ...
    (comp.security.ssh)
  • Re: two SSH compatibility scenarios: can it work?
    ... We are required to use SSH to log into the Engineering lab machines. ... > server software displays this header upon telnet connection to port 22. ... I still use Windows on my notebook for application compatibility. ... > running OpenSSH 3.4p1. ...
    (comp.security.ssh)
  • Re: OpenSSH, Telnet, Windows Authentication and double-hops
    ... deployment on a Windows network. ... Does this mean that you are setting SSH port forwarding ... does not provide the other side with either a Kerberos ticket, ... We're focusing on the OpenSSH for Windows distribution. ...
    (comp.security.ssh)
  • Re: [openssh-unix-announce] Re: Upcoming OpenSSH vulnerability (fwd)
    ... Is OpenSSH 3.3 now part of the base system? ... older versions of ssh are vulnerable or not. ... I have to say that I side with Theo here: ... we wouldn't need OpenSSH. ...
    (FreeBSD-Security)
  • Re: SSH2 and ZSH
    ... implementation of SSH that is not present in the BSD standard OpenSSH. ... That said it would sound to me like you have a path problem not and SSH ... FreeBSD installs ping by default in /sbin and a ... > I recently installed FreeBSD 5.4 on a new server.everything is smooth and ...
    (freebsd-questions)