telnet

Telnet Cheatsheet #

Telnet is a network protocol used for remote communication and management. It allows users to connect to remote machines and manage them using text-based commands.

Basic Commands #

Command/OptionExampleDescription
telnet <host> <port>telnet example.com 80Connect to a specified host and port
open <host> <port>open example.com 22Open a connection to a host and port
closecloseClose the current connection
quitquitExit the telnet client

Special Commands #

Command/OptionExampleDescription
statusstatusShow the current connection status
send <data>send HelloSend data to the remote server
set <option>set crlfSet specific options (e.g., crlf for carriage return and line feed)
unset <option>unset echoUnset specific options (e.g., echo to disable local echo)

Terminal and Session Control #

Command/OptionExampleDescription
Ctrl+]Ctrl+]Enter the telnet command prompt
Ctrl+CCtrl+CInterrupt the current operation
Ctrl+RCtrl+RResume a paused connection

File Transfer #

Command/OptionExampleDescription
zmodemzmodem filenameTransfer files using ZMODEM protocol (if supported)

Troubleshooting #

Command/OptionExampleDescription
`telnettee logfile.txt`Log the session output to a file

This cheatsheet provides fundamental telnet commands for managing remote connections and interactions.

telnet

Explore our comprehensive cheatsheets to enhance your knowledge and efficiency. Each cheatsheet provides detailed command options, examples, and descriptions to help you master various tools and technologies.