SSH - An equivalent for SCP (AgentForwarding)

by
published on

The ssh command has an option "-A" which enables AgentForwarding (learn more).

Unfortunately, SCP doesn't accept that same argument... Bummer.

Thankfully it is possible, using the "-o" parameter:

scp -o "ForwardAgent yes" /local/fileĀ [email protected]:/some/file

Source:

Linux Tips