I have two Windows machines running on Ubuntu virtual box. Both machines have OpenSSH installed. I can connect from one to another using ssh
and passwords, but I can not figure out how to use keys.
I generated keys on the client machine using ssh-keygen -t rsa
, saved the public key on the remote machine as authorized_keys
in the folder C:\Users\username\.ssh
and changed the settings to PasswordAuthentication no
in Program Files\OpenSSH\etc\sshd_config
and restarted SSH server. When I try to connect I get an error
Permission denied (public key,keyboard-interactive)
No comments:
Post a Comment