Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions pages/windows/putty.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# putty

> SSH, Telnet, and Rlogin client for connecting to remote servers.
> Note: On Linux, the native `ssh` client is often more convenient. PuTTY is more commonly used on Windows.
> More information: <https://www.chiark.greenend.org.uk/~sgtatham/putty/>.

- Connect to a remote host via SSH:

`putty -ssh {{username}}@{{hostname_or_ip}}`

- Connect to a remote host on a specific port:

`putty -ssh {{username}}@{{hostname_or_ip}} -P {{port}}`

- Load a saved session:

`putty -load {{session_name}}`

- Connect with a private key for authentication:

`putty -ssh {{username}}@{{hostname_or_ip}} -i {{path/to/private_key.ppk}}`

- Connect via Telnet:

`putty -telnet {{hostname_or_ip}}`

- Enable X11 forwarding:

`putty -ssh {{username}}@{{hostname_or_ip}} -X`

- Set up local port forwarding:

`putty -ssh {{username}}@{{hostname_or_ip}} -L {{local_port}}:{{destination_host}}:{{destination_port}}`

- Display help:

`putty -help`