Forrest logo
back to context overview

mosh

List of commands for mosh:

  • mosh:tldr:1e15c mosh: Connect to a remote server.
    $ mosh ${username}@${remote_host}
    try on your machine
    explain this command
  • mosh:tldr:2157a mosh: Select Mosh UDP port (useful when `{{remote_host}}` is behind a NAT).
    $ mosh -p ${124} ${username}@${remote_host}
    try on your machine
    explain this command
  • mosh:tldr:82afa mosh: Connect to a remote server using a specific port.
    $ mosh --ssh="ssh -p ${2222}" ${username}@${remote_host}
    try on your machine
    explain this command
  • mosh:tldr:8be6a mosh: Usage when `mosh-server` binary is outside standard path.
    $ mosh --server=${path-to-bin-}mosh-server ${remote_host}
    try on your machine
    explain this command
  • mosh:tldr:f638a mosh: Connect to a remote server with a specific identity (private key).
    $ mosh --ssh="ssh -i ${path-to-key_file}" ${username}@${remote_host}
    try on your machine
    explain this command
back to context overview