CmdID

CmdID / Commands

mosh

Mobile Shell (mosh) is a robust and responsive replacement for SSH. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Mobile Shell (mosh) is a robust and responsive replacement for SSH. mosh persists connections to remote servers while roaming between networks.

Connect to a remote server

mosh username@remote_hostIdentify

Connect to a remote server with a specific identity (private key)

mosh --ssh="ssh -i path/to/key_file" username@remote_hostIdentify

Connect to a remote server using a specific port

mosh --ssh="ssh -p 2222" username@remote_hostIdentify

Run a command on a remote server

mosh remote_host -- command -with -flagsIdentify

Select Mosh UDP port (useful when remote_host is behind a NAT)

mosh -p 124 username@remote_hostIdentify

Connect to a remote server when the mosh-server binary is outside the standard path

mosh --server=path/to/mosh-server remote_hostIdentify