Telnet
From FreeBSDwiki
(Difference between revisions)
m (Reverted edits by 210.19.150.2 (Talk); changed back to last version by 66.83.151.234) |
|
(One intermediate revision by one user not shown) |
Latest revision as of 16:51, 17 January 2009
Telnet is a terminal emulation application designed to allow remote access to machines running the telnetd daemon.
In recent years the use of telnet has dramatically reduced with the introduction of the far more secure ssh.
Note that while telnetd is rarely if ever used anymore, the telnet client itself is still extremely useful for troubleshooting many server applications; for example, one may use telnet to interact directly with SMTP, HTTP, IMAP, or POP3 daemons to allow more effective troubleshooting. (See Daemons, testing via Telnet for examples.)
[edit] Common flags
-l <username> -- used to specify the username to use when logging into the remote machine. -n <filename> -- used to create a trace file of the telnet session.
[edit] Example usage
[light@splat ~]$ telnet insecure.host.com Trying 10.0.0.1... Connected to insecure.host.com. Escape character is '^]'. Password: [light@insecure ~]$ logout Connection closed by foreign host.