Link to home
Start Free TrialLog in
Avatar of Torquil Beavis
Torquil BeavisFlag for Canada

asked on

AWS SSH values for use by SFTP/SSH client

Hi.
What AWS values do I need in order to use SSH on an AWS Beanstalk EC2 instance?

And how are these values used in an SFTP/SSH client on Windows 7?
Avatar of Shalom Carmel
Shalom Carmel
Flag of Israel image

You need the SSH keys that are managed in the EC2 Key pairs.
SSH keys come in pairs. The public half is stored on AWS and is pushed into your servers to authenticate you. It looks something like this:
ssh-rsa AAAAB3Nz-some-long-string-7Xf key-description

Open in new window

The private part is private and is stored only on your PC or servers, not on AWS.

If you create the key pairs in the AWS console, you must save your auto-generated private key, or it will be lost.
I always prefer to create the keys offline with puttygen or the ssh client, and upload the public key to AWS.

In order to work with a windows client, you must first select a windows client. Putty for interactive work and Winscp for drag-n-drop file transfer are the greatest. Putty and winscp use a private key format which is isomorphic to the linux format, and requires conversion with the puttygen tool.

Winscp have an illustrated guide on using puttygen   https://winscp.net/eng/docs/ui_puttygen
Avatar of Torquil Beavis

ASKER

Perfect! Thank you.

I checked out the folders presented in AWS, however I couldn't find those that I'd uploaded and were running successfully. I see the root folder which doesn't allow me access, then the usr folder, and the etc and home folders, (and a bunch of others). Nor can I find the folder with the name of the source bundle zip file (which was the same as the folder with the home page and others in it).

Can you direct me to where I should find my folders and files which I uploaded using the 'source bundle' approach?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.