Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mosh-client(1) [debian man page]

MOSH(1) 						      General Commands Manual							   MOSH(1)

mosh-client - client-side helper for mosh SYNOPSIS
MOSH_KEY=KEY mosh-client IP PORT mosh-client -c DESCRIPTION
mosh-client is a helper program for the mosh(1) remote terminal application. mosh itself is a setup script that establishes an SSH connection, runs the server-side helper mosh-server, and collects the server's port number and session key. mosh then executes mosh-client with the server's IP address, port, and session key. mosh-client runs for the lifetime of the connection. The 22-byte base64 session key given by mosh-server is supplied in the MOSH_KEY environment variable. This represents a 128-bit AES key that protects the integrity and confidentiality of the session. For constructing new setup wrappers for remote execution facilities other than SSH, it may be necessary to invoke mosh-client directly. With the -c option, mosh-client instead prints the number of colors of the terminal given by the TERM environment variable. SEE ALSO
mosh(1), mosh-server(1). Project home page: AUTHOR
mosh was written by Keith Winstein <>. BUGS
Please report bugs to Users may also subscribe to the mailing list, at February 2012 MOSH(1)

Check Out this Related Man Page

MOSH(1) 						      General Commands Manual							   MOSH(1)

mosh-server - server-side helper for mosh SYNOPSIS
mosh-server new [-s] [-v] [-i IP] [-p port] [-c colors] [-- command...] DESCRIPTION
mosh-server is a helper program for the mosh(1) remote terminal application. mosh-server binds to a high UDP port and chooses an encryption key to protect the session. It prints both on standard output, detaches from the terminal, and waits for the mosh-client to establish a connection. It will exit if no client has contacted it within 60 seconds. By default, mosh-server binds to a port between 60000 and 61000 and executes the user's login shell. On platforms with utempter, mosh-server maintains an entry in the utmp(5) file to indicate its process ID, whether the session is con- nected, and the client's current IP address. mosh-server exits when the client terminates the connection. OPTIONS
The argument "new" must be first on the command line to use command-line options. -s bind to the local interface used for an incoming SSH connection, given in the SSH_CONNECTION environment variable (for multihomed hosts) -v Print some debugging information even after detaching. -i IP IP address of the local interface to bind (for multihomed hosts) -p PORT UDP port number to bind -c COLORS Number of colors to advertise to applications through TERM (e.g. 8, 256) -l NAME=VALUE Locale-related environment variable to try as part of a fallback environment, if the startup environment does not specify a charac- ter set of UTF-8. EXAMPLE
$ mosh-server MOSH CONNECT 60001 UAkFedSsVJs2LfMeKyQB5g mosh-server (mosh 1.1) [...] (copyright notice omitted) [mosh-server detached, pid = 20443] SEE ALSO
mosh(1), mosh-client(1). Project home page: AUTHOR
mosh was written by Keith Winstein <>. BUGS
Please report bugs to Users may also subscribe to the mailing list, at February 2012 MOSH(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Open Source or Freeware SSH client?

I need a decent SSH client which has column selection capabilities. The one I'm using now is about to expire. Its called IVT secure access. (3 Replies)
Discussion started by: nuggetz
3 Replies

2. UNIX for Dummies Questions & Answers

socket programming : client server IPC

I'm new to socket programming. Have a basic doubt. I have a structure(global) at the server side. I have two different client connecting to the server. Will the changes made by one client on the structure be visible to the other client when it accesses the same client? I'm creating a STREAM... (3 Replies)
Discussion started by: abc.working
3 Replies

3. IP Networking

ip address of a client

A client(PC) connects to an unix server via terminal emulator. How can I obtain that client's IP address? The unix server is an old SVR4.2 (NCR) and the "who" command does not show ip addresses. I need a command or a shell script or a C/C++ program that will help me to obtain the client's... (6 Replies)
Discussion started by: ka2d2
6 Replies

4. Programming

Server client program

hi guys, I need the code for a server client registration form.The server must ask for authentication .Then the client would send in data. This is stored in a file .The server sends back a receipt to the client as part of the payment done. plz can some 1 get me the code... (9 Replies)
Discussion started by: pip3r
9 Replies

5. Programming

windows to dos file name conversion x'ad'

We are running a java client server application on Solaris 10. External Users from around the country attach windows files through a client and these files are stored on a unix server. Recently I've started getting files that have a hex value of ad in their names. This causes a tar command to... (5 Replies)
Discussion started by: gillbates
5 Replies

6. Programming

Optimizing frequent file transfer?

Hi I have written a simple client/server(socket programming) application using TCP/IP. My server code runs on Linux and client is on windows. The concept is that the client request for files(on demand basis) to the server and the server sends it back to the client. As the client is attached to... (3 Replies)
Discussion started by: akilan
3 Replies

7. IP Networking

Access Unix server over the Internet

:(:confused: i am going to ask a silly question. is it possible to setup a unix server at home. once i have setup successfully, can i provide access to that server via internet. i do not have any commercial intent, behind this. (3 Replies)
Discussion started by: sudhiroracle
3 Replies

8. Programming

divide one string into two string [c or c++, better in c]

Hello everybody... I'm new in this forum , and sorry if my english isn't very good! I must create a client server application... and my problem is: when the client connects to the server the first time, he has to register with a user name and a password! The client sends username and password in... (6 Replies)
Discussion started by: italian_boy
6 Replies

9. Red Hat

Free SSH Client other than PUTTY

Is there any Better FREE SSH client similar to Secure CRT ? We are working on cluster db servers. PROD/DEV/UAT/QA/TEST server hostnames are just one letter differences. it always confuse me to which one I am logging in. So I am looking for a free SSH client, for windows where I can store... (4 Replies)
Discussion started by: johnveslin
4 Replies

10. UNIX for Dummies Questions & Answers

PAM closing SSH session

Hello guys, You are my last hope. I googled for hours and tried so many things but I can't find a way to fix my problem. So there we go: I open a SSH tunnel to my linux vps. My client sends every 5-minutes a keepalive package and I also set the "ClientAliveInterval" value to 300 in the... (8 Replies)
Discussion started by: iamanewb
8 Replies

11. Solaris

Putty SSH connection not working

I am trying to connect to a solaris server using putty from a indows client. SSH connection is not working. The terminal indow just gives an error message "Network error:Connection refused". I verified SSHD and its running correctly! #svcs -p ssh STATE STIME FMRI online 17:54:44... (3 Replies)
Discussion started by: herbich1985
3 Replies

12. Shell Programming and Scripting

Record and re-use keystrokes

We have a FORTRAN program that creates a report for our client. The client makes a number of selections as to what will appear on the report. However, the client has to repeat this everytime the report is run. I am trying to find a way to record what they've selected (their keystrokes) in UNIX and... (22 Replies)
Discussion started by: KathyB148
22 Replies

13. UNIX for Dummies Questions & Answers

Script that tries to connect via SSH till connection is up

Hey, I need a script that tries to connect via SSH to a remote server and that remote server might not be up yet, so retry until succeed the error message I get if the server is not up yet is: ssh: connect to host port 40001: Connection refused any idea of a good way to do it ? ... (5 Replies)
Discussion started by: OdedOvdat
5 Replies

14. UNIX for Dummies Questions & Answers

Passwordless SSH works, scp does not

I know the "how to setup passwordless SSH" question is asked probably 5 times a week. I know how to setup passwordless SSH, it's not tough, however after reinstalling linux on my server, I found a problem. I could SSH into my server just fine, no password required, however SCP still required a... (4 Replies)
Discussion started by: corrado33
4 Replies

15. IP Networking

Unable to SSH from Windows client to Ubuntu Server

I'm trying to setup a small home network environment as a pet project. These are physical machines nothing virtual. Any help or ideas is greatly appreciated. I can ping between both machines and I have Samba established and can read/write different shares. When I try to SSH from Windows 8.1... (10 Replies)
Discussion started by: lombardi4851
10 Replies

Featured Tech Videos