Ubuntu16.04 is installed in VMware and wants to operate through SECURECRT in WIN10

Source: Internet
Author: User
Tags unpack ed25519

Ubuntu 16.04 is installed in VMWare and is intended to be operated by SECURECRT in Win10.
Found on the Internet that Ubuntu is not installed by default Ssh-server, only Ssh-client, so the installation of Ssh-server in Ubunta has become the primary task.
You can surf the internet in Ubunta, but use the following command:
sudo apt-get install openssh-server

Always fail.

1 First Hint:

Reading Package Lists ... Donebuilding dependency treereading state information ... Donepackage Openssh-server are not available, but are referred to by another package. This may mean. The package is missing, have been obsoleted, Oris only available from another sourcee:package openssh-s Erver has no installation candidate

By finding the keyword: "Package openssh-server have no installation candidate", the conclusion is that you need to add the latest source in/etc/apt/source.list.
The operation is as follows:

sudo cp/etc/apt/sources.list/etc/apt/sources.list.backup  (Backup under current source list) sudo gedit/etc/apt/sources.list  must be used sudo, otherwise the sudo apt-get update cannot be saved after editing

Here is a list of my added sources:

Deb Http://debian.ustc.edu.cn/ubuntu/hardy main Multiverse restricted Universedeb http://debian.ustc.edu.cn/ubuntu/ Hardy-backports main Multiverse restricted Universedeb http://debian.ustc.edu.cn/ubuntu/hardy-proposed main Multiverse restricted Universedeb http://debian.ustc.edu.cn/ubuntu/hardy-security main multiverse restricted Universedeb http://debian.ustc.edu.cn/ubuntu/hardy-updates main Multiverse restricted UNIVERSEDEB-SRC/http Debian.ustc.edu.cn/ubuntu/hardy main Multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ Hardy-backports main Multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/hardy-proposed main Multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/hardy-security main multiverse restricted UNIVERSEDEB-SRC http://debian.ustc.edu.cn/ubuntu/hardy-updates main Multiverse restricted Universedeb/http Mirror.bjtu.edu.cn/ubuntu/hardy main restricted universe Multiversedeb http://mirror.bjtu.edu.cn/Ubuntu/hArdy-backports restricted Universe multiversedeb http://mirror.bjtu.edu.cn/Ubuntu/hardy-proposed main restricted Universe Multiversedeb http://mirror.bjtu.edu.cn/Ubuntu/hardy-security main restricted universe Multiversedeb/HTTP Mirror.bjtu.edu.cn/ubuntu/hardy-updates main restricted universe multiversedeb-src Http://mirror.bjtu.edu.cn/Ubuntu /Hardy main restricted universe multiversedeb-src http://mirror.bjtu.edu.cn/Ubuntu/hardy-backports main restricted Universe multiversedeb-src http://mirror.bjtu.edu.cn/Ubuntu/hardy-proposed main restricted universe MULTIVERSEDEB-SRC http://mirror.bjtu.edu.cn/Ubuntu/hardy-security main restricted universe MULTIVERSEDEB-SRC/HTTP Mirror.bjtu.edu.cn/ubuntu/hardy-updates main restricted universe Multiversedeb Http://ubuntu.csie.ntu.edu.tw/ubuntu /Hardy main restricted universe multiversedeb-src Http://ubuntu.csie.ntu.edu.tw/ubuntu/hardy main restricted universe m Ultiversedeb http://ubuntu.csie.ntu.edu.tw/ubuntu/hardy-updates Main restricted Universe multiversedeb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/hardy-updates main restricted universe Multiversedeb Http://ubuntu.csie.ntu.edu.tw/ubuntu/hardy-backports main restricted Universe MULTIVERSEDEB-SRC/HTTP Ubuntu.csie.ntu.edu.tw/ubuntu/hardy-backports main restricted universe Multiversedeb http://ubuntu.csie.ntu.edu.tw/ Ubuntu/hardy-security main restricted universe multiversedeb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ Hardy-security main restricted universe multiversedeb http://ubuntu.csie.ntu.edu.tw/ubuntu/hardy-proposed main Multiverse restricted universedeb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/hardy-proposed main restricted universe Multiversedeb Http://Ubuntu.cn99.com/ubuntu/hardy main restricted universe Multiversedeb http://Ubuntu.cn99.com/ Ubuntu/hardy-security main restricted universe multiversedeb http://Ubuntu.cn99.com/ubuntu/hardy-updates main Restricted Universe multiversedeb http://Ubuntu.cn99.com/ubuntu/hardy-proposed main restricted universe Multiversedeb http://Ubuntu.cn99.com/ubuntu/hardy-backports main restricted universe MULTIVERSEDEB-SRC/HTTP Ubuntu.cn99.com/ubuntu/hardy main restricted universe multiversedeb-src http://Ubuntu.cn99.com/ubuntu/ Hardy-security main restricted universe multiversedeb-src http://Ubuntu.cn99.com/ubuntu/hardy-updates main restricted Universe multiversedeb-src http://Ubuntu.cn99.com/ubuntu/hardy-proposed main restricted universe MULTIVERSEDEB-SRC Http://Ubuntu.cn99.com/ubuntu/hardy-backports main restricted universe Multiversedeb http://mirror.lupaworld.com/ Ubuntu Hardy main restricted universe Multiversedeb http://mirror.lupaworld.com/ubuntu hardy-security main restricted Universe Multiversedeb http://mirror.lupaworld.com/ubuntu hardy-updates main restricted Universe multiversedeb/HTTP/ Mirror.lupaworld.com/ubuntu hardy-backports main restricted universe Multiversedeb http://mirror.lupaworld.com/ Ubuntu hardy-proposed main restricted universe multiversedeb-src Http://mirror.lupaworld. com/ubuntu Hardy Main restricted universe multiversedeb-src Http://mirror.lupaworld.com/ubuntu hardy-security Main Restricted Universe multiversedeb-src http://mirror.lupaworld.com/ubuntu hardy-updates main restricted universe MULTIVERSEDEB-SRC http://mirror.lupaworld.com/ubuntu hardy-backports main restricted universe multiversedeb-src http ://mirror.lupaworld.com/ubuntu hardy-proposed main restricted universe Multiversedeb http://mirrors.163.com/ubuntu/ Wily main restricted universe multiversedeb http://mirrors.163.com/ubuntu/wily-security main restricted universe Multiversedeb http://mirrors.163.com/ubuntu/wily-updates main restricted universe Multiversedeb/HTTP mirrors.163.com/ubuntu/wily-proposed main restricted universe Multiversedeb http://mirrors.163.com/ubuntu/ Wily-backports main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/wily main restricted universe MULTIVERSEDEB-SRC http://mirrors.163.com/ubuntu/wily-security main restricted universe multiveRSEDEB-SRC http://mirrors.163.com/ubuntu/wily-updates main restricted universe MULTIVERSEDEB-SRC/HTTP mirrors.163.com/ubuntu/wily-proposed main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ Wily-backports Main restricted Universe multiverse


