Re: ssh_get_user_home_dir (misc.c)
- Subject: Re: ssh_get_user_home_dir (misc.c)
- From: Aris Adamantiadis <aris@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Sun, 20 Apr 2014 09:52:53 +0200
- To: libssh@xxxxxxxxxx
This is used in two cases: as a fallback when the username to remotely
log on is unknown and to find the home directory of the local user, to
parse his configuration file, private keys and known_hosts file.
You can avoid this by setting the userdirectory parameter with
Le 20/04/14 03:54, Zvi Vered a écrit :
> Upon calling to: ssh_connect the routine: ssh_get_user_home_dir is called.
> Why upon connection to remote SSH server, the client has to know its
> own user name ?
> I’m porting the libssh library to vxWorks 6.x in kernel mode.
> In this mode, there is no “account” or “user name”.
Archive administrator: email@example.com