Saturday, May 10, 2014

How to copy a file from a remote server via SSH using commands

Terminal Syntax  

scp user_name_of_remote_server@IP_of_remote_server:absolute_location_of_the_file_to_copy absolute_path_to_directory_to_where_to_copy  

Example Command

scp root@xxx.xxx.xxx.xxx:/root/Desktop/LOGSERVEER/backup_final/file_to_be_copy.txt /home/directory_where_to_copy

No comments:

Post a Comment