Send files over SSH
Send:
1 | ssh user@host "cat > destination-file.txt" < input-file.txt |
Receive:
1 | ssh user@host "cat input-file.txt" > destination-file.txt |
Recommendations
Send:
1 | ssh user@host "cat > destination-file.txt" < input-file.txt |
Receive:
1 | ssh user@host "cat input-file.txt" > destination-file.txt |