feature request: use HOME before getpwnam() in misc.c

Gert Doering gert at greenie.muc.de
Fri May 19 16:19:15 AEST 2017


Hi,

On Thu, May 18, 2017 at 09:51:04PM +0000, matthew patton wrote:
> What is the use case?
> 
> HOME=longpath_to_config1
> ssh -i ~/.ssh/key1
> 
> HOME=longpath_to_config2
> ssh -i ~/.ssh/key2

If you run things like that, the "~" is not expanded by ssh but by your shell.

Try "echo ~/"...

Barking up the wrong tree...

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de


More information about the openssh-unix-dev mailing list