Can not log to ec2 instance with ppk nor pem key pair files using Putty or Filezilla

0

I have a Ubuntu 16.04.2 LTS EC2 instance running on AWS and I can logon with

ssh -i "file.pem" ubuntu@ec2....sa-east-1-compute-amazonaws.com

But I haven't been able to log in with filezilla (ubuntu 22.04) or Putty (windows 10) for years now. All I get is the "Server refused our key" message and also there's nothing related on /var/log/auth.log, even after editing the /etc/ssh/sshd_config file on line:

Subsystem sftp /usr/lib/openssh/sftp-server -l INFO

I've tried every combination of RSA key-pair there is available on Puttygen and even made a new ed25519 key-pair on AWS Console, then added it to ~/.ssh/authorized_keys and successfully tested it with the same ssh command. Also, the listed private keys on the autorized_keys file seems to be the same, but with only 1 line (the generated keys have line breaks).

So what am I missing? I've read something on how after a client release update some keys become outdated, but haven't been able to overcome this.

I'm using the latest Putty (0.79) and Filezilla (3.58.0).

Any help would be greatly appreciated!

Gustavo
질문됨 6달 전96회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