Mailing List Archive

Support open source code!


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

Re: Telnet/ssh connection refused



Try running ssh in verbose mode (-v flag), it will likely tell you
what the problem is. There are all kinds of configuration and paranoia
reasons that it might refuse the connection .

That assumes that there is nothing else getting in the way. You might try
to telnet to port 22 just to see if sshd is there.

As for telnet, Mandrake 7.2 has the telnet server in a different rpm from
the client, and it might not be installed. You might have to install it
manually off the CD.

Regards,
Jake

On Sat, 9 Dec 2000, Venkatesh Raghavan wrote:

> Hi all,
>
> I am having problems in setting up telnet and ssh
> on Linux Mandrake7.2. I get the following message
> when I try to telnet/ssh to localhost (or even with hostname).
>
> ------------------------------------------
> # telnet localhost
> Trying 127.0.0.1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> Connection closed by foreign host.
> # ssh -l username localhost
> Secure connection to localhost refused.
> ---------------------------------------------
>
> I tried to edit my etc/hosts.allow to allow telnet
> connection for my domain. My /etc/hosts.allow looks
> something like
>
> [/etc/hosts.allow]
> -------------------------
> ALL : .mydomain.ac.jp
> -------------------------
>
> Any suggestions about how to allow access to my server
> via telnet/ssh
>
> Thanks in advance.
>
> Venkatesh Raghavan
> Osaka City University
>
> -----------------------------------------------------------------------
> Next Nomikai (and Bonenkai!): December 15 (Fri)
> Next Technical Meeting: January, 2001
> -----------------------------------------------------------------------
> more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan
>


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links