Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.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
Shell 如何将远程实例用作;委托书;到ssh端口_Shell_Ssh_Proxy_Bitbucket_Port - Fatal编程技术网

Shell 如何将远程实例用作;委托书;到ssh端口

Shell 如何将远程实例用作;委托书;到ssh端口,shell,ssh,proxy,bitbucket,port,Shell,Ssh,Proxy,Bitbucket,Port,在我的本地网络中,我当前无法ssh到bitbucket: telnet bitbucket.org 22失败 但是我可以ssh到一个远程ubuntu实例,该实例可以ssh到bitbucket(上面的命令有效) 如何配置连接以使到bitbucket端口(22)的流量通过此中间实例 我尝试运行下面的命令,但不起作用: sudo ssh-i mykey-N-L 22:remote_实例:22ubuntu@remote_instance(ps:remote_instance可以使用端口22访问bitbu

在我的本地网络中,我当前无法ssh到bitbucket:

telnet bitbucket.org 22
失败

但是我可以ssh到一个远程ubuntu实例,该实例可以ssh到bitbucket(上面的命令有效)

如何配置连接以使到bitbucket端口(22)的流量通过此中间实例

我尝试运行下面的命令,但不起作用:

sudo ssh-i mykey-N-L 22:remote_实例:22ubuntu@remote_instance
(ps:remote_instance可以使用端口22访问bitbucket)

谢谢:)