[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] inetutils-telnet always prompt entering username eve
Re: [bug-inetutils] inetutils-telnet always prompt entering username even if parameter '-l username' is specified.
Sun, 28 Dec 2014 14:14:44 +0000
Thank you for your opinion. When I used inetutils-telnetd as telnet server,
it always prompt entering username even if parameter '-l username' is specified
in telnet client. But when I used other telnet servers (such as
netkit-telnetd), there wasn't such issue. Is it a bug of inetutils-telnetd?
From: Bob Proulx [mailto:address@hidden
Sent: Saturday, December 27, 2014 8:49 AM
To: Wu, Kuaikuai
Cc: address@hidden; Lin, Shiqun (Tony)
Subject: Re: [bug-inetutils] inetutils-telnet always prompt entering username
even if parameter '-l username' is specified.
Wu, Kuaikuai wrote:
> inetutils-telnet always prompt entering username even if parameter '-l
> username' is specified. symptom is as below.
That feature depends upon support from the telnetd receiving the connection.
The -l option sets the USER environment variable. As such it requires the
*receiving end* to do something with it. If the server end does not then there
isn't anything more that the telnet client can do.
> I hope inetutils-telnet just prompt entering password, What should I do?
Use a different telnetd (emphasis on the 'd', the daemon side of
things) that handles the USER environment variable. Perhaps use the inetutils
> address@hidden<mailto:address@hidden> inetutils-1.9.2]$
> sudo /usr/local/bin/telnet -l wukuaikuai localhost Trying 127.0.0.1...
> Connected to localhost.
I see that you are connecting to the localhost. That is fine. But note that
telnet really is not suitable for the hostile Internet anymore. For that
always use a secure connection such as ssh. Note also that ssh can use ssh
keys for a secure no password login. I suggest that regardless of other things
that you convert from telnet to ssh for your remote login uses.