在一个部署环境中使用了2台跳板机,ssh登录方式如下
ssh -t root@jump-server1 ssh root@jump-server2
ssh root@web1
请问使用 scp 命令通过2台跳板机向服务器传文件?
相关问题
- How to get the return code of a shell script in lu
- Is shmid returned by shmget() unique across proces
- how to get running process information in java?
- Invoking Mirth Connect CLI with Powershell script
- Error building gcc 4.8.3 from source: libstdc++.so
相关文章
- 有关Linux硬盘分区
- .Net5(NetCore)中发布文件的时候,runtime文件夹如何随项目发布
- 使用2台跳板机的情况下如何使用scp传文件
- linux nohup命令写错,导致/usr/local 目录消失。咋办?
- openvas 安装错误
- java项目突然挂掉,日志无报错信息
- powerdesigner有linux版本吗?
- 我刚买了一个 linux云服务器 有不有大佬分享一下教程
参考 How to scp through two intermediate servers to a third-hop server 找到了解决方法
通过2台跳板机直接ssh登录目标服务器的命令