티스토리 뷰
1. "Host key verification failed" 에러
[root@localhost]# ssh -o StrictHostKeyChecking=no user@something.example.com uptime
[root@localhost]# ssh-keygen -R something.example.com
2. "The first key-exchange algorithm supported by the server is diffie-hellman-group1-sha1, which is no longer secure. Aborting connection."에러
[root@localhost]# vi /etc/ssh/sshd_config
#########맨 하단에 아래와 같이 추가
# Example of overriding settings on a per-user basis
#Match User anoncvs
# X11Forwarding no
# AllowTcpForwarding no
# PermitTTY no
# ForceCommand cvs server
PasswordAuthentication yes
#KexAlgorithms diffie-hellman-group1-sha1
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
#MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-128@openssh.com,hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96
[root@localhost]# systemctl restart ssh
'System > Linux' 카테고리의 다른 글
[Ubuntu] 타임존 설정 (0) | 2022.04.21 |
---|---|
[ubuntu] lsyncd를 이용한 서버간 실시간 자료 동기화 (0) | 2022.04.15 |
CentOS Stream으로 인한 대처 방안 (0) | 2021.04.21 |
[ CentOS6 ] 무료 SSL인 Let’s encrypt 설치와 관리 (0) | 2019.04.05 |
페도라 Subversion설치 (0) | 2008.07.26 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Letsencrypt wildcard
- 마이바티스
- SSL
- Intellj들여쓰기
- letsencrypt
- camelcase
- Letsencrypt+nginx
- Letsencrypt wildcard auto renew
- 마이바티스CamelCase
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함