티스토리 뷰
Install SSH server
----------------------------------------------------------------------------------------------------------------------------
[sudo] password for jdkim:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
ncurses-term openssh-sftp-server ssh-import-id
Suggested packages:
ssh-askpass rssh molly-guard monkeysphere
The following NEW packages will be installed:
ncurses-term openssh-server openssh-sftp-server ssh-import-id
0 upgraded, 4 newly installed, 0 to remove and 4 not upgraded.
Need to get 633 kB of archives.
After this operation, 5,136 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 ncurses-term all 6.0+20160213-1ubuntu1 [249 kB]
Get:2 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-sftp-server amd64 1:7.2p2-4ubuntu2.6 [38.8 kB]
Get:3 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-server amd64 1:7.2p2-4ubuntu2.6 [335 kB]
Get:4 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 ssh-import-id all 5.5-0ubuntu1 [10.2 kB]
Fetched 633 kB in 0s (1,234 kB/s)
Preconfiguring packages ...
Selecting previously unselected package ncurses-term.
(Reading database ... 177974 files and directories currently installed.)
Preparing to unpack .../ncurses-term_6.0+20160213-1ubuntu1_all.deb ...
Unpacking ncurses-term (6.0+20160213-1ubuntu1) ...
Selecting previously unselected package openssh-sftp-server.
Preparing to unpack .../openssh-sftp-server_1%3a7.2p2-4ubuntu2.6_amd64.deb ...
Unpacking openssh-sftp-server (1:7.2p2-4ubuntu2.6) ...
Selecting previously unselected package openssh-server.
Preparing to unpack .../openssh-server_1%3a7.2p2-4ubuntu2.6_amd64.deb ...
Unpacking openssh-server (1:7.2p2-4ubuntu2.6) ...
Selecting previously unselected package ssh-import-id.
Preparing to unpack .../ssh-import-id_5.5-0ubuntu1_all.deb ...
Unpacking ssh-import-id (5.5-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (229-4ubuntu21.6) ...
Processing triggers for ufw (0.35-0ubuntu2) ...
Setting up ncurses-term (6.0+20160213-1ubuntu1) ...
Setting up openssh-sftp-server (1:7.2p2-4ubuntu2.6) ...
Setting up openssh-server (1:7.2p2-4ubuntu2.6) ...
Creating SSH2 RSA key; this may take some time ...
2048 SHA256:bvDh9ajOmZCx3fD1eXc2oJxuC5G1Y/pWFdDt1Ff2LRY root@jdT60 (RSA)
Creating SSH2 DSA key; this may take some time ...
1024 SHA256:+0f8lxHOKy8zU4B+nlaZoLSN6keqhidV3n+aefIllio root@jdT60 (DSA)
Creating SSH2 ECDSA key; this may take some time ...
256 SHA256:GIZPxYhGWYxprOHmZ0IxNzIt7Nuk6CC8v2qopP9dwxM root@jdT60 (ECDSA)
Creating SSH2 ED25519 key; this may take some time ...
256 SHA256:qc04Z5Dl4asR0yE9uJMtsVfHgQ70Dbrp+lpL0HilTJE root@jdT60 (ED25519)
Setting up ssh-import-id (5.5-0ubuntu1) ...
Processing triggers for systemd (229-4ubuntu21.6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for ufw (0.35-0ubuntu2) ...
check ssh status
----------------------------------------------------------------------------------------------------------------------------
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: active (running) since 금 2018-11-16 20:57:09 KST; 31s ago
Main PID: 4953 (sshd)
CGroup: /system.slice/ssh.service
└─4953 /usr/sbin/sshd -D
11월 16 20:57:09 jdT60 systemd[1]: Starting OpenBSD Secure Shell server...
11월 16 20:57:09 jdT60 sshd[4953]: Server listening on 0.0.0.0 port 22.
11월 16 20:57:09 jdT60 sshd[4953]: Server listening on :: port 22.
11월 16 20:57:09 jdT60 systemd[1]: Started OpenBSD Secure Shell server.
metan@metPC:~$
'SW development > Ubuntu setup' 카테고리의 다른 글
Install Tomcat8 on ubuntu (0) | 2018.11.16 |
---|