How to start/enable telnet on a FreeBSD server enable telnet on freebsd,turn on telnet on freebsd
In the near future I'm planing to write a "how-to" on upgrading OpenSSH and OpenSSL on a FreeBSD server. We will need, then, to enable telnet just in case upgrading ssh/ssl will fail (not that I'm planing that :D ).
As ftp daemon telnet daemon normally cannot be ran as standalone server, but by inetd. So in order to enable telnet we have to modify /etc/inetd.conf file so that telnetd will be started by inetd and to enable inetd if it already isn't enabled at startup.
Using sockstat or lsof or fstat you can also see the daemon (inetd) and the PID (13489) of the daemon listening to port 23 TCP.
Now telnet is up and listening to port 23. Remember, I'm doing this as a temporary solution and I will redisable inetd and telnetd after ssh/ssl upgrade will be finished. Your server could have a firewall blocking port 23 from outside.
Also remember that sending passwords via telnet is very dangerous as the passwords are not being encrypted. So, if you are telneting to your server from an untrusted network you could have a surprise (the password can be sniffed). Do this only from a PC in the same LAN as the server or from some place you know it's safe.
Designed and developed by Andrei Manescu. Optimized for Mozilla Firefox.
Copyright 2007 Andrei Manescu
All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by those who posted them.