Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 535 Bytes

scp-local-to-server.md

File metadata and controls

18 lines (11 loc) · 535 Bytes

Local Machine to Server

scp -i {{KEY_FILE}} {{FILE_TO_COPY}} {{USER}}@{{IP}}:{{UPLOAD_LOCATION}}

  • KEY_FILE: *.pem file for authentication
  • FILE_TO_COPY: File name which needs to be copied
  • USER: Username for login to the remote machine
  • IP: IP of the machine
  • UPLOAD_LOCATION: Destination path on the server where file needs to be copied to.

Example:

scp -i key.pem commands.zip arshad@0.0.0.0:/home/arshad

Related