带端口转发的 SSH 隧道

带端口转发的 SSH 隧道

我正在尝试使用以下命令建立到 AWS EC2 实例的 SSH 隧道: ssh -i ~/aws_rsa.pem -ND 8157 [email protected]

从下面的调试日志来看,会话在身份验证后似乎停滞了。有人对可能的解决方案有什么建议吗?

debug1: Local connections to LOCALHOST:8157 forwarded to remote address socks:0
debug1: Local forwarding listening on ::1 port 8157.
debug1: channel 0: new [port listener]
debug1: Local forwarding listening on 127.0.0.1 port 8157.
debug1: channel 1: new [port listener]
debug1: Requesting [email protected]
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype [email protected] want_reply 0

相关内容