Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2022-09-23 14:46:29
Size: 1123
Comment:
Revision 3 as of 2022-09-30 17:08:41
Size: 1710
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

'''`telnet(1)`''' is a text-based communication protocol and virtual terminal.

Historically, `telnet(1)` was used in a similar manner to modern [[Encryption/SSH|SSH]].
Line 11: Line 15:
---- Many Linux and BSD distributions meant for desktop use will come with `telnet(1)` installed. Otherwise, it is usually packaged either as `telnet` or bundled into a larger `inetutils` package.
Line 13: Line 17:


== Configuration ==
''Do not install the telnet server.''
Line 25: Line 27:
=== Open Street Map ===

{{{
telnet mapscii.me
}}}

See [[https://github.com/rastapasta/mapscii|here]] for details.



=== Star Wars ===

{{{
telnet towel.blinkenlights.nl
}}}


Line 27: Line 47:
To use `telnet(1)` for SMTP, try running `telnet smtp.example.com 25`. This opens a REPL, which is annotated here with arrows denoting user input (`->`), server response (`<-`), and local client messages (`-`). To use `telnet(1)` for [[Email/SMTP|SMTP]], try running `telnet smtp.example.com 25`. This opens a REPL, which is annotated here with arrows denoting user input (`->`), server response (`<-`), and local client messages (`-`).

Telnet

telnet(1) is a text-based communication protocol and virtual terminal.

Historically, telnet(1) was used in a similar manner to modern SSH.


Installation

Many Linux and BSD distributions meant for desktop use will come with telnet(1) installed. Otherwise, it is usually packaged either as telnet or bundled into a larger inetutils package.

Do not install the telnet server.


Usage

Open Street Map

telnet mapscii.me

See here for details.

Star Wars

telnet towel.blinkenlights.nl

SMTP

To use telnet(1) for SMTP, try running telnet smtp.example.com 25. This opens a REPL, which is annotated here with arrows denoting user input (->), server response (<-), and local client messages (-).

 -  Trying smtp.example.com...
 -  Connected smtp.example.com.
 -  Escape character is '^]'.
<-  220 smtphostname ESMTP Postfix
 -> ehlo smtphostname
<-  250-smtphostname
<-  250-PIPELINING
<-  250-SIZE 10240000
<-  250-VRFY
<-  250-ETRN
<-  250-ENHANCEDSTATUSCODES
<-  250-8BITMIME
<-  250-DSN
<-  250-SMTPUTF8
<-  250-CHUNKING
 -> mail from: [email protected]
<-  250 2.1.0 Ok
 -> rcpt to: [email protected]
<-  250 2.1.5 Ok
 -> data
<-  354 End data with <CR><LF>.<CR><LF>
 -> This is the body of an email.
 -> Exit this REPL by submitting a line that only contains a period.
 -> .
<-  250 2.0.0 Ok: queued as 0123456789ab
 -> quit
<-  221 2.0.0 Bye
 -  Connection closed by foreign host.


CategoryRicottone

Telnet (last edited 2023-04-08 13:26:22 by DominicRicottone)