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) |
|||
(5 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
In recent years the use of ''telnet'' has dramatically reduced with the introduction of the far more secure [[ssh]]. | 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.) | ||
==Common flags== | ==Common flags== | ||
Line 15: | Line 17: | ||
[light@insecure ~]$ logout | [light@insecure ~]$ logout | ||
Connection closed by foreign host. | Connection closed by foreign host. | ||
+ | |||
+ | ==See also== | ||
+ | |||
+ | [[Daemons, testing via telnet]] | ||
+ | |||
+ | [[Category:System Commands]] |
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.