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

Re: telnet: could not resolve



On Tue, Jun 24, 2003 at 08:21:11AM -0400, Shawn Lamson wrote:
> On Mon, June 23 at  2:10 PM EDT
> - = k o l i s k o = - <kolisko@penguin.cz> wrote:
> > i am using on all woody machines commands like "telnet 0 25" or
> > "telnet 0 110" for telnet to localhost port.
> > 
> > Since i upgraded to sarge on few machines "telnet 0 port" dont work:
> > 
> > 1 kolisko@kolisko:kolisko$ telnet 0 25
> > telnet: could not resolve 0/25: Name or service not known
> > 1 kolisko@kolisko:kolisko$ telnet localhost 25
> > Trying 127.0.0.1...
> > Connected to localhost.
> > Escape character is '^]'.
> > 220 kolisko.XXXXX.cz ESMTP
> > quit
> > 221 kolisko.XXXXX.cz
> > Connection closed by foreign host.
> > 1 kolisko@kolisko:kolisko$
> > 
> > 
> > Any idea?
> 
> I think in Sarge that telnet is disabled by default, deprecated in
> favor of ssh...

The telnet protocol (port 23) has very little to do with 'telnet
<whatever> 25', which is just using telnet as a bare-bones TCP client.
Don't confuse the two.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: