on your mark

15 - 10 - 2022 본문

Today

15 - 10 - 2022

dev-olive 2022. 10. 17. 09:54

 - 맥 업데이트 이후 (monetary) ssh 접속 불가 

Unable to negotiate with *** port 22: no matching host key type found. Their offer: ssh-dss

Unable to negotiate with *** port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

위와 같은 오류가 발생하면서 ssh 접속이 안된다.검색해 보니 해결책이 2가지 있다고 하는데 시스템 전체에 적용되는 해결책을 선택했다.

 

$ vi /etc/ssh/ssh_config

 

# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc

위 두줄 주석 제거(# 제거)

 

HostkeyAlgorithms ssh-dss,ssh-rsa
KexAlgorithms +diffie-hellman-group1-sha1

해당 파일 가장 아랫줄에에 위 두줄 추가

 

리부팅은 필요없고 바로 적용된다. config파일을 건드려서 약간 불안하긴 한데 일단 급한 불은 껐다.

 

[업무]

 

- 카카오톡 전송하기

생각보다 건드려야 하는 액션, 스크립트가 많다. 카카오톡이랑 SMS 둘 다 오늘 안에 완료하려고 했는데, 일단 프로세스 숙지 자체가 오래 걸릴 듯 하여 오늘 안에는 카카오톡 전송하기만 완료하는 걸로 결정했다.

 

 

 

 

 

'Today' 카테고리의 다른 글

26 - 10 - 2022  (0) 2022.10.26
25 - 10 - 2022  (0) 2022.10.25
17 - 10 - 2022  (0) 2022.10.18
14 - 10 - 2022  (0) 2022.10.14
13 - 10 - 2022  (1) 2022.10.13