Notice
Recent Posts
Recent Comments
목록deploy (1)
준호씨의 블로그
ssh-copy-id 로 public key 배포. 그리고 sshpass
~/.ssh/ 에 id_rsa, id_rsa.pub 를 생성 해 두고 id_rsa.pub 의 내용을 remote 서버의 ~/.ssh/authorized_keys 에 추가 해 두면 패스워드 입력 없이 해당 서버로 ssh 로 이동 할 수 있다. public key 를 복사 하는 방법은 직접 복사 하는 방식도 있지만 ssh-copy-id 명령어를 이용하는 방법이 있다. ssh-copy-id remote-host1 $ ssh-copy-id remote-host1user@remote-host1's password:Now try logging into the machine, with "ssh 'remote-host1'", and check in: .ssh/authorized_keys to make sure we h..
개발이야기
2015. 12. 17. 23:56