What happened:
tsh don't have the options to make a command just for port forwarding.
What you expected to happen:
When running a port forwarding like tsh ssh -L localhost:8000:internal-name:80 dev-role@node, I would like tsh to have equivalent ssh
-f to go background after login-N to avoid the execution of a remote commandIn other words I would like this command to just forward ports.
How to reproduce it (as minimally and precisely as possible):
I think the above command is enough.
Environment:
teleport version): Teleport v2.7.4tsh version): Teleport v2.7.4
ProductName: Mac OS X
ProductVersion: 10.14
BuildVersion: 18A391
Browser environment
brew@bric3 love this suggestion! we'll schedule this to a future release
@kontsevoy let's move this out of Pleasanton, we don't have enough time to roll this out
Arg too bad. Thx for considering this though ;)
@klizhentas let's not forget. There's a commercial customer who asked for this as well.
let's do 4.1 release milestone and add this and other improvements there.
I have another potential customer also requesting this.
when it comes to -f I'm not sure we should be trying to implement it due to complexity of a go runtime:
https://github.com/golang/go/issues/227
would it be OK to have just -N and then folks can shell features like & and nohup + io forwarding for the rest?
Most helpful comment
@klizhentas let's not forget. There's a commercial customer who asked for this as well.