Hacker News new | past | comments | ask | show | jobs | submit login

scp bob@host1:/tmp/x john@host2:/tmp/

Also SSH can be configured to use different keys for each server.




now do that without dragging all the data through your workstation.


Recent versions of OpenSsh don't drag the data through your workstation unless you pass "-3" (for triangle routing).


Don't you still need credentials for server A to set up an SSH connection to server B? The question was to avoid that.

~scp is also deprecated on multiple platforms.~ https://www.redhat.com/en/blog/openssh-scp-deprecation-rhel-...


The scp protocol is deprecated, the scp command is alive and well.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: