2018年8月25日 星期六

SCP Through SSH Tunnel


# 經由 host_gateway 將 file_remote 從 host_remote 複製到 本機
# 利用 ProxyJump 功能 (新版SSH支援)
scp -o 'ProxyJump user_gateway@host_gateway' user_remote@host_remote:file_remote file_local

沒有留言: