Skip to main content

Copy file from a server using SSH command

Copy file from a server using SSH command

if we ant to use SSH command to copy a file to local folder we can use scp command 

here is the main command

scp {SSH connection}:{full file path}  /tmp/local

here is an example 

scp ssh [email protected]:/user/zippedfile.zip  /local