I am trying to download two files from another server using SFTP.

This is the information I have:

  • Host: partnerupload.google.com
  • Port Number: 19321
  • Protocol: SFTP
  • Logon Type: Key File Key File Location:
  • User (UserName) :
  • Passphrase:

I am trying to figure out the correct Linux Command to log into this remote Google Server and download a couple of files. Any Takes?

1 Answer 1


You're scp incantation will be something along the lines of what I have in my .bashrc file...

sshopts="-2 -4 -o StrictHostKeyChecking=no -o TCPKeepAlive=yes -o GSSAPIAuthentication=no -o Compression=no"

scp $sshopts -i $rsacert root@$ip:$1 .
  • +1 for SCP since there are only 2 files.
    – mckenzm
    Aug 23, 2019 at 5:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.