리눅스 Linux Public Key 추가 명령어
리눅스 Linux Public Key 추가 명령어
다음 명령을 사용하여 공개 키를 복사 할 수 있습니다.
cat ~/.ssh/id_rsa.pub | ssh remote_username@server_ip_address "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 5개
좀 자세한 설명이 있으면 좋겠습니다.
https://geekconfig.com/tutorial/nginx-reverse-proxy-with-https-via-letsencrypt