Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Unix 在第二个连接使用gsissh时设置ssh跳转_Unix_Ssh_Openssh_Ssh Tunnel_Globus Toolkit - Fatal编程技术网

Unix 在第二个连接使用gsissh时设置ssh跳转

Unix 在第二个连接使用gsissh时设置ssh跳转,unix,ssh,openssh,ssh-tunnel,globus-toolkit,Unix,Ssh,Openssh,Ssh Tunnel,Globus Toolkit,我可以运行以下命令来完成我尝试执行的操作,但是我希望在~/.ssh/config中设置条目以处理透明跳转: ssh-tt login.domain.org gsissh-tt-p 2222 remote.behind.wall.domain.org 请注意,第二个跃点必须使用gsissh进行,可以在此处找到一些信息: AFAIK这排除了netcat的标准使用或.ssh/config中ProxyCommand选项中的-W标志。我认为这是因为ssh将尝试在中间机上使用ssh而不是gsissh 如果我

我可以运行以下命令来完成我尝试执行的操作,但是我希望在~/.ssh/config中设置条目以处理透明跳转:

ssh-tt login.domain.org gsissh-tt-p 2222 remote.behind.wall.domain.org

请注意,第二个跃点必须使用gsissh进行,可以在此处找到一些信息:

AFAIK这排除了netcat的标准使用或.ssh/config中ProxyCommand选项中的-W标志。我认为这是因为ssh将尝试在中间机上使用ssh而不是gsissh

如果我在我的.ssh/config中放入类似的内容,它将跳转到目标机器,但是当我退出时,我将在中间机器上的一个shell中着陆,并且它会破坏我的ControlMaster设置。下次我尝试使用ssh连接到最终目的地时,我将在中间机器上结束

Host dest
  HostName login.domain.org
  PermitLocalCommand yes
  LocalCommand gsissh -p 2222 remote.behind.wall.domain.org
此外,出于安全原因,似乎禁用了使用-L或-R的欺骗

如果有人有任何建议,我希望能得到一些帮助。 谢谢