LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-21-2016, 12:04 PM   #1
jjanderson5
LQ Newbie
 
Registered: Nov 2003
Location: Saylorsburg, PA, US
Distribution: Bunsenlabs Hydrogen
Posts: 24

Rep: Reputation: 0
ssh hangs when trying to secure shell to one particular host


I have a VCN server set up on my host, let's call it 'jim'. This host has been running Ubuntu 16.xx for around 6 months now. I have had VNC server and ssh working on it ok in the past. Today I found that a co-worker could not use a VNC viewer to look at my desktop and when I tried from a different host on my intranet, VNC viewer failed for me also.

In looking at my intranet, I found that I can ssh from any host to any other host, except 'jim'. When I enter 'ssh -l jja jim' and hit return, the command hangs until I interrupt it. This command hangs from any other host on my network. If I try to run 'sudo rpcinfo -p jim' from any host, the command not only hangs, but I cannot interrupt it.

If I ping 'jim' from any host, I do get a positive response. If I try to ssh from 'jim' to any other host, everything works fine.

I have tried 'apt-get remove openssh-server' and reinstalled it, but no change in behavior.

Can anyone help with suggestions on what to try to get 'ssh jim' to work?

Jim Anderson
 
Old 10-21-2016, 12:10 PM   #2
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
First thing to do when a service is not working is to ensue the service is started. If the service is started then the next thing to look at is your firewall and either make sure it is turned off or that the ports are opened on it that are required to get things connected.
 
Old 10-21-2016, 12:15 PM   #3
jjanderson5
LQ Newbie
 
Registered: Nov 2003
Location: Saylorsburg, PA, US
Distribution: Bunsenlabs Hydrogen
Posts: 24

Original Poster
Rep: Reputation: 0
Moving this issue.

lazydog - thanks for the repsonse. I will look at it more closely. Before that, I'm going to close this issue here
and moving it to the 'software' forum. From what I read about posting in 'networking', this issue is most likely
too high up in the OSI model and belongs in the 'software' forum.

Jim
 
Old 10-21-2016, 12:19 PM   #4
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
No need to close this, just ask one of the admins to move it for you.
 
  


Reply

Tags
openssh, ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Using secure shell (ssh) for login and secure copy (scp) for data transfer on Linux LXer Syndicated Linux News 0 02-05-2015 11:00 AM
Secure? SSH using keyfile and no password, but restricted host machine access? ziphem Linux - Software 2 09-02-2013 03:27 PM
How to use SSH(Secure Shell) Service in linux? jeremy28 Linux - Networking 5 06-12-2010 11:44 AM
How to use SSH (Secure Shell Host) in RHEL. RMLinux Linux - Newbie 9 12-01-2008 08:02 PM
SSH Secure Shell 3.2.9 bglover3 Linux - Enterprise 1 06-21-2007 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration