How to set up passwordless SSH access for root user enable root permission
1st time login in to your server using putty, bitvise or etc. open terminal then using
using command: edit file
- sudo nano /etc/ssh/sshd_config
PasswordAuthentication yes
# Authentication:
PermitRootLogin yes
Now save the file using ctrt+x type y then hit enter
now need restart
systemctl restart sshd
Now need root password change
sudo passwd
enter new password
enter confrim password
done
Now you try to using user root and same a password which one you are using.
I hope you are login successfully
How to set up passwordless SSH access for root user enable root permission