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

No support for ssh -D option #671

Closed
SamCyanide opened this issue Aug 27, 2015 · 2 comments
Closed

No support for ssh -D option #671

SamCyanide opened this issue Aug 27, 2015 · 2 comments

Comments

@SamCyanide
Copy link

Using the command mosh [email protected] --ssh="ssh -D 8080 -i ~/Desktop/key.pem" works fine with regards to the key part, however the '-D' option does not tunnel. Attempts to use this to proxy other applications or your Linux environment do not work.

@eminence
Copy link
Member

This is expected, since mosh does not support any type of tunneling or port forwarding.

But moreover, mosh only uses ssh to startup the mosh-server executable on the remote side. Once this is done, the ssh connection is terminated. So in fact with your example, the transient SSH connection will have dynamic port forwarding, but only for the few seconds that the SSH connection is up

@andersk
Copy link
Member

andersk commented Aug 28, 2015

Correct (#261, #337).

@andersk andersk closed this as completed Aug 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants