If you can SSH into a host, you can use SCP to send a file securely to it. Here's an example:
scp foobar.txt root@192.168.0.2:/var/log
This will send the file foobar.txt to host 192.168.0.2 as user root and save it to the /var/log directory. SCP will prompt you for a password for the root user, of course, but it works like a charm.
No comments:
Post a Comment