Casey
January 27, 2021, 6:17pm
#1
Hello, just getting started with the basics. Installed vagrant and virtual box on Win10 and fired up my first box via vagrant command, but when I try to connect to it via ssh (vagrant ssh) I get the following error:
[email protected] : Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
Can anyone assist please ?
thanx
/casey
Hello, @Casey
Please make changes in configuration sshd_config file which is located at /etc/ssh/
.
PasswordAuthentication no
change it no – yes and then restart the service of sshd .
systemctl restart sshd
then try again.
Access to VB, user/password - vagrant/vagrant
1 Like
Tej-Singh-Rana:
/etc/ssh/
Hi Tej, It works… However, now it is asking password. however, I should be able to connect via SSH without a password.
Regards,
Cloud Sadhguru
Hi @cloudsadhguru ,
Please copy the public key to the system where you want password-less SSH access.
Regards,
1 Like