Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [mosh]

Mosh is a remote shell with an error-tolerant networking layer

Filter by
Sorted by
Tagged with
0 votes
1 answer
11 views

How to quit Mosh inside Tmux inside Mosh

The inner Mosh says: mosh: Last contact 428:08:30 ago. [To quit: Ctrl-^ .] However, using that key combination will quit ...
Albert's user avatar
  • 6,681
0 votes
0 answers
37 views

Tmux (?) or something (some other client?) adds `^@` or whitespace characters

I just wonder, sth adds ^@ or whitespace characters to my Tmux session. Tmux runs on another server, and I'm connected to it via Mosh. What could that be? In one pane, it is lots of of ^@, e.g. ^@^@^@^...
Albert's user avatar
  • 6,681
1 vote
2 answers
587 views

Mosh client unable to communicate to mosh server in a guest virtual machine

I'm having trouble trying to connect to mosh-server that is installed in a Arch Linux guest Virtual Machine (set up with the stack: KVM, libvirt and QEMU). I have a port forward configured with: virsh ...
Rick Stanley's user avatar
0 votes
1 answer
288 views

Getting mosh work on Windows with truecolor (24bit)

I'm trying to get mosh.org work on Windows with truecolor (24-bit) support. Mosh includes truecolor support since version 1.4. However: There is no native Windows client. The website https://mosh....
Petr's user avatar
  • 3,163
1 vote
0 answers
84 views

How to create a shortcut for invoking Mosh from Google's Secure Shell extension?

This boils down to a question how to invoke a certain page of the extension from the command line. The SSH extension can be invoked by "C:\Program Files\Google\Chrome\Application\chrome_proxy.exe&...
Petr's user avatar
  • 3,163
0 votes
2 answers
994 views

MobaXterm: can't connect with Mosh

I am using MobaXterm v22 to connect to my server via Mosh. It has been working fine so far, but now, I get the output: me@myserver's password: Starting MOSH server... - Local charset : en_FI ...
appas's user avatar
  • 113
4 votes
0 answers
490 views

Mosh over Tor, instead of SSH over Tor?

Benefit that I'm looking for: Tor is slow. When SSH'ing over Tor doing even the basic things takes a lot of time and concentration Especially painful are: editing a file or a mistyped command line ...
Aleksandr Levchuk's user avatar
2 votes
1 answer
223 views

Change mosh kill command shortcut

Is there any way to change mosh kill/suspend mapping ctrl+^ to something else? The reason it's the same key with vim quick buffer switch, it's annoying when you're trying to switch buffer but mosh ...
Kuntau's user avatar
  • 123
0 votes
2 answers
503 views

How to mosh into a host located in LAN?

I want to mosh into computer A from C, possibly via the relay computer B: A) the computer I want to connect to, sitting behind LAN 1, with no static public IP B) a relay computer, with static public ...
Incömplete's user avatar
1 vote
1 answer
1k views

How to connect to mosh-server with ipv6 address using juicessh?

I've been trying to connect to my computer running a mosh-server via juicessh by way of ipv6. Everything starts up ok, it connects, then asks for a password. Then after that juicessh (mosh-client) ...
Petepf's user avatar
  • 53
1 vote
0 answers
3k views

MobaXTerm - cutting off lines on output larger than window sice - how to change this?

I am using mobaXTerm as my SSH/Mosh Client ... so far a handy tool. However on MOSH connections, when outputs longer than the screen size arrive, only the most recent lines are shown. If the amount of ...
haemse's user avatar
  • 192
3 votes
1 answer
3k views

UDP port appears in netstat but not in lsof?

After using Mosh, I noticed that UDP ports held by mosh-server were still in use after all processes exited. Running netstat -ln, it shows that these ports are in use: Active Internet connections ...
mxxk's user avatar
  • 371
5 votes
2 answers
3k views

Run startup command in mosh

I'd like to run some startup command after login via mosh. With ssh, I'd do it as: ssh server -t 'some startup command' But, when I'm doing similar in mosh, I'm getting: $ mosh elisa2 --ssh="ssh -t ...
sygi's user avatar
  • 171
2 votes
1 answer
598 views

Arrow keys don't work when using mosh remote shell

How can I get vim arrow keys to work inside a mosh shell? They used to work for me but after upgrading something (mosh probably) it's broken. Arrow keys don't work mosh 1.2.6 remote shell vim 7.4 ...
Sridhar Sarnobat's user avatar
8 votes
1 answer
6k views

How can I do the job of .ssh keys with mosh?

I'm looking at migrating from ssh + screen to mosh, and I was wondering what (if any) ways of using mosh can satisfy a use case of securely shelling in to a remote server without typing out ...
Christos Hayward's user avatar
9 votes
5 answers
10k views

How to fix "Did not find mosh server startup message." when connecting from OS X to Linux router?

I did install Mosh on (1) a Mac OS X 10.9.5 machine, (2) a Debian 8 VM, and (3) as Entware-ng package on a router that runs an embedded Linux. Mosh connection from Mac (1) to (2) Debian is ok. Mosh ...
Pro Backup's user avatar
0 votes
1 answer
107 views

Is there a way to pause mosh from 3 second UDP updates?

Is there a way to pause mosh in a Cygwin installation? I think it's causing an excessive battery drain for my AndroidAP phone, since it's designed to be sending packets every 3 seconds, which is not ...
cnst's user avatar
  • 2,465
9 votes
1 answer
3k views

How can I mosh over multiple hops (for example, via tunnel or ProxyCommand)?

I have a system that I can only access via multiple ssh logins. I recently found out about using ProxyCommand or SSH tunnels to make the connection transparently. Is it possible to mosh instead, and ...
lofidevops's user avatar
  • 1,328