cannot ssh to the RHEL 5.8 server - network error . connection refused

Posted on 2012-08-30
Last Modified: 2012-08-31
Hi ,

when i try to ssh from the same vlan i get the error :

network error - connection refused.
I am using putty.exe

on the server i have open-ssh server installed.

Any ideas ?
Question by:c_hockland
    LVL 12

    Accepted Solution

    Have you started sshd?
      service sshd start

    If sshd is running, and you still cannot connect, have you opened up port 22 in the firewall?
    LVL 37

    Assisted Solution

    by:Gerwin Jansen
    Can  you ping the ip address of the RHEL server? Can you ssh from the RHEL server to the same machine? If both are working then try firewall options as suggested above, disable firewall shortly for testing if you can. Check if sshd is running like this:

    # sshd service status

    Author Comment

    sshd has started
    firewall is disabled
    i can ping the IP of the RHEL server from any machine
    I can ssh to the machine from the machine its self.
    I am attaching a screenshot of the ssh result

    Author Comment

    thanks there was an IP conflict that was causing the issue.
    Thanks for your time and help on this issue.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
    1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now