카테고리 없음
인텔리제이 FTP 접속 에러 net.schmizz.sshj.transport.TransportException: Unable to reach a settlement of HostKeyAlgorithms
생활개발
2024. 10. 14. 10:15
728x90
인텔리제이에서 FTP 접속하려는데 갑자기 에러남..
net.schmizz.sshj.transport.TransportException: Unable to reach a settlement of HostKeyAlgorithms:
[ssh-ed25519-cert-v01@openssh.com,
ecdsa-sha2-nistp256-cert-v01@openssh.com,
ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com,
ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, rsa-sha2-512, rsa-sha2-256] and [ssh-rsa, ssh-dss]
분명히 저번주까지 잘 됏는데 주말지나서 오류가남..
해결방법은 2가지가 있는데
1. 서버에 접속해서 ssh_config 파일 수정
# ssh <userid>@<IP> 접속 후 ssh_config 수정
# root/etc/ssh/ssh_config FTP로도 수정가능
Host *
HostKeyAlgorithms rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-ed25519 <--추가
근데 난 여기가 내 서버가 아니라 고객사 서버여서 이 방법은 보류
2. 인텔리제이에서 parse config 제거
해당부분 체크 해제
전)
후)
728x90