Operating environment:
Windows10 64 Wei
Ubuntu14.04 32 bit
Installed in vmvare in Ubuntu (32/64 may)
Xshell6 software
Operating procedures
Xshell installed on window10;
Ubuntu installation
openssh-server
. Xshell and Ubuntu remotely via an ssh protocol.sudo apt-get install openssh-server
The following normal appearance:
benjie@ubuntu:~$ sudoapt-get install openssh-server Reading package lists... Done Building dependencytree Reading state information... Done Some packages could not be installed. This may mean thatyou have requested an impossiblesituation or if you are using the unstable distribution that somerequired packages have not yet been created or been moved out of Incoming. The following informationmay help to resolve the situation: The following packageshave unmet dependencies: openssh-server : Depends: openssh-client (= 1:6.6p1-2ubuntu1) but 1:6.6p1-2ubuntu2.7 is to beinstalled Recommends: ncurses-term but it is not going to beinstalled Recommends: ssh-import-id but it is not going to beinstalled E: Unable to correct problems, youhave held broken packages.
That is because openssh-server depends on the openssh-client, Ubuntu comes with openssh-client is not it? Since the built-in version openssh-client openssh-client depends different, and therefore need
to execute the following commands:sudo apt-get install openssh-client=1:6.6p1-2ubuntu1
And then execute the command:
sudo apt-get install openssh-server
After installation can
ps -e|grep ssh
view the openssh-server installation was successful;
Xshell establish a connection
Get Ubuntu's ip
New connections;
Fill in the information in the open window;
Select the "User Authentication", enter the Ubuntu login account and password;
SSH security warning, accept and store; (forget the screenshot)
Pleasant to use the xshell