Find the answer to your Linux question:
Results 1 to 7 of 7
Hey guys, im tyring to get ssh working but its not accepting my conections secure connection to localhost refused any help on this one? I went into services and started ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2003
    Posts
    8

    SSH not working, linux redhat 7.2


    Hey guys, im tyring to get ssh working but its not accepting my conections

    secure connection to localhost refused

    any help on this one? I went into services and started SSHD and did a ps -aux to make sure it was running just not accepting my connections ftp works tho.

    thanks

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    You wouldn't happen to have a firewall blocking port 22?

  3. #3
    Just Joined!
    Join Date
    Jan 2003
    Posts
    8
    im not sure, how do i configure the linux built in firewall...

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    I'd use iptables, but most distros have one or more tools to do it. RedHat 7.2 also stores the config in /etc/sysconfig/iptables (or /etc/sysconfig/ipchains if your system is configured for it).
    If your system uses iptables, check your current config with "iptables -L -n". If it uses ipchains, I think it is "ipchains -L -n", but it was a long time since I last used it.

  6. #5
    Just Joined!
    Join Date
    Jan 2003
    Posts
    8
    anyone got some iptables tutorials

  7. #6
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    See this page.
    If there is anything specific you want to know, though, don't hesitate to ask.

  8. #7
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    check your /etc/hosts.allow and /etc/hosts.deny files, make sure you havent locked yourself out there.

    Jason

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •