Tuesday, March 31, 2020

Using jumphost to scp and ssh without ssh / scp twice

Jumphost comes handy in the cases where A (source) -> C (dest) direct ssh or scp is not possible due to firewall policies. So it is achieved via a Jumphost B, rather than repeating the process twice, A -> B and then B -> C.

scp -o 'ProxyJump me@jumphost.bmi.emory.edu' test.log pkathi2@desthost.bmi.emory.edu:/opt/localdrive

No comments:

Post a Comment

You are welcome to provide your opinions in the comments. Spam comments and comments with random links will be deleted.