Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: Telnet/ssh connection refused
- To: tlug@example.com
- Subject: Re: Telnet/ssh connection refused
- From: Venkatesh Raghavan <raghavan@example.com>
- Date: Mon, 11 Dec 2000 12:46:51 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=iso-2022-jp
- References: <3A31A465.5E1084D8@example.com> <3A31B4E9.3AEB9D7B@example.com> <3A343196.7C68BBA5@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <_iPGmC.A.udH.W7EN6@example.com>
- Resent-Sender: tlug-request@example.com
Hi, Antony Stace wrote: > what line do I have to add to /etc/inetd.conf to start ssh from inetd? Mandrake7.2 has a script for starting the sshd (e.g. below) in the etc/rc.d/init.d directory. --------------------------------------- #!/bin/sh # # Startup script for the sshd # Must add /usr/local/sbin to the path in functions. # Source function library. . /etc/rc.d/init.d/functions # See how we were called. case "$1" in start) echo -n "Starting sshd: " daemon sshd echo touch /var/lock/subsys/sshd ;; stop) echo -n "Shutting down sshd: " killproc sshd echo rm -f /var/lock/subsys/sshdd ;; status) status sshd ;; restart) $0 stop $0 start ;; reload) echo -n "Reloading sshd: " killproc sshd -HUP echo ;; *) echo "Usage: $0 {start|stop|restart|reload|status}" exit 1 esac exit 0 ---------------------------------------------------- > > > B0Ti wrote: > > > > Venkatesh Raghavan wrote: > > > > > 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). > > > > > # ssh -l username localhost > > > Secure connection to localhost refused. > > > > make sure you have sshd running or properly set up via inetd (or xinetd in > > mdk7.2). > > You should also take a look at your logs (visible also on tty12), it might > > give you more details what's going on. > > > > > I tried to edit my etc/hosts.allow to allow telnet > > > connection for my domain. My /etc/hosts.allow looks > > > something like > > > > Start out with empty hosts.allow and hosts.deny files, and see if > > everything works. From there on, you can add your rules. > > > > But once you enable ssh, why do you need telnet ? > > > > B0Ti. > > > > ----------------------------------------------------------------------- > > Next Nomikai (and Bonenkai!): December 15 (Fri) > > Next Technical Meeting: January, 2001 > > ----------------------------------------------------------------------- > > more info: http://www.tlug.gr.jp Sponsor: Global Online Japan > > ----------------------------------------------------------------------- > Next Nomikai (and Bonenkai!): December 15 (Fri) > Next Technical Meeting: January, 2001 > ----------------------------------------------------------------------- > more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- References:
- Telnet/ssh connection refused
- From: Venkatesh Raghavan <raghavan@example.com>
- Re: Telnet/ssh connection refused
- From: B0Ti <9915104t@example.com>
- Re: Telnet/ssh connection refused
- From: Antony Stace <antony@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: Telnet/ssh connection refused
- Next by Date: cycling between resolutions in X
- Prev by thread: Re: Telnet/ssh connection refused
- Next by thread: Re: Telnet/ssh connection refused
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links