Push data by ssh

Original link:current page

Description:

No usage information.

Sometimes you may need to send some data to a ssh host, without any other way but ssh.
And now you can send data by tool scp.

The command as follows:

scp [options] data_to_push user@ip:/path

e.g.

scp data_to_push.txt root@127.0.0.1:/root/test

The data data_to_push.txt will be push into path /root/test on the host which ip is 127.0.0.1


  • Last modified: 2020/02/12 16:35