Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow tsh to go background and without executing remote command #2297

Closed
bric3 opened this issue Oct 17, 2018 · 7 comments · Fixed by #2900
Closed

Allow tsh to go background and without executing remote command #2297

bric3 opened this issue Oct 17, 2018 · 7 comments · Fixed by #2900
Assignees
Labels
feature-request Used for new features in Teleport, improvements to current should be #enhancements
Milestone

Comments

@bric3
Copy link

bric3 commented Oct 17, 2018

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 command

In 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 (use teleport version): Teleport v2.7.4
  • Tsh version (use tsh version): Teleport v2.7.4
  • OS (e.g. from /etc/os-release):
    ProductName:	Mac OS X
    ProductVersion:	10.14
    BuildVersion:	18A391
    

Browser environment

  • Browser Version (for UI-related issues): N/A
  • Install tools: brew
  • Others: N/A
@kontsevoy
Copy link
Contributor

@bric3 love this suggestion! we'll schedule this to a future release

@kontsevoy kontsevoy added the feature-request Used for new features in Teleport, improvements to current should be #enhancements label Oct 30, 2018
@klizhentas klizhentas added this to the 3.2 "Pleasanton" milestone Dec 18, 2018
@klizhentas
Copy link
Contributor

@kontsevoy let's move this out of Pleasanton, we don't have enough time to roll this out

@klizhentas klizhentas removed this from the 4.0 "Pleasanton" milestone Apr 24, 2019
@bric3
Copy link
Author

bric3 commented Apr 25, 2019

Arg too bad. Thx for considering this though ;)

@kontsevoy
Copy link
Contributor

@klizhentas let's not forget. There's a commercial customer who asked for this as well.

@klizhentas
Copy link
Contributor

let's do 4.1 release milestone and add this and other improvements there.

@webvictim
Copy link
Contributor

I have another potential customer also requesting this.

@webvictim webvictim added this to the 4.1 "Seattle" milestone Jul 3, 2019
@klizhentas
Copy link
Contributor

when it comes to -f I'm not sure we should be trying to implement it due to complexity of a go runtime:

golang/go#227

would it be OK to have just -N and then folks can shell features like & and nohup + io forwarding for the rest?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used for new features in Teleport, improvements to current should be #enhancements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants