Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-11-2017, 11:23 AM
|
#1
|
LQ Newbie
Registered: Aug 2017
Posts: 7
Rep: 
|
Not able to connect ec2 instance using putty
Dear Sir,
After yum update, when I restarted aws ec2 instance,i was not able to connect the instance using putty.It was showing "Network error: Connection timed out".
I have enabled port 22 also.
Could you please help me to resolve this issue.
Thanks & Regards
Fazulur Rehaman
|
|
|
08-11-2017, 12:04 PM
|
#2
|
LQ Guru
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,282
|
When you say you have enabled port 22, I presume you mean that it is allowed through your firewall.
E2C is an acronym used for a couple of things: please provide more detail.
Example: http://www.hqmc.marines.mil/e2o/E2C-ExFOB/
General first step:
#1 Have you verified that you can ping the remote (e2c) node? Network path (routing) and addressing is required, ping is one way to verify.
#2 Have you verified that sshd is running on the remote node? Check your process list and sshd configuration please.
#3 Have you checked your netstat report and verified that sshd is listening on port 22 on the remote node, and at the proper address on that node?
Last edited by wpeckham; 08-11-2017 at 12:08 PM.
|
|
|
08-11-2017, 12:10 PM
|
#3
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,031
|
Have you checked the screenshot of the instance to make sure that it came back up successfully to the login prompt?
Is it running on a public or private subnet? If on private, have you verified your NAT/Bastion/jumpbox is up and port forwarding is working?
If it's on a public, do you have an elastic IP? If not, have you checked if maybe your IP changed from the reboot?
If you're using AWS DNS to connect, if you don't have an elastic IP, did you check if maybe your AWS DNS has changed?
Last edited by Timothy Miller; 08-11-2017 at 12:12 PM.
|
|
|
08-11-2017, 12:28 PM
|
#4
|
LQ Newbie
Registered: Aug 2017
Posts: 7
Original Poster
Rep: 
|
Dear Sir,
Thanks for your quick response.Instance has elastic ip. I had stopped and restarted instance with no success.
Network at our end has no issues.
Please help me.
Thanks in advance
Fazulur Rehaman
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 03:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|