Updating function GetPasswd from _sub_ssh_handler