더북(TheBook)

6. 컨트롤러 노드에 복사한 id_rsa 파일의 접속 권한을 600으로 변경합니다. 그런 다음 ssh 명령어를 이용해 컴퓨트 노드에 접속합니다. 패스워드를 물어보지 않은 채 컴퓨트 노드에 접속되는 것을 확인할 수 있습니다.

root@controller:~# chmod 600 .ssh/id_rsa
root@controller:~# ssh root@192.168.56.102
Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.0-24-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

46 packages can be updated.
0 updates are security updates.


*** System restart required ***

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.