I cant login to sftp using my private key on my instance?

0

I cant login to sftp using my private key on my instance? ami-0fec1fb452e2ab3b0

with ubuntu as username

do i need an sftp server or something?

Loot
질문됨 일 년 전673회 조회
2개 답변
0

There are various reasons you might be unable to connect to your instance - this page offers some solutions: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html

Do you get any specific error message? It's worth trying to connect through SSH in verbose mode (ssh -vvv) to see if that gives any more information.

Ed
답변함 일 년 전
0

By default you won't be able to SFTP to an EC2 machine. There are many articles on the Internet on how to set this up. I went through a few and this one caught my eye - https://medium.com/@clopez.lopez/enabling-a-sftp-on-ec2-instance-with-ami2-linux-82eae613c429

Disclaimer: I have not tried the instructions on this article myself and I or AWS do not endorse it in any way. You should try it out yourself and see if it works for you

If you want a fully managed SFTP solution on AWS, please take a look at https://aws.amazon.com/aws-transfer-family/

Detailed documentation here - https://docs.aws.amazon.com/transfer/latest/userguide/what-is-aws-transfer-family.html

profile pictureAWS
전문가
답변함 일 년 전

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

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

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