Re: Connection Refused

From: dawbins (dawbins_at_n0n0.com)
Date: 06/26/03


Date: Thu, 26 Jun 2003 20:02:28 GMT

Is sshd running on the computer you are sshing into?
what about your /etc/hosts.allow and /etc/hosts.deny files?
is there a firewall on either machine blocking access to port 22?
check /var/log/messages on both machines to see what if any the errors
are.
can you ping each machine from the other machine?
can you connect to the other machine with nfs or samba?

etc

Nelson wrote:
>
> Hi all,
>
> I am a newbie to ssh world.
> I tried to ssh to particular machine, however, the system generated
> the error messsage -- connection refused. I wonder what the potential
> problems that cause the connetion refusing.
> I have searched though OpenSSH ML, and I could not find anything that
> fix my problem.
> For example, in my ssh_config file, PermitRootLogin is set to be Yes
> initially.
>
> Please help!!
>
> Initial-N



Relevant Pages

  • Re: [fw-wiz] Is NAT in OpenBSD PF UPnP enabled or Non UPnP?
    ... >> I start by not giving logins and SSH access to users I don't trust. ... a network topology which goes around the ... >> firewall and thus is a serious hole to network security. ... >> have access via UPnP to, well, anything that device might happen to ...
    (Firewall-Wizards)
  • Re: ssh attempts
    ... the excellent iptables firewall you probably already have on your system. ... consider changing the port SSH listens on. ... Login to account webmaster not allowed or account non-existent. ... Computer Emergency Response Teams, and Digital Investigations. ...
    (Security-Basics)
  • Re: mpich and iptables firewall?
    ... to me it seems a very weird setup to have a firewall running ... on the cluster nodes. ... Using SGE you could disable rsh and ssh completely ... Chain FORWARD ...
    (comp.parallel.mpi)
  • Re: Problems with ipfw and ssh
    ... I get this error when updating my firewall rules via ssh. ... ${addcmd} 50 allow all from any to any via lo0 ... debug1: PAM: cleanup ...
    (freebsd-questions)
  • Re: Putting server on the internet or not
    ... If you are a home user, ... >> on the internet trying to access my machine via SSH. ... > firewall can be good but you will need to spend more time researching ... >> I'll bet Scot has a generator though. ...
    (Fedora)