Server

ssh 접속 시도 중 실패 오류

Jincero 2023. 7. 25. 12:53

The first key-exchange algorithm supported by the server is diffie-hellman-group1-sha1, which is no longer secure. Aborting connection.

 

위와 같은 오류로 ssh 접속이 되지 않을 경우

vi /etc/ssh/sshd_config

 

맨 하단에 아래와 같이 주석처리
#       X11Forwarding no
#       AllowTcpForwarding no
#       PermitTTY no
#       ForceCommand cvs server

 

systemctl restart ssh