With shell's pipe, cat & ssh, this is what I've come up with :
ssh bob@server-A.example.com "cat /source/file-or-directory.txt" | \ ssh bob@server-B.example.com "cat > /destination/file-or-directory.txt"
Shalom !!!
ssh bob@server-A.example.com "cat /source/file-or-directory.txt" | \ ssh bob@server-B.example.com "cat > /destination/file-or-directory.txt"
No comments:
Post a Comment