ssh client uses pw->pw_dir, but should use $HOME for config and other files

Oliver Tschäche olli at tschaeche.com
Tue Nov 13 19:30:02 EST 2001


Hi,

the manual says that ssh-clients (ssh, ssh-add,...) uses
$BASE/.ssh/identity, $BASE/.ssh/known_hosts, $BASE/.ssh/config,
where $BASE is $HOME.

But Binaries and Source-Code do it with $BASE set to the
homedir entry of getpwent().

Since in some (okay rare) cases it is needed to place these files
in $HOME, it would be nice to fix it.

If there is a diff needed, tell me, i send one.

Greetings,

	Olli



More information about the openssh-unix-dev mailing list