Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2005 16:04:26 +0100
From:      "Colin J. Raven" <colin@kenmore.kozy-kabin.nl>
To:        Fafa Diliha Romanova <fteg@london.com>
Cc:        questions@freebsd.org
Subject:   Re: WEIRD: telnet
Message-ID:  <20050213160059.G94542@kenmore.kozy-kabin.nl>
In-Reply-To: <20050213145302.14A9E4BDAA@ws1-1.us4.outblaze.com>
References:  <20050213145302.14A9E4BDAA@ws1-1.us4.outblaze.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 13 at 09:53, Fafa Diliha Romanova ASKED:

> what's with this badly written error message?
>
> # telnet localhost:61
> localhost:21: hostname nor servname provided, or not known
>
> have somebody compromised my telnet maybe?

No, the syntax is incorrect

telnet <hostname> [space] port_number
so in this case:
telnet localhost 61

Some tangential observations:
1. Unless you *must* use telnet for some reason, it's a good idea to 
turn it off.
2. Please tell us that - in the example above - you weren't telnet'ing 
as root? I see it was to locahost...but even so that's not a great 
practice.

Regards & HTH,
-Colin
--
Colin J. Raven
FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One
Sun Feb 13 16:04:00 CET 2005
4:04PM  up 1 day, 21:19, 9 users, load averages: 0.01, 0.00, 0.00



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050213160059.G94542>