We help IT Professionals succeed at work.
Private
Troubleshooting Question

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

53 Views
Last Modified: 2020-10-16
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
2. I went to command line and typed this. Is the regular command line ok?
ssh.exe -vvv <user>@<Hostname>

3. I get these errors

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


Comment
Watch Question

Software Engineer
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT

Author

Commented:
How do I create all these files? I think I need 4 or 5 files.
David FavorFractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Gary Patterson, CISSPExpert for hire: IBM i, AIX, Linux, Windows, DB2, Performance, Security. EDI
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT

Author

Commented:
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.
Gary Patterson, CISSPExpert for hire: IBM i, AIX, Linux, Windows, DB2, Performance, Security. EDI
CERTIFIED EXPERT

Commented:
You just need ssh client to connect to AWS.
CERTIFIED EXPERT

Author

Commented:
Thanks guys. Let me see what I can do today to get this working. I'll post back.
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT

Author

Commented:
Just spoke with my manager. He also mentioned putty. Let me try the config file first then I'll look at putty
CERTIFIED EXPERT

Author

Commented:
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


nociSoftware Engineer
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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)

CERTIFIED EXPERT

Author

Commented:
>>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.


CERTIFIED EXPERT

Author

Commented:
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.
nociSoftware Engineer
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT

Author

Commented:
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.
Gary Patterson, CISSPExpert for hire: IBM i, AIX, Linux, Windows, DB2, Performance, Security. EDI
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT

Author

Commented:
Ok, let me start with Putty. Wasting my time on figuring out openSSH. 
nociSoftware Engineer
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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.
CERTIFIED EXPERT

Author

Commented:
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.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.