Operating System - HP-UX
1820619 Members
1912 Online
109626 Solutions
New Discussion юеВ

sftp empty passphrase fails

 
Allison Fisher
Advisor

sftp empty passphrase fails

I am attempting to connect as a client to remote server using publickey authentication. I can't get this to work with empty passphrase. Works fine when I create keys with passphrase, but with empty passphrase, authentication proceeds to password.
2 REPLIES 2
Ivan Ferreira
Honored Contributor

Re: sftp empty passphrase fails

What do you get in the error log? Can you ssh -v instead of scp sucessfully without a password?

Have you removed the go write permissions to your keys?

You could stop the server with /sbin/init.d/secsh stop and run SSH in debug mode with:

sshd -d

To see why is rejecting the authentication.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
baiju_3
Esteemed Contributor

Re: sftp empty passphrase fails

Hi Allison ,

Try stting "PermitEmptyPasswords yes" in
/opt/ssh/etc/sshd_config and restart sshd .

/sbin/init.d/secsh stop and start.


Regards,
bl.
Good things Just Got better (Plz,not stolen from advertisement -:) )