Questions tagged [mosh]

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

Does its key-exchange over SSH, but emulates a local tty to enable underlining of characters have not done the client-server round trip yet. This is useful for high-RTT links, as it can be frustrating to type without echoing.

After the key-exchange, Mosh uses UDP and will maintain the session, even after connecting from a difference interface with a different IP that what was used for initiating the session.

15 questions
9
votes
4 answers

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 connection from (1) Mac to (3) Linux embedded…
Pro Backup
  • 519
  • 1
  • 7
  • 23
8
votes
1 answer

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 if so, how?
lofidevops
  • 1,308
  • 4
  • 18
  • 41
8
votes
1 answer

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 credentials like a password. (If it matters, I am trying to…
Christos Hayward
  • 941
  • 7
  • 22
  • 43
4
votes
0 answers

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 because when finding the spot to edit you can't use…
4
votes
2 answers

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 'cat blah'" Pseudo-terminal will not be…
sygi
  • 161
  • 7
2
votes
1 answer

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 ask whether to suspend, kill or repeat the key to…
Kuntau
  • 123
  • 4
2
votes
1 answer

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 Proto Recv-Q Send-Q Local Address Foreign…
mxxk
  • 331
  • 3
  • 10
2
votes
1 answer

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 ubuntu 14.04 Workaround :set…
Sridhar Sarnobat
  • 1,395
  • 2
  • 13
  • 25
1
vote
0 answers

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" --profile-directory=Default \ …
Petr
  • 3,031
  • 7
  • 27
  • 45
1
vote
1 answer

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) fails, it comes back with "bad ip address" and…
Petepf
  • 53
  • 1
  • 7
1
vote
0 answers

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 lines is larger than the screen height, the…
haemse
  • 182
  • 3
  • 14
0
votes
1 answer

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 very helpful when the mosh window is minimised and…
cnst
  • 2,435
  • 6
  • 28
  • 45
0
votes
1 answer

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.org/#getting points to using a Chrome…
Petr
  • 3,031
  • 7
  • 27
  • 45
0
votes
2 answers

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 - Remote charset : en_FI.UTF-8 -…
appas
  • 113
  • 5
0
votes
2 answers

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 IP C) my laptop, sitting behind LAN 2 (!= LAN 1),…