Ubuntu需要安装 openssh-server


root@adela-vm:/etc/apache2# apt-get install openssh-server

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following extra packages will be installed:

  ssh-import-id

Suggested packages:

  rssh molly-guard openssh-blacklist openssh-blacklist-extra monkeysphere

The following NEW packages will be installed:

  openssh-server ssh-import-id

0 upgraded, 2 newly installed, 0 to remove and 154 not upgraded.

Need to get 346 kB of archives.

After this operation, 881 kB of additional disk space will be used.

Do you want to continue [Y/n]? Y

Get:1 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main openssh-server amd64 1:5.9p1-5ubuntu1.4 [339 kB]

Get:2 http://cn.archive.ubuntu.com/ubuntu/ precise/main ssh-import-id all 2.10-0ubuntu1 [6,598 B]

Fetched 346 kB in 1s (236 kB/s)     

Preconfiguring packages ...

Selecting previously unselected package openssh-server.

(Reading database ... 203167 files and directories currently installed.)

Unpacking openssh-server (from .../openssh-server_1%3a5.9p1-5ubuntu1.4_amd64.deb) ...

Selecting previously unselected package ssh-import-id.

Unpacking ssh-import-id (from .../ssh-import-id_2.10-0ubuntu1_all.deb) ...

Processing triggers for ureadahead ...

Processing triggers for ufw ...

Processing triggers for man-db ...

Setting up openssh-server (1:5.9p1-5ubuntu1.4) ...

Creating SSH2 RSA key; this may take some time ...

Creating SSH2 DSA key; this may take some time ...

Creating SSH2 ECDSA key; this may take some time ...

ssh start/running, process 17865

Setting up ssh-import-id (2.10-0ubuntu1) ...

root@adela-vm:/etc/apache2# 

虚拟机中 Ubuntu 的 putty 和 winscp 远程连接_winscp

虚拟机中 Ubuntu 的 putty 和 winscp 远程连接_ssh_02

虚拟机中 Ubuntu 的 putty 和 winscp 远程连接_putty_03

虚拟机中 Ubuntu 的 putty 和 winscp 远程连接_ssh_04