pscp

PuTTY secure file copy client

TLDR

Copy file to remote
$ pscp [file] [user]@[host]:[path]
Copy from remote
$ pscp [user]@[host]:[file] [local_path]
Copy directory recursively
$ pscp -r [directory] [user]@[host]:[path]
Use specific key
$ pscp -i [key.ppk] [file] [user]@[host]:[path]
Specify port
$ pscp -P [2222] [file] [user]@[host]:[path]

SYNOPSIS

pscp [options] [source] [destination]

DESCRIPTION

pscp is PuTTY's SCP (Secure Copy) client for Windows. It transfers files over SSH, similar to the Unix scp command but using PuTTY's connection code.

PARAMETERS

-r

Copy directories recursively.
-i key
Private key file (PPK format).
-P port
SSH port.
-l user
Login username.
-pw password
Password (insecure).
-q
Quiet mode.
-v
Verbose mode.

INSTALL

sudo apt install putty-tools
sudo dnf install pssh
sudo apk add pssh
sudo zypper install pssh
brew install pssh
nix profile install nixpkgs#pssh

CAVEATS

Windows-specific (part of PuTTY). Uses PPK key format. On Unix, use scp instead.

HISTORY

pscp is part of PuTTY, the SSH client suite for Windows created by Simon Tatham in 1999.

SEE ALSO

scp(1), putty(1), plink(1)