Displaying 1 result from an estimated 1 matches for "openbsdtest".
Did you mean:
openbsdhost
2008 Oct 29
0
ssh disregarding umask for creation of known_hosts (and other files?)
...it.
Regards,
--dkg
PS Some tests that i ran that demonstrate this surprising behavior:
Here's ssh setting g+r,o+r (explicitly disregarding my umask of 077)
when it creates known_hosts for me (tested with OpenSSH 4.8 on OpenBSD
4.3 and OpenSSH 5.1 on Debian testing):
$ uname -a
OpenBSD openbsdtest.squeak.fifthhorseman.net 4.3 GENERIC#698 i386
$ umask 077
$ ls -l ~/.ssh/known_hosts
ls: /home/dkg/.ssh/known_hosts: No such file or directory
$ ssh monkeysphere.info
The authenticity of host 'monkeysphere.info (204.13.164.191)' can't be established.
RSA key fingerprint is e8:7e:5b:...