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 telnetd? > [wukuaikuai@wukuaikui<mailto:wukuaikuai@wukuaikui> 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. Bob