Link to home
Start Free TrialLog in
Avatar of Camillia
CamilliaFlag for United States of America

asked on

Where are the SSH config and other files? (openSSH)

I hope someone can help me. First time working with SSH.

1. I need to connect to EC2 environment on AWS. My manager sent me the username, IP address and other info. Screenshot below
User generated image2. I went to command line and typed this. Is the regular command line ok?
ssh.exe -vvv <user>@<Hostname>

3. I get these errors
User generated image
4. I looked this folder and only see one file. Where are the others files?

Per this link, I should see the files here
https://superuser.com/questions/1537763/location-of-openssh-configuration-file-on-windows

Do I need to manually create the files? Ex:  ssh-keygen -t rsa

User generated image
ASKER CERTIFIED SOLUTION
Avatar of noci
noci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Camillia

ASKER

How do I create all these files? I think I need 4 or 5 files.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It was installed when I was given the laptop.
Now, I only have the client. I don't need ssh server,  correct? I'm trying to connect to aws ec2.
You just need ssh client to connect to AWS.
Thanks guys. Let me see what I can do today to get this working. I'll post back.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just spoke with my manager. He also mentioned putty. Let me try the config file first then I'll look at putty
What does this mean? I created the config file. Ran the command (without -vvv) and I see this. Now, if I run it with "-vvv", I still see errors about missing files.

I've never done this so don't know what I should be looking for. I read about openSSH but still not clear what I should be doing to get connected to EC2 on AWS. Should I just go with Putty at this point?


and I have these files


Avatar of noci
noci

id_rsa = private key (can be used as the Identity file)
id_rsa.pub = public key (can be put ont the remote host for passwordless (keybased logon)

>>id_rsa = private key (can be used as the Identity file)
yeah and I have that locally in my .ssh folder but still getting these errors and also see "connection established"

I'm at a loss as what to do. I can try Putty.


EE used to have a service where we could pay an EE expert to look at an issue with the person. Is that still the case? I don't see it. Anyone here can do that and let me know how much the charge is?
If not doable, I'll look into Putty and see if I can get that working.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have Ubuntu (Windows Linux) as well. I need to be doing this thru Ubuntu command line?

Let me read about Putty as well. I have to get this done for work because we have code on AWS that someone else has done.

I'll post back.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok, let me start with Putty. Wasting my time on figuring out openSSH. 
If this is Cygwin openssh then your openssh is invalid.
If this is Microsoft SSH well, i have no idea except they borked it.
Putty will help for gui access, certificate management = pageant.
Worked with my manager and I'm on. I don't quiet understand what I'm seeing as far as the directory stuff but at least I'm on the box. Those errors of "file could not be opened" still happens but I can get on the box. 

I will get Putty installed and see how that works.

Thanks for the help. I understand this much better now.