LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ssh connection timed out... (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-connection-timed-out-934026/)

druuna 03-12-2012 08:36 AM

Hi,

The server is reachable (nmap could get info from it) but no services seem to be listening. It could be that the service isn't running, is running on a none-standard port or a firewall is blocking something or the network isn't configured correctly or .....

Is the sshd service up and running:
- Did you execute the commands given in post #5 on the server you connect to? You should.

Firewall:
- guess not, you did run the iptables status commands on both boxes.
- A, for now, unknown firewall on the network?

Network:
- Are these real or virtual machines?
- Are they on the same network range?
(do you have a network admin that can look into this?)

Miscl:
- Is the server you want to ssh into OK?

cardiner 03-12-2012 08:41 AM

The things is, i was just thrown in this network and all servers were given to me, i assigment to make monitoring for all these systems were asignt to me, so i have no idea how these systems and netowk were configured and set up.. just basic knowlige. to what rpm packaged there tools route and ifconfig belong?

cardiner 03-12-2012 08:48 AM

Quote:

Originally Posted by druuna (Post 4624750)
Hi,

The server is reachable (nmap could get info from it) but no services seem to be listening. It could be that the service isn't running, is running on a none-standard port or a firewall is blocking something or the network isn't configured correctly or .....

Is the sshd service up and running:
- Did you execute the commands given in post #5 on the server you connect to? You should.

Firewall:
- guess not, you did run the iptables status commands on both boxes.

Network:
- Are these real or virtual machines?
- Are they on the same network range?
(do you have a network admin that can look into this?)

Miscl:
- Is the server you want to ssh into OK?

OK, i executed the command in post #5 and yeah on both servers iptables status was the same, they are real machines, and yeah they are on the same nwtwork range, and yeah server is allright, up and running i am actually connected to both of them from jump server, but i need to be able to connecto from one to another!

druuna 03-12-2012 08:58 AM

Hi,
Quote:

Originally Posted by cardiner (Post 4624755)
The things is, i was just thrown in this network and all servers were given to me, i assigment to make monitoring for all these systems were asignt to me, so i have no idea how these systems and netowk were configured and set up.. just basic knowlige.

Without knowledge about the set-up (network and machines) it will be all but impossible to solve this problem.

Quote:

to what rpm packaged there tools route and ifconfig belong?
Both are basic binaries and are installed already. The package they belong to: net-tools (yum provides */ifconfig).

I'm assuming based on the nmap command output that there is some sort of network related (firewall?) issue. Are you able to ssh the other way around (from Server2 to server1 instead of from Server1 to server2)?

cardiner 03-12-2012 09:02 AM

okey...soryy guys for all the trouble i put you through, but i just found out from my linux staff support that i need to order a firewall opening, so it was a firewall isue, anytway thx for your time...i actually learn things or two while trying to solve this :)

druuna 03-12-2012 09:16 AM

You're welcome :)

BTW: Can you put up the [SOLVED] tag.
first post -> Thread Tools -> Mark this thread as solved


All times are GMT -5. The time now is 03:28 PM.