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
已提问 1 年前698 查看次数
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
已回答 1 年前
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
专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则