문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
linux:ssh [2020/02/26 10:07] kwon37xi [Private Key 생성] |
linux:ssh [2021/08/20 15:45] kwon37xi [Private Key 생성] |
||
---|---|---|---|
줄 5: | 줄 5: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[linux: | ||
* [[linux: | * [[linux: | ||
* [[linux: | * [[linux: | ||
줄 20: | 줄 21: | ||
* '' | * '' | ||
chmod 700 ~/.ssh | chmod 700 ~/.ssh | ||
+ | </ | ||
+ | |||
+ | ==== 서버의 '' | ||
+ | * [[https:// | ||
+ | |||
+ | <code sh> | ||
+ | ssh-copy-id -f -i id_rsa.pub username@host | ||
</ | </ | ||
줄 80: | 줄 88: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * '' | ||
+ | * [[https:// | ||
+ | * '' | ||
===== 접속 유지 Keep connection ===== | ===== 접속 유지 Keep connection ===== | ||
줄 165: | 줄 176: | ||
>> no matching cipher found. Their offer: aes128-cbc, | >> no matching cipher found. Their offer: aes128-cbc, | ||
- | '' | + | 혹은 |
+ | >> no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1, | ||
+ | |||
+ | |||
+ | '' | ||
< | < | ||
Ciphers aes128-cbc, | Ciphers aes128-cbc, | ||
# 필요한 경우 | # 필요한 경우 | ||
KexAlgorithms +diffie-hellman-group1-sha1 | KexAlgorithms +diffie-hellman-group1-sha1 | ||
+ | |||
+ | # Host 를 명시해서 설정하는게 나음 | ||
+ | Host 123.123.123.123 | ||
+ | KexAlgorithms +diffie-hellman-group1-sha1 | ||
</ | </ | ||
줄 177: | 줄 196: | ||
ssh -c aes128-cbc kwon37xi@xxx.xx.xx.xx | ssh -c aes128-cbc kwon37xi@xxx.xx.xx.xx | ||
</ | </ | ||
+ | |||
+ | ===== SSH Pipe ===== | ||
+ | * [[https:// | ||
+ | |||
+ | |||
+ | ===== 참조 ===== | ||
+ | * [[https:// | ||