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?

2 Antworten
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
beantwortet vor einem Jahr
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
EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen