Default path to identity file
Darren Tucker
dtucker at zip.com.au
Sun Aug 29 20:19:21 EST 2004
Robert Dahlem wrote:
> Identity files are always expanded by tilde_expand_filename() which gets
> the name of the home directory from getpwuid(my_uid)->pw_dir.
>
> This is not what I expect (well, hope :-) when my UID is 0 but I'm not
> root.
[...]
> It is not an alternative to define "IdentityFile
> /home/dahlem/.ssh/id_rsa" in /home/dahlem/.ssh/config: ssh is consistent
> on this side and uses /.ssh/config .
alias ssh="ssh -o IdentityFile=/home/dahlem/.ssh/id_rsa"
or
alias ssh="ssh -F /home/dahlem/.ssh/config"
?
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list