[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSH: does it require portmapper and what hostname is it looking for?



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.)

> 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

----- 
GnuPG Key: 1024D/16377135

Random .signature #47:
Windows, the yo-yo operating system; it goes up... it goes down... it
goes up...

Attachment: pgpcnXAgZtqId.pgp
Description: PGP signature


Reply to: