Re: sshd, sftp & umask settings (ssh.com 2.4.0)

From: Joe Husk (joe@indiana.edu)
Date: 01/28/03


From: Joe Husk <joe@indiana.edu>
Date: Tue, 28 Jan 2003 16:49:23 -0500

Would it be dangerous to have:

ENV=/etc/profile

in a ~/.ssh/environment file?

-joe

In article <m1liswefc82.fsf@syrinx.oankali.net>, Richard E. Silverman
<slade@shore.net> wrote:

> >>>>> "JH" == Joe Husk <joe@indiana.edu> writes:
>
> JH> If a non-interactive, non-login shell doesn't source any startup
> JH> files how can you set an environment variable?
>
> Again, if you _read_the_man_page_, you will see I am talking about bash
> looking at *its* environment when *it* starts -- not variables it sets for
> you and its *children* when reading startup files. So if the SSH
> implementation you're using supports it, you can set ENV or BASH_ENV
> appropriately. SSH2 has number of mechanisms for this:
> {/etc,~/.ssh}/environment files, the environment= public-key option, etc.



Relevant Pages

  • Re: ssh2
    ... And suddenly I had a dir ssh2 in /root which is not normal I think. ... The fact that the old keys were not used means either an incompetent hacker or just that you are connected to the wrong machine. ... ssh is not a thing i could say I master. ... Therefore I'm reasonably certain that this was created for an outgoing ssh connection. ...
    (Fedora)
  • Late Summary: TRU64 Unix V5.1B - Issues with SecureCopy
    ... To use ssh on my Alphas in the past we installed and setup OpenSSH. ... [SNIP, SNIP] ... these issues come up in compatibility with OpenSSH and SSH2 ... The answer is to take a copy of the OpenSSH scp program, rename it to scp1, ...
    (Tru64-UNIX-Managers)
  • Re: Odd ssh attacks?
    ... port 57194 ssh2 ... The first thing to do is to set ssh so users have to use a key rather ... IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL. ...
    (Ubuntu)
  • Re: X11 forwarding with SSH1 / SSH2
    ... > announced SSH-1.5 it wouldn't be willing to speak SSH2. ... > need to pick out the lines that correspond to the value of $DISPLAY. ... > If you run those commands on both the SSH client and SSH server ... [thomasn@growl thomasn]$ echo $DISPLAY ...
    (comp.security.ssh)
  • Re: openssh
    ... but since there was a vulnarability with open ssh 2.9.x everyone tells me to ... > Supported authentification methods for SSH1 RSA,keyboard ... > Supported keys exchange algorithm for SSH2 ... > Supported decryption ciphers for SSH2 ...
    (FreeBSD-Security)