it is written that ssh connection not established, while - i was already connected. please check screen below and advise what is my mistake.
You need to be able to login(ssh) as root
, not azureuser
.
This is such a poorly written prompt.
In plain English:
Azure Client Host = this local terminal
Nautilus-vm = virtual machine deployed in azure
Just tell them they are copying their SHH Public Key fount at (/root/.ssh/id_rsa.pub)
Using SSH to log into a virtual machine named nautilus-vm
pasting that public key into the authorized_keys file
(root@nautilus-vm:/home/azureuser/.ssh/authorized_keys)
Adjusting Permissions:
chmod 640 ~/.ssh/*
Then using the root account to SSH into the nautilus-vm (Virtual Machine)
Hi Srikanth,
I have done the following steps:
- ssh-copy-id -i /root/.ssh/id_rsa.pub root@
- ssh azureuser@
- chmod 640 ~/.ssh/*
- exit
- ssh root@
Still it says - Please login as the user “azureuser” rather than the user “root”.
did i miss anything. Could you please help me on this
Hey @stalinraja.sachin,
Were you able to figure it out already?
If not, try checking the contents of the authorized_keys
file content of root
user on the VM. That should give you an idea as to why it says - Please login as the user “azureuser” rather than the user “root”.
yes Srikanth, i foundout. thanks.
Thank you, this fixed it for me too.