Use Xshell connection ubuntu

The reason Rom 1: ping ubuntu's ip nowhere

I put on the windows shut VM virtual NIC 

Solution: Open the card into the adapter management right can ping

Rom 2 reasons:

sudo apt-get install openssh-server

Rom 3 reasons:

modify: 

vim /etc/ssh/sshd_config 

turn up:  

# Authenticaton 

LoginGraceTime 120

PremitRootLogin without passwd 

StrictModes yes 

change into: 

# Authenticaton 

LoginGraceTime 120

PremitRootLogin yes 

StrictModes yes

 Rom 4 reasons:

Log in with a user name and then su root has been used previously logged into the root administrator account has been unsuccessful, has been cool

Guess you like

Origin www.cnblogs.com/Schrodinger6/p/11366873.html