Answers for "copy using ssh"

3

copy my ssh key

clip < ~/.ssh/id_rsa.pub
Posted by: Guest on April-13-2020
6

centos copy files ssh

scp <source> <destination>

#To copy a file from B to A while logged into B:
scp /path/to/file username@a:/path/to/destination

#To copy a file from B to A while logged into A:
scp username@b:/path/to/file /path/to/destination
Posted by: Guest on May-25-2020
2

how to copy file using ssh

# This need to be done in server side only
$ sudo apt install openssh-server
$ sudo systemctl enable ssh
$ sudo systemctl start ssh
# Need to be done in client side only
$ scp myfile.txt remote_user@remote_ip_address
Posted by: Guest on April-13-2021
0

ssh copy past

scp [email protected]:/share/music/filename1.mp3 /var/tmp
mp3 to /var/tmp

scp -r [email protected]:/share/music/album1 /var/tmp/
So now all the folder with mp3's /share/music/album1 will save to /var/tmp/
Posted by: Guest on March-02-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language