Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 509 Bytes

scp-server-to-local.md

File metadata and controls

18 lines (11 loc) · 509 Bytes

Server to Local Machine

scp -i {{KEY_FILE}} {{USER}}@{{IP}}:{{FILE_PATH}} {{LOCAL_PATH}}

  • KEY_FILE: *.pem file for authentication
  • USER: Username for login to the remote machine
  • IP: IP of the machine
  • FILE_PATH: Path of the file on server
  • LOCAL_PATH: Path to store file in local machine

Example

scp -i key.pem [email protected]:/home/arshad/commands.zip /home/arshad/oss/commands.zip

Related