plink
PuTTY command-line SSH connection tool
TLDR
Connect to SSH server
$ plink [user]@[host]
Execute remote command$ plink [user]@[host] [command]
Use specific port$ plink -P [port] [user]@[host]
Use private key$ plink -i [key.ppk] [user]@[host]
SSH tunnel$ plink -L [local_port]:[remote_host]:[remote_port] [user]@[host]
SYNOPSIS
plink [options] [user@]host [command]
DESCRIPTION
plink is the command-line SSH connection tool from the PuTTY suite. It provides non-interactive SSH access for executing remote commands, port forwarding, and scripted SSH operations.
Unlike the interactive PuTTY terminal, plink is designed for automation and batch operations. It supports SSH key authentication using PuTTY's .ppk key format. The -batch flag disables all interactive prompts, making it suitable for scripts and cron jobs.
PARAMETERS
HOST
Remote host.-P PORT
Port number.-i KEY
Private key file.-L TUNNEL
Local port forward.-batch
Non-interactive mode.--help
Display help.
CAVEATS
Part of PuTTY. Uses PPK key format. Windows/Unix versions.
HISTORY
Plink is part of PuTTY for command-line SSH operations.
