티스토리 뷰
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] lsyncd를 이용한 서버간 실시간 자료 동기화 (0) | 2022.04.15 |
---|---|
[UBUNTU]우분투 시간동기화와 jvm시간동기화 문제 해결 (0) | 2022.02.03 |
[Ubuntu]MinIO 오브젝트 스토리지 설치 (0) | 2022.01.26 |
[Ubuntu]디스크(SSD/HDD) 상태(SMART) 확인 (0) | 2022.01.26 |
CentOS Stream으로 인한 대처 방안 (0) | 2021.04.21 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- logstash
- letencrypt
- Letsencrypt+nginx
- Letsencrypt wildcard
- letsencrypt
- SSL인증서
- #logback
- 인증서설치
- SSL
- Intellj들여쓰기
- 마이바티스CamelCase
- Letsencrypt wildcard auto renew
- elk8.x
- 마이바티스
- 인증서자동갱신
- nginx
- 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 |
글 보관함