Windows10 under Xshell6 how remote connection Ubuntu14.04

Operating environment:

Windows10 64 Wei

Ubuntu14.04 32 bit

Installed in vmvare in Ubuntu (32/64 may)

Xshell6 software

Operating procedures

  1. Xshell installed on window10;

  2. 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 sshview the openssh-server installation was successful;

Xshell establish a connection

  1. Get Ubuntu's ip

  2. New connections;

  3. Fill in the information in the open window;

  4. Select the "User Authentication", enter the Ubuntu login account and password;

  5. SSH security warning, accept and store; (forget the screenshot)

  6. Pleasant to use the xshell

Guess you like

Origin www.cnblogs.com/benjieqiang/p/11404165.html