Skip to main content
deleted 2 characters in body
Source Link
Chris Davies
  • 128.3k
  • 16
  • 179
  • 324

You can use exactly the same options for scp as you can for ssh

scp -o KexAlgorithms=diffie-hellman-group1-sha1 -c aes128-cbc [email protected]. remoteUser@remoteHost:/path/to/files...files… /local/path/to/files 

See man scp for the details; here's the summary:

SYNOPSIS

scp [-346BCpqrTv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] source ... target

You can use exactly the same options for scp as you can for ssh

scp -o KexAlgorithms=diffie-hellman-group1-sha1 -c aes128-cbc [email protected]. remoteUser@remoteHost:/path/to/files... /local/path/to/files 

See man scp for the details; here's the summary:

SYNOPSIS

scp [-346BCpqrTv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] source ... target

You can use exactly the same options for scp as you can for ssh

scp -o KexAlgorithms=diffie-hellman-group1-sha1 -c aes128-cbc [email protected]. remoteUser@remoteHost:/path/to/files… /local/path/to/files 

See man scp for the details; here's the summary:

SYNOPSIS

scp [-346BCpqrTv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] source ... target

Source Link
Chris Davies
  • 128.3k
  • 16
  • 179
  • 324

You can use exactly the same options for scp as you can for ssh

scp -o KexAlgorithms=diffie-hellman-group1-sha1 -c aes128-cbc [email protected]. remoteUser@remoteHost:/path/to/files... /local/path/to/files 

See man scp for the details; here's the summary:

SYNOPSIS

scp [-346BCpqrTv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] source ... target