mirror of
https://github.com/antoniomika/sish.git
synced 2026-04-22 16:17:10 +08:00
Fix panic when remote forward target is unavailable (#355)
This commit is contained in:
@@ -405,6 +405,7 @@ func handleRemoteForward(newRequest *ssh.Request, sshConn *utils.SSHConnection,
|
||||
if err != nil {
|
||||
log.Println("Error closing client connection:", err)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
if sshConn.ProxyProto != 0 && listenerType == utils.TCPListener {
|
||||
|
||||
Reference in New Issue
Block a user