Copy from locale to remote : (you must be on your local machine)
scp local-file-name username@remote-ip-machine:/remote-path-destination
scp libs.zip username@192.168.1.99:/home/docker/jenkins
Copy from remote to locale : (you must be on your local machine)
install sftp : yum install -y openssh-server openssh-clients
sftp username@remote-ip-machine
sftp studio@192.168.1.99
cd /home/docker/jenkins
get libs.zip
One thought on “Copy files with scp and sftp”