develog

[RockyLinux9] ssh 접속시 비밀번호를 계속 물어볼 때 본문

카테고리 없음

[RockyLinux9] ssh 접속시 비밀번호를 계속 물어볼 때

냐옴 2024. 2. 15. 15:26

 

아래 설정을 넣고 접속 테스트를 해본다

# vi ~/.ssh/config

Host 192.168.1.23
    HostKeyAlgorithms +ssh-rsa
    PubkeyAcceptedKeyTypes +ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-ed25519

 

접속 테스트

$ sftp testuser@192.168.4.56

 

Comments