Configuration to Enable ssh(Remote) Login in Ubuntu.
How to Enable ssh (Remote) Login in Ubuntu.
Have a Trouble to Access ssh Login in Ubuntu.
- Go to your system/VM and Open Terminal (use ctl+atl+t) and Follow Commands.
- Open sshd_config file in any editor like vim, nano, gedit (I use vim ) and modify some parameters.
- vim /etc/ssh/sshd_config
#PermitRootLogin prohibit-password
#PasswordAuthentication yes
Change to
PermitRootLogin yes
PasswordAuthentication yes
- press i to edit.
- press "esc" then type ":wq" ( esc-> exit insert mode, w-> Write, q-> Quit editor).
- Restart the sshd.service
- systemctl restart sshd
- systemctl status sshd
- Now you must be access Remote Login.