2 after the execution, the following prompt appears:

Reading Package Lists ... Donebuilding Dependency Tree       Reading State information ... Donesome packages could not be installed. This may mean, haverequested a impossible situation or if you is using the the unstabledistribution that some Requir Ed packages has not yet been createdor been moved out of Incoming.the following information could help to resolve the Situa Tion:the following packages has unmet dependencies:openssh-server:depends:openssh-client (= 1:7.1p2-2) but 1:7.2p2-4 IS-to was installed depends:openssh-sftp-server but it's not going to being  installed  recommends:ncurses-term but I T is isn't going to being installed  Recommends:ssh-import-id but it isn't going to being installede:unable to correct probl EMS, you have held broken packages.

(1) Execute sudo apt-get install openssh-client to get the following tips:

Reading Package Lists ... Donebuilding Dependency Tree       Reading State information ... Doneopenssh-client is already the newest version (1:7.2p2-4). Openssh-client set to manually installed.0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Description The version of Ssh-client is 1:7.2p2-4. But the version ssh-server needs is 1:7.1p2-2, so reinstall Ssh-client:
Execute the following command:

sudo apt-get install openssh-client=1:7.1p2-2

(2) Final execution

sudo apt-get install Openssh-server

The installation is successful with the following prompt:

Reading Package Lists ... Donebuilding Dependency Tree Reading state information ... Donethe following additional packages would be installed:ncurses-term Openssh-sftp-server ssh-import-idsuggested package S:ssh-askpass rssh molly-guard monkeyspherethe following NEW packages would be Installed:ncurses-term openssh-server op Enssh-sftp-server SSH-IMPORT-ID0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 680 KB of archives. After this operation, 5,303 KB of additional disk space would be used. Want to continue? [y/n] Get:1 http://ubuntu.uhost.hk Xenial/main i386 ncurses-term all 6.0+20151024-2UBUNTU2 [249 kb]get:2/HTTP/ UBUNTU.UHOST.HK Xenial/main i386 openssh-sftp-server i386 1:7.1p2-2 [43.5 kb]get:3 http://ubuntu.uhost.hk Xenial/main i386 Openssh-server i386 1:7.1p2-2 [377 kb]get:4 http://ubuntu.uhost.hk Xenial/main i386 Ssh-import-id all 5.4-0UBUNTU1 [1 0.2 kb]fetched 680 kB in 1s (393 kb/s) preconfiguring packages ... Selecting previously UnselecTed Package Ncurses-term. (Reading database ... 175352 files and directories currently installed.) Preparing to unpack .../ncurses-term_6.0+20151024-2ubuntu2_all.deb ... Unpacking ncurses-term (6.0+20151024-2UBUNTU2) ... Selecting previously unselected package openssh-sftp-server. Preparing to unpack .../openssh-sftp-server_1%3a7.1p2-2_i386.deb ... Unpacking Openssh-sftp-server (1:7.1p2-2) ... Selecting previously unselected package openssh-server. Preparing to unpack .../openssh-server_1%3a7.1p2-2_i386.deb ... Unpacking Openssh-server (1:7.1p2-2) ... Selecting previously unselected package Ssh-import-id. Preparing to unpack .../ssh-import-id_5.4-0ubuntu1_all.deb ... Unpacking Ssh-import-id (5.4-0UBUNTU1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for UFW (0.35-0UBUNTU2) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for SYSTEMD (229-4UBUNTU4) ... Setting up Ncurses-term (6.0+20151024-2UBUNTU2) ... Setting up Openssh-sftp-server (1:7.1p2-2) ... Setting up Openssh-server (1:7.1p2-2) ... Creating SSH2 RSA Key; This could take some time ... 2048 Sha256:etiavnjujqvm9g5b4agaojat3tjuzb9teollhhblipo [email protected] (RSA) Creating SSH2 DSA key; This could take some time ... 1024x768 SHA256:UMR18RV+/XZPBLKEUUO8UCFCTIRXYDZRI5IJCKMEPDM [email protected] (DSA) Creating SSH2 ECDSA key; This could take some time ... SHA256:OMODYN/VXGSHNWV6O7FO9IWFEYFK5SUZZGEI99IIIPK [email protected] (ECDSA) Creating SSH2 ED25519 key; This could take some time ... Sha256:0u4afcao3apbtzqrpttgzjj9yk0hylqijevjr9ua/du [email protected] (ED25519) Setting up Ssh-import-id ( 5.4-0UBUNTU1) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for SYSTEMD (229-4UBUNTU4) ... Processing triggers for UFW (0.35-0UBUNTU2) ...


3 Executive Ps-e | grep ssh Gets the following hints:

4860?        00:00:00 sshd

See the SSHD instructions Ssh-server has started
4 Connect Ubuntu successfully via SECURECRT.

Ubuntu16.04 is installed in VMware and wants to operate through SECURECRT in WIN10

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.