Just installed ubuntu12.04 is the default ssh server is not the only client,
You can be viewed with the command
dpkg -l | grep ssh
Configuring apt-get update sources refer to my other article
ubuntu12.04 configure apt-get update source
https://blog.csdn.net/frdevolcqzyxynjds/article/details/105275913
Then install openssh-server
sudo apt-get install openssh-server
After you install to view the command
dpkg -l | grep ssh
ssh remote failure
Changing the root password
sudo passwd root
Edit the configuration file that allows users to root login via ssh:
sudo vi /etc/ssh/sshd_config
Found: PermitRootLogin prohibit-password disabled
Add: PermitRootLogin yes
sudo service ssh restart
reference:
ubuntu12.04 install SSH Server
https://blog.csdn.net/zlllg/article/details/88710311
Can not solve Ubuntu 16.04 SSH remote login problem
https://jingyan.baidu.com/article/6079ad0e97278828ff86dbb7.html
— —
to be continued……