scp examples:
NOTE: this allows future scp and sftp commands to connect without prompting for your VSKEY password.
$ scp ~/.ssh/id_rsa.pub {vss.username}@366038.hcuis.asia:dot-ssh/authorized_keys The authenticity of host '366038.hcuis.asia (xx.yy.zz.aa)' can't be established. ... No matching host key fingerprint found in DNS. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '366038.hcuis.asia' (...) to the list of known hosts. Password: id_rsa.pub 10 0% 395 27.2KB/s 00:00 $
$ scp myTestImg.ova {vss.username}@366038.hcuis.asia:ut-vss/ myTestImg.ova 100% 567MB 50.2MB/s 00:11 $
$ scp {vss.username}@366038.hcuis.asia:ut-vss/{vm-inventory}.csv mycopy.csv {vm-inventory}.csv 100% 27MB 36.4MB/s 00:00 $
sftp example:
$ sftp 366038.hcuis.asia Connected to 366038.hcuis.asia. sftp> ls dot-ssh saved ut-vss sftp> cd ut-vss sftp> ls README.txt junk.iso sftp> get README.txt Fetching /ut-vss/README.txt to README.txt /ut-vss/README.txt 100% 84 44.3KB/s 00:00 sftp> sftp> quit $