본문 바로가기
IT/Cloud

[Amazon Linux2023] FileZilla로 SFTP 통신 불가능할 때

by 호도과자 2024. 3. 19.

####Amazon Linux 2023에 FileZilla로 SFTP 통신 불가능할 때

1. SSH RSA Key 생성

sudo ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key


2. OS에서 ssh-rsa 지원 가능하도록 설정

sudo dnf install crypto-policies-scripts
sudo update-crypto-policies --set LEGACY


3. sshd 재기동

sudo systemctl restart sshd

 

(참고: https://docs.aws.amazon.com/ko_kr/linux/al2023/ug/ssh-host-keys-disabled.html)