#apt-get install openssh-server openssh-client
#mkdir /var/run/sshd
#ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
#ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
#/usr/sbin/sshd
I ssh localhost
I tried to create the password generated by ssh and reset the password of root. I couldn’t log in with the root password. I asked for advice on what was going on. It took me all morning …
go to market
ssh root@localhost
? Or there is no specified port number, give it a tryssh root@localhost -p <PORT>