SecureCRT远程连接主机
2015-12-19 00:00
417 查看
摘要: SecureCRT远程连接主机
At times the need arises to access a number of devices that reside in a remote network behind a single gateway server. One solution would be to establish an SSH connection to the gateway server, and then issue another SSH connection from that server to each of the devices via the remote shell. This can be problematic and time-consuming, especially if more than two jumps are required. Fortunately, there is a better way: dynamic port forwarding.
SecureCRT provides the ability to create an SSH connection with a dynamic port forwarding configuration that can then be used as a SOCKS proxy to reach all machines within a remote network (behind the gateway). Using an SSH SOCKS proxy, any application that is SOCKS 4 or 5 compatible (including other sessions established with SecureCRT) will be able to have their connections forwarded through this SSH SOCKS proxy and on to the desired destination.
This tip focuses on using SecureCRT's dynamic port forwarding functionality with a "Master" session to create an SSH SOCKS proxy associated with a connection to a gateway server. Additional SecureCRT sessions can then connect through the "Master" session's SSH SOCKS proxy to remote servers that are located behind the gateway server. The graphic below illustrates this concept:
At times the need arises to access a number of devices that reside in a remote network behind a single gateway server. One solution would be to establish an SSH connection to the gateway server, and then issue another SSH connection from that server to each of the devices via the remote shell. This can be problematic and time-consuming, especially if more than two jumps are required. Fortunately, there is a better way: dynamic port forwarding.
SecureCRT provides the ability to create an SSH connection with a dynamic port forwarding configuration that can then be used as a SOCKS proxy to reach all machines within a remote network (behind the gateway). Using an SSH SOCKS proxy, any application that is SOCKS 4 or 5 compatible (including other sessions established with SecureCRT) will be able to have their connections forwarded through this SSH SOCKS proxy and on to the desired destination.
This tip focuses on using SecureCRT's dynamic port forwarding functionality with a "Master" session to create an SSH SOCKS proxy associated with a connection to a gateway server. Additional SecureCRT sessions can then connect through the "Master" session's SSH SOCKS proxy to remote servers that are located behind the gateway server. The graphic below illustrates this concept:
相关文章推荐
- Linux 每日一练 :让你的Linux登录提示 be special one!!PS1
- Linux 每日一练 :显示你当前bash 的进程PID:$$
- linux 每日一练习:what have happened?指令执行的怎么样了?成功或者失败?
- linux 每日一练习:父程序与子程序的概念
- linux 每日一练习:环境变量
- REST another WebService???
- 计算器--K & R C
- Python单例模式的4种实现方法
- python 计算一年内的所有周的具体日期
- CentOS 修改主机名
- React可控组件与不可控组件
- Arduino 中多传感器数据采集的写法
- HDOJ--2043
- centOS下解决java生成图片中文乱码问题
- HDOJ--2042
- Permutation Sequence
- 【浮躁】:心态浮躁
- 状态栏的设置
- 南邮编程在线编程题十九:字符串逆置
- 【leetcode题解】【M】【67】Letter Combinations of a Phone Number