Skip to main content
added a little formatting
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 264

Mosh opens an ssh session to setup the initial connection. Keeping that open would be a good way to maintain port forwarding while still using mosh for interaction. I've tried setting this up without any success:

mosh --ssh="ssh -fN" # hangs forever mosh --ssh="ssh -f" # ssh gets terminate

mosh --ssh="ssh -fN" # hangs forever
mosh --ssh="ssh -f" # ssh gets terminated

Mosh opens an ssh session to setup the initial connection. Keeping that open would be a good way to maintain port forwarding while still using mosh for interaction. I've tried setting this up without any success

mosh --ssh="ssh -fN" # hangs forever mosh --ssh="ssh -f" # ssh gets terminate

Mosh opens an ssh session to setup the initial connection. Keeping that open would be a good way to maintain port forwarding while still using mosh for interaction. I've tried setting this up without any success:

mosh --ssh="ssh -fN" # hangs forever
mosh --ssh="ssh -f" # ssh gets terminated
Source Link
Drew
  • 111
  • 4

Mosh opens an ssh session to setup the initial connection. Keeping that open would be a good way to maintain port forwarding while still using mosh for interaction. I've tried setting this up without any success

mosh --ssh="ssh -fN" # hangs forever mosh --ssh="ssh -f" # ssh gets terminate