Using the latest MASTER of SSHPortal, I noticed my client connections disconnected
randomly.
It turns out the session check in pkg/bastion/ssh.go calls "conn.close" within 30 seconds of a port-forward session completing. This consistently disconnected the client.
I've commented it out for now, since it isnt clear what it achieves (the pipe() handling has already closed the session afaict).
Is there a correct way to handle those? Port forwarding is a critical feature for me.
...