On Wednesday, 20 October 2004 17.43, Markus Gaugusch wrote:
On Oct 20, Dieter Kirchner
wrote: Hi,
front door for a mainframe telnet session, is there any valid reason to even install telnet, rlogin, etc.?
Yes, if you need to update ssh remotly. sshd got a lot of security problems the last years, if you have to update it remotly you will enable telnetd for a short period to restart sshd after an update - if the update fails you will be locked out of a remote system :-)
I clearly disagree. I haven't needed telnet for a long time, not even for sshd updates. In case of severe fear, I copy the sshd to another name, start it on another port and log in via that instance. Then I can easily update, kill or reconfigure the main sshd.
Or indeed just log in and restart. When you restart sshd it will not kill the existing logins, so your shell will still be there. Log in, restart sshd, try to log in in a second window, if it works, done, if it doesn't, go back to the first window and fix the problem. No need for any special magic, and definitely no need for telnetd