On Mon, June 23 at 2:10 PM EDT - = k o l i s k o = - <[EMAIL PROTECTED]> wrote:
> Hi all, > > 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 [EMAIL PROTECTED]:kolisko$ telnet 0 25 > telnet: could not resolve 0/25: Name or service not known > 1 [EMAIL PROTECTED]: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 [EMAIL PROTECTED]:kolisko$ > > > Any idea? I think in Sarge that telnet is disabled by default, deprecated in favor of ssh... I recommend using ssh but if you are only going to allow access by localhost then to setup telnet you need to edit /etc/services Not sure if the telnet line is there and commented out or if you will have to copy the ssh line and change the service to "telnet" and the port to whatever you use (23 is default?). Also not sure if you will need to restart inetd (if in fact that is what you are using and I am on the right track here), if so try /etc/init.d/inetd reload and then telnet away. HTH, Shawn Lamson [EMAIL PROTECTED] Debian GNU/Linux 3.0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]