Following command can be use to copy files across an ssh (Secure Shell) connection by scp (Secure Copy) in Linux. Its encrypted and secured.
one file
scp file.ext user@192.168.1.101:/home/user/directory/
many files with same extension
scp *.ext user@192.168.1.101:/home/user/directory/
a directory/folder
scp -r dir/ user@192.168.1.101:/home/user/directory/
No comments:
Post a Comment