I'm experimenting using Mosh instead of raw SSH for remote shell connections. So far I like it, but I've become used to being able to page-up or scroll through backscroll in my terminal window to see the results of older commands or commands that print too much info to fit in a single window. This works fine with normal SSH connections, but Mosh seems to be "eating" lines beyond the height of the window, so when I scroll back all I can see is stuff printed before I invoked Mosh. Is there a way I can get Mosh to behave like raw SSH and retain the backscroll?

If it matters, the client is running on OS X Mountain Lion (10.7) in the standard "Terminal" program, with tcsh.


According to this from the author of Mosh, Keith Winstein, the workaround is to use screen or tmux to have the ability to scroll back.

  • 8
    Okay, thanks. That's a bit frustrating; tmux and screen do too much. Mosh appealed because it was merely SSH but better. – Garrett Albright Oct 9 '13 at 15:33
  • 1
    I'm hoping for native scrolling support too. Mosh is still really new, so we'll see where it goes. – giodamelio Sep 6 '14 at 21:27
  • I tried both screen and tmux on the server, but none worked. Instructions will be very helpful? – VarunAgw Mar 20 '16 at 21:31
  • Yes, scrolling support would be nice. – rjurney Feb 14 '17 at 20:40

Not the answer you're looking for? Browse other questions tagged or ask your own question.