Networking Forums

Networking Forums > Computer Networking > Linux Networking > a problem with telnet

Reply
Thread Tools Display Modes

a problem with telnet

 
 
Roberto Sacchetti
Guest
Posts: n/a

 
      07-08-2004, 08:16 AM
I installed Mandrake Linux 10.0 and I've enabled telnet, but when I try to
connect to the box I get "connection refused" and in /var/log/messages I
find "...libwrap refused connection to telnet (libwrap=telnet) from
xxx.xxx.xxx.xxx

Can someone help me?

Roberto


 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      07-08-2004, 08:50 AM
Roberto Sacchetti <(E-Mail Removed)> wrote:
> I installed Mandrake Linux 10.0 and I've enabled telnet, but when I try to
> connect to the box I get "connection refused" and in /var/log/messages I
> find "...libwrap refused connection to telnet (libwrap=telnet) from


Check /etc/hosts.allow and /etc/hosts.deny, maybe you don't allow any
connection at all. Question: why telnet instead of ssh?

Davide

--
| The trouble with being punctual is that people think you have nothing
| more important to do.
|
|
 
Reply With Quote
 
Roberto Sacchetti
Guest
Posts: n/a

 
      07-08-2004, 10:48 AM
First (before the post) I only put

192.168.0.:ALLOW

in /etc/hosts.allow, but it didn't work, now I've turned

ALL:ALL EXCEPT 127.0.0.1ENY

in

ALL:ALL EXCEPT 127.0.0.1,192.168.0.ENY

in /etc/hosts.deny and it works. Thank you.

2nd question: I always used telnet, but I can use ssh also: what kind of
client can I run from windows clients?

Grazie.

Roberto

"Davide Bianchi" <(E-Mail Removed)> ha scritto nel messaggio
news:(E-Mail Removed)...
> Roberto Sacchetti <(E-Mail Removed)> wrote:
> > I installed Mandrake Linux 10.0 and I've enabled telnet, but when I try

to
> > connect to the box I get "connection refused" and in /var/log/messages I
> > find "...libwrap refused connection to telnet (libwrap=telnet) from

>
> Check /etc/hosts.allow and /etc/hosts.deny, maybe you don't allow any
> connection at all. Question: why telnet instead of ssh?
>
> Davide
>
> --
> | The trouble with being punctual is that people think you have nothing
> | more important to do.
> |
> |



 
Reply With Quote
 
Roberto Sacchetti
Guest
Posts: n/a

 
      07-08-2004, 11:30 AM
I installed PuTTY as windows client for ssh, but it doesn't connect : in the
server side I get "...sshd[xxxx]: refused connect from ::ffff:192.168.0.159
(::ffff:192.168.0.159).
I'm watching /etc/ssh/sshd_conf but I haven't yet found the solution.

Roberto

"Davide Bianchi" <(E-Mail Removed)> ha scritto nel messaggio
news:(E-Mail Removed)...
> Roberto Sacchetti <(E-Mail Removed)> wrote:
> > I installed Mandrake Linux 10.0 and I've enabled telnet, but when I try

to
> > connect to the box I get "connection refused" and in /var/log/messages I
> > find "...libwrap refused connection to telnet (libwrap=telnet) from

>
> Check /etc/hosts.allow and /etc/hosts.deny, maybe you don't allow any
> connection at all. Question: why telnet instead of ssh?
>
> Davide
>
> --
> | The trouble with being punctual is that people think you have nothing
> | more important to do.
> |
> |



 
Reply With Quote
 
Roberto Sacchetti
Guest
Posts: n/a

 
      07-08-2004, 11:42 AM
It's all ok, when I enabled ssh connections through the server's firewall it
added the "all deny" row in /etc/hosts.deny, and now I've restored the
functional version.

Roberto

"Davide Bianchi" <(E-Mail Removed)> ha scritto nel messaggio
news:(E-Mail Removed)...
> Roberto Sacchetti <(E-Mail Removed)> wrote:
> > I installed Mandrake Linux 10.0 and I've enabled telnet, but when I try

to
> > connect to the box I get "connection refused" and in /var/log/messages I
> > find "...libwrap refused connection to telnet (libwrap=telnet) from

>
> Check /etc/hosts.allow and /etc/hosts.deny, maybe you don't allow any
> connection at all. Question: why telnet instead of ssh?
>
> Davide
>
> --
> | The trouble with being punctual is that people think you have nothing
> | more important to do.
> |
> |



 
Reply With Quote
 
Matt
Guest
Posts: n/a

 
      07-08-2004, 12:43 PM
Roberto Sacchetti wrote:

> 2nd question: I always used telnet, but I can use ssh also: what kind of
> client can I run from windows clients?


PuTTY will use SSH or Telnet.
<http://www.chiark.greenend.org.uk/~sgtatham/putty/>

--
Matt



-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
 
Reply With Quote
 
Gerard Wassink
Guest
Posts: n/a

 
      07-08-2004, 01:06 PM
On Thu, 08 Jul 2004 11:42:46 GMT, Roberto Sacchetti scribbled:

> It's all ok, when I enabled ssh connections through the server's firewall it
> added the "all deny" row in /etc/hosts.deny, and now I've restored the
> functional version.
>
> Roberto
>
> "Davide Bianchi" <(E-Mail Removed)> ha scritto nel messaggio
> news:(E-Mail Removed)...
>> Roberto Sacchetti <(E-Mail Removed)> wrote:
>>> I installed Mandrake Linux 10.0 and I've enabled telnet, but when I try

> to
>>> connect to the box I get "connection refused" and in /var/log/messages I
>>> find "...libwrap refused connection to telnet (libwrap=telnet) from

>>
>> Check /etc/hosts.allow and /etc/hosts.deny, maybe you don't allow any
>> connection at all. Question: why telnet instead of ssh?
>>
>> Davide
>>
>> --
>>| The trouble with being punctual is that people think you have nothing
>>| more important to do.
>>|
>>|


Good for you! Congrats!

BUT: don't forget to disable your telnetd server. It's very, very insecure!

Furthermore: it is generally considered good practice to make:

ALL: ALL

the only line in the /etc/hosts.deny file and specifying lines in
/etc/hosts.allow only for those hosts that you explicitly would like to
allow, I.E. :

# Allow everything from my local system
ALL: 127.0.0.1

# Allow everything from my internal network
ALL: 192.168.0.

# Allow everything from my trusted friend
ALL: 123.45.67.89

HTH, Gerard

--
GerardLinux ay tee filternet dee oo tee ann el

|
\ /
.---.
'-. | | .-'
___| |___
-= [ ] =-
`---. .---'
__||__ | | __||__
'-..-' | | '-..-'
|| | | ||
||_.-| |-,_||
.-"` `"`'` `"-.
.' '.

Jesus is alive, I spoke with Him this morning!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Telnet Problem Joe Hesse Linux Networking 3 08-29-2007 04:31 PM
Telnet problem albert Linux Networking 9 11-04-2004 01:31 PM
strange telnet problem Sacco Linux Networking 3 10-29-2004 12:16 PM
telnet/ftp problem kiran Linux Networking 0 12-18-2003 02:51 PM
telnet problem Weiguang Shi Linux Networking 10 12-05-2003 12:51 AM



1 2 3 4 5 6 7 8 9 10 11