1. ssh server 설치
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | $ sudo apt-get install openssh-server Reading package lists... Building dependency tree... Reading state information... Suggested packages: ssh-askpass rssh molly-guard monkeysphere The following NEW packages will be installed: openssh-server Preconfiguring packages ... 0 upgraded, 1 newly installed, 0 to remove and 192 not upgraded. Need to get 0 B/338 kB of archives. After this operation, 912 kB of additional disk space will be used. Selecting previously unselected package openssh-server. (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 177903 files and directories currently installed.) Preparing to unpack .../openssh-server_1%3a7.2p2-4ubuntu2.2_amd64.deb ... Unpacking openssh-server (1:7.2p2-4ubuntu2.2) ... Processing triggers for ufw (0.35-0ubuntu2) ... Processing triggers for systemd (229-4ubuntu19) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for man-db (2.7.5-1) ... Setting up openssh-server (1:7.2p2-4ubuntu2.2) ... Creating SSH2 RSA key; this may take some time ... 2048 SHA256:wEyh9ic/o5fsBTE/ifbruwvOVxCbtDsVnGFxU8IRMfM root@user-virtual-machine (RSA) Creating SSH2 DSA key; this may take some time ... 1024 SHA256:REAzAFtTDlG3sOmCukZM1TncbAHVVNeG5ZUlkPAA5YM root@user-virtual-machine (DSA) Creating SSH2 ECDSA key; this may take some time ... 256 SHA256:keUvMW7t3tT3j83ZK3TIYkPPn1sOiNCGzfWZu11OVL8 root@user-virtual-machine (ECDSA) Creating SSH2 ED25519 key; this may take some time ... 256 SHA256:dZSXWO5UQ7YGTlr6cNfM3HGrMN4bW5ljNq3eG+RPqM0 root@user-virtual-machine (ED25519) Processing triggers for systemd (229-4ubuntu19) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for ufw (0.35-0ubuntu2) ... | cs |
2. ssh 서비스 재시작
1 2 3 | $ sudo /etc/init.d/ssh restart [ ok ] Restarting ssh (via systemctl): ssh.service. | cs |
3. ssh 접속 확인
3-1. 접속 정보 입력
* 접속을 위해 사용한 툴은 PuTTY 입니다. 다른 툴을 사용해도 무방합니다.
3-2. 접속 계정 정보 입력
'Operating System > Linux' 카테고리의 다른 글
ubuntu docker 설치 (0) | 2017.10.19 |
---|---|
Ubuntu Desktop 설치 (0) | 2017.10.18 |
head 명령어 (0) | 2017.10.16 |
ubuntu 고정 ip 할당 (0) | 2017.10.13 |
FTP 설치 및 접속 (0) | 2017.10.12 |