Re: SSH: does it require portmapper and what hostname is it looking for?
On 18 Feb 2004, Jacob S. wrote:
> On Wed, 18 Feb 2004 14:25:08 +0000
> Anthony Campbell <ac@acampbell.org.uk> wrote:
>
> > I'm trying to run ssh between two computers but I get:
> >
> > "connect to host port 22: Connection refused."
> >
> > I have portmapper turned off for security, but is it essential for
> > ssh?
>
> In my /etc/hosts.allow file I have the line "sshd: ALL". I don't think
> portmap should make a difference. (Also note that I'm running ssh as a
> daemon, on this machine, not through inetd or anything else.)
>
so am I.
> > Also, what is the hostname I have to supply? The FQDN seems to be
> > acampbell.org.uk but this is the same for both computers, which
> > doesn't seem to be right.
>
> Any FQDN that properly resolves to the ip address for the computer
> you're trying to ssh into should work. You could also use it's ip
> address, if you need to make sure which computer is giving you the
> problem.
>
> HTH,
> Jacob
>
Thanks for this reply. I'm getting "connection refused" on port 22. I
don't know if this port is blocked, perhaps. (I had bastille in place at
one time though not now.)
AC
--
ac@acampbell.org.uk || http://www.acampbell.org.uk
using Linux GNU/Debian || for book reviews, electronic
Windows-free zone || books and skeptical articles
Reply to: