1 回答
- 最新
- 投票最多
- 评论最多
1
It is possible, the problem is related to Amazon Linux version no longer accepting the old key algorithm when using SFTP https://winscp.net/forum/viewtopic.php?t=32146
Please try generating a new key pair using the algorithm ed25519 and then follow the below instructions to add the key to the server: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/replacing-key-pair.html
To retrieve the public key for pasting into the .ssh/authorized_keys file on the server, you can use WinSCP too: Edit the session -> Advanced -> SSH -> Authentication. Select the new private key file there and then hit the button "Display Public Key"

Well, actually your answer gave me the idea to try Filezilla, and it worked! So problem solved even though I would prefer WinSCP. Thank you