How to fix “Did not find mosh server startup message.” when connecting from OS X to Linux router?How do I...
Am I not good enough for you?
When were linguistics departments first established
How is the Swiss post e-voting system supposed to work, and how was it wrong?
Word for a person who has no opinion about whether god exists
Plywood subfloor won't screw down in a trailer home
What to do when during a meeting client people start to fight (even physically) with each others?
Straight line with arrows and dots
Is having access to past exams cheating and, if yes, could it be proven just by a good grade?
Heap & Stack Java
Unreachable code, but reachable with exception
Are there situations where a child is permitted to refer to their parent by their first name?
Do I need to leave some extra space available on the disk which my database log files reside, for log backup operations to successfully occur?
Decoding assembly instructions in a Game Boy disassembler
Best mythical creature to use as livestock?
Make a transparent 448*448 image
Best approach to update all entries in a list that is paginated?
If the Captain's screens are out, does he switch seats with the co-pilot?
Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?
How to discourage/prevent PCs from using door choke-points?
How to make readers know that my work has used a hidden constraint?
Coworker uses her breast-pump everywhere in the office
Latest web browser compatible with Windows 98
Confusion with the nameplate of an induction motor
validation vs test vs training accuracy, which one to compare for claiming overfit?
How to fix “Did not find mosh server startup message.” when connecting from OS X to Linux router?
How do I create a wireless linux router from a spare server?new PC not work with existing router, but works fine when directly connecting to cable modemMac updated just now, postgres now brokencannot connect to OpenWrt router via switchConnecting to openvpn server from linux command lineNot getting internet when multiple devices are connected to router when connecting for first timePort forward not working from modem to router to serverHow to use my own router as DHCP server when ISP modem router does not support bridge?Not able to setup DDNS in the wireless routerhow to fix routing configuration in cisco packet tracer? (accessing Web server with DNS & 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 router fails with the message:
/usr/local/bin/mosh: Did not find mosh server startup message.
Environment:
- Mosh version on the Mac is 1.2.5.
- All machines are configured to ssh login with certificates.
- Mac OS X shell is zsh.
/usr/local/binis in the $PATH of the Mac OS X- Mac Terminal application is iTerm 2.1.4
- Debian 8 is running in a 10.x pvm_nat LAN: parallels virtual machine with shared networking, that Parallels runs on the same Mac.
- Command used to connect to Debian
$ mosh username@10.x.x.x
- Router rt-n56u is running at IP 192.168.x using a cabled LAN
- Command to connnect from Mac to router is:
$ mosh username@192.168.x.x
- Linux router is running Padavan firmware RT-N56U_3.4.3.9-099_base.trx
Regression
- I did try to disable the Little Snitch firewall on the Mac with no improvement, still:
/usr/local/bin/mosh: Did not find mosh server startup message.
- I did also try to start a debug session using:
$ ssh -S none -o ProxyCommand='mosh --fake-proxy -- %h %p' -n -tt user@192.168.x.x -- 'mosh-server new'MOSH IP 192.168.x.xConnection to 192.168.x.x closed.
- I commented out
SendEnvon the Mac:$ cat /etc/ssh_config | grep SendEnv# SendEnv LANG LC_*
- I have tried to disable the firewall on the router, which doesn't make any difference:
/usr/local/bin/mosh: Did not find mosh server startup message.
The rt-n56u log displays this:
May 3 00:42:15 dropbear[819]: Child connection from 192.168.x.y:50824
May 3 00:42:17 dropbear[819]: Pubkey auth succeeded for 'username' with key md5 2c:...:94 from 192.168.x.y:50824
May 3 00:42:18 dropbear[820]: ioctl(TIOCSCTTY): Input/output error
May 3 00:42:18 dropbear[820]: /dev/pts/0: No such file or directory
May 3 00:42:18 dropbear[820]: open /dev/tty failed - could not set controlling tty: No such device or address
May 3 00:42:18 dropbear[819]: Exit (username): Disconnect received
On the rt-n56u:
# ls -l /dev/pts/*
crw--w--w- 1 username root 136, 0 May 3 00:45 /dev/pts/0
# ls -l /dev/tty
crw-rw---- 1 username root 5, 0 Jan 1 2015 /dev/tty
What can be done to fix the mosh connection from this Mac to rt-n56u router?
linux networking macos router mosh
add a comment |
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 router fails with the message:
/usr/local/bin/mosh: Did not find mosh server startup message.
Environment:
- Mosh version on the Mac is 1.2.5.
- All machines are configured to ssh login with certificates.
- Mac OS X shell is zsh.
/usr/local/binis in the $PATH of the Mac OS X- Mac Terminal application is iTerm 2.1.4
- Debian 8 is running in a 10.x pvm_nat LAN: parallels virtual machine with shared networking, that Parallels runs on the same Mac.
- Command used to connect to Debian
$ mosh username@10.x.x.x
- Router rt-n56u is running at IP 192.168.x using a cabled LAN
- Command to connnect from Mac to router is:
$ mosh username@192.168.x.x
- Linux router is running Padavan firmware RT-N56U_3.4.3.9-099_base.trx
Regression
- I did try to disable the Little Snitch firewall on the Mac with no improvement, still:
/usr/local/bin/mosh: Did not find mosh server startup message.
- I did also try to start a debug session using:
$ ssh -S none -o ProxyCommand='mosh --fake-proxy -- %h %p' -n -tt user@192.168.x.x -- 'mosh-server new'MOSH IP 192.168.x.xConnection to 192.168.x.x closed.
- I commented out
SendEnvon the Mac:$ cat /etc/ssh_config | grep SendEnv# SendEnv LANG LC_*
- I have tried to disable the firewall on the router, which doesn't make any difference:
/usr/local/bin/mosh: Did not find mosh server startup message.
The rt-n56u log displays this:
May 3 00:42:15 dropbear[819]: Child connection from 192.168.x.y:50824
May 3 00:42:17 dropbear[819]: Pubkey auth succeeded for 'username' with key md5 2c:...:94 from 192.168.x.y:50824
May 3 00:42:18 dropbear[820]: ioctl(TIOCSCTTY): Input/output error
May 3 00:42:18 dropbear[820]: /dev/pts/0: No such file or directory
May 3 00:42:18 dropbear[820]: open /dev/tty failed - could not set controlling tty: No such device or address
May 3 00:42:18 dropbear[819]: Exit (username): Disconnect received
On the rt-n56u:
# ls -l /dev/pts/*
crw--w--w- 1 username root 136, 0 May 3 00:45 /dev/pts/0
# ls -l /dev/tty
crw-rw---- 1 username root 5, 0 Jan 1 2015 /dev/tty
What can be done to fix the mosh connection from this Mac to rt-n56u router?
linux networking macos router mosh
add a comment |
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 router fails with the message:
/usr/local/bin/mosh: Did not find mosh server startup message.
Environment:
- Mosh version on the Mac is 1.2.5.
- All machines are configured to ssh login with certificates.
- Mac OS X shell is zsh.
/usr/local/binis in the $PATH of the Mac OS X- Mac Terminal application is iTerm 2.1.4
- Debian 8 is running in a 10.x pvm_nat LAN: parallels virtual machine with shared networking, that Parallels runs on the same Mac.
- Command used to connect to Debian
$ mosh username@10.x.x.x
- Router rt-n56u is running at IP 192.168.x using a cabled LAN
- Command to connnect from Mac to router is:
$ mosh username@192.168.x.x
- Linux router is running Padavan firmware RT-N56U_3.4.3.9-099_base.trx
Regression
- I did try to disable the Little Snitch firewall on the Mac with no improvement, still:
/usr/local/bin/mosh: Did not find mosh server startup message.
- I did also try to start a debug session using:
$ ssh -S none -o ProxyCommand='mosh --fake-proxy -- %h %p' -n -tt user@192.168.x.x -- 'mosh-server new'MOSH IP 192.168.x.xConnection to 192.168.x.x closed.
- I commented out
SendEnvon the Mac:$ cat /etc/ssh_config | grep SendEnv# SendEnv LANG LC_*
- I have tried to disable the firewall on the router, which doesn't make any difference:
/usr/local/bin/mosh: Did not find mosh server startup message.
The rt-n56u log displays this:
May 3 00:42:15 dropbear[819]: Child connection from 192.168.x.y:50824
May 3 00:42:17 dropbear[819]: Pubkey auth succeeded for 'username' with key md5 2c:...:94 from 192.168.x.y:50824
May 3 00:42:18 dropbear[820]: ioctl(TIOCSCTTY): Input/output error
May 3 00:42:18 dropbear[820]: /dev/pts/0: No such file or directory
May 3 00:42:18 dropbear[820]: open /dev/tty failed - could not set controlling tty: No such device or address
May 3 00:42:18 dropbear[819]: Exit (username): Disconnect received
On the rt-n56u:
# ls -l /dev/pts/*
crw--w--w- 1 username root 136, 0 May 3 00:45 /dev/pts/0
# ls -l /dev/tty
crw-rw---- 1 username root 5, 0 Jan 1 2015 /dev/tty
What can be done to fix the mosh connection from this Mac to rt-n56u router?
linux networking macos router mosh
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 router fails with the message:
/usr/local/bin/mosh: Did not find mosh server startup message.
Environment:
- Mosh version on the Mac is 1.2.5.
- All machines are configured to ssh login with certificates.
- Mac OS X shell is zsh.
/usr/local/binis in the $PATH of the Mac OS X- Mac Terminal application is iTerm 2.1.4
- Debian 8 is running in a 10.x pvm_nat LAN: parallels virtual machine with shared networking, that Parallels runs on the same Mac.
- Command used to connect to Debian
$ mosh username@10.x.x.x
- Router rt-n56u is running at IP 192.168.x using a cabled LAN
- Command to connnect from Mac to router is:
$ mosh username@192.168.x.x
- Linux router is running Padavan firmware RT-N56U_3.4.3.9-099_base.trx
Regression
- I did try to disable the Little Snitch firewall on the Mac with no improvement, still:
/usr/local/bin/mosh: Did not find mosh server startup message.
- I did also try to start a debug session using:
$ ssh -S none -o ProxyCommand='mosh --fake-proxy -- %h %p' -n -tt user@192.168.x.x -- 'mosh-server new'MOSH IP 192.168.x.xConnection to 192.168.x.x closed.
- I commented out
SendEnvon the Mac:$ cat /etc/ssh_config | grep SendEnv# SendEnv LANG LC_*
- I have tried to disable the firewall on the router, which doesn't make any difference:
/usr/local/bin/mosh: Did not find mosh server startup message.
The rt-n56u log displays this:
May 3 00:42:15 dropbear[819]: Child connection from 192.168.x.y:50824
May 3 00:42:17 dropbear[819]: Pubkey auth succeeded for 'username' with key md5 2c:...:94 from 192.168.x.y:50824
May 3 00:42:18 dropbear[820]: ioctl(TIOCSCTTY): Input/output error
May 3 00:42:18 dropbear[820]: /dev/pts/0: No such file or directory
May 3 00:42:18 dropbear[820]: open /dev/tty failed - could not set controlling tty: No such device or address
May 3 00:42:18 dropbear[819]: Exit (username): Disconnect received
On the rt-n56u:
# ls -l /dev/pts/*
crw--w--w- 1 username root 136, 0 May 3 00:45 /dev/pts/0
# ls -l /dev/tty
crw-rw---- 1 username root 5, 0 Jan 1 2015 /dev/tty
What can be done to fix the mosh connection from this Mac to rt-n56u router?
linux networking macos router mosh
linux networking macos router mosh
edited May 3 '16 at 12:05
Pro Backup
asked May 3 '16 at 7:40
Pro BackupPro Backup
3271622
3271622
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Check where the mosh-server binary is installed in the embedded Linux, and pass that path to the server option in your mosh command.
Suppose the mosh-server binary is installed in /usr/bin/ directory in the embedded Linux, then run mosh like:
$ mosh --server=/usr/bin/mosh-server username@192.168.x.x
add a comment |
Export LC_CTYPE to value of LANG(echo $LANG) of that of the mosh server.
2
Can you expand on how the OP would do this? Please take a look at How to Answer and take our tour.
– Burgi
Nov 22 '18 at 9:22
add a comment |
I hope this helps someone, i'm not an expert yet i solved this way:
My server is running Ubuntu 18.04 and my client is an iMac running Mojave.
- On the server y run:
$ echo $LANG
en_US.UTF-8
Then search the mosh-server path, it was on
/usr/bin/mosh-serverOn the Mac change the last line in
/etc/ssh/ssh_configtoSendEnv LANG en_US.UTF-8like the previus server output.The command i use for mosh is like this indicating the mosh-server path and ssh port:
$ mosh --server=/usr/bin/mosh-server user@host.domain.org --ssh="ssh -p XXXX"
New contributor
Noel Matías is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1072425%2fhow-to-fix-did-not-find-mosh-server-startup-message-when-connecting-from-os-x%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Check where the mosh-server binary is installed in the embedded Linux, and pass that path to the server option in your mosh command.
Suppose the mosh-server binary is installed in /usr/bin/ directory in the embedded Linux, then run mosh like:
$ mosh --server=/usr/bin/mosh-server username@192.168.x.x
add a comment |
Check where the mosh-server binary is installed in the embedded Linux, and pass that path to the server option in your mosh command.
Suppose the mosh-server binary is installed in /usr/bin/ directory in the embedded Linux, then run mosh like:
$ mosh --server=/usr/bin/mosh-server username@192.168.x.x
add a comment |
Check where the mosh-server binary is installed in the embedded Linux, and pass that path to the server option in your mosh command.
Suppose the mosh-server binary is installed in /usr/bin/ directory in the embedded Linux, then run mosh like:
$ mosh --server=/usr/bin/mosh-server username@192.168.x.x
Check where the mosh-server binary is installed in the embedded Linux, and pass that path to the server option in your mosh command.
Suppose the mosh-server binary is installed in /usr/bin/ directory in the embedded Linux, then run mosh like:
$ mosh --server=/usr/bin/mosh-server username@192.168.x.x
answered Jul 4 '16 at 2:52
jgomo3jgomo3
221212
221212
add a comment |
add a comment |
Export LC_CTYPE to value of LANG(echo $LANG) of that of the mosh server.
2
Can you expand on how the OP would do this? Please take a look at How to Answer and take our tour.
– Burgi
Nov 22 '18 at 9:22
add a comment |
Export LC_CTYPE to value of LANG(echo $LANG) of that of the mosh server.
2
Can you expand on how the OP would do this? Please take a look at How to Answer and take our tour.
– Burgi
Nov 22 '18 at 9:22
add a comment |
Export LC_CTYPE to value of LANG(echo $LANG) of that of the mosh server.
Export LC_CTYPE to value of LANG(echo $LANG) of that of the mosh server.
answered Nov 22 '18 at 9:19
user1618238user1618238
1
1
2
Can you expand on how the OP would do this? Please take a look at How to Answer and take our tour.
– Burgi
Nov 22 '18 at 9:22
add a comment |
2
Can you expand on how the OP would do this? Please take a look at How to Answer and take our tour.
– Burgi
Nov 22 '18 at 9:22
2
2
Can you expand on how the OP would do this? Please take a look at How to Answer and take our tour.
– Burgi
Nov 22 '18 at 9:22
Can you expand on how the OP would do this? Please take a look at How to Answer and take our tour.
– Burgi
Nov 22 '18 at 9:22
add a comment |
I hope this helps someone, i'm not an expert yet i solved this way:
My server is running Ubuntu 18.04 and my client is an iMac running Mojave.
- On the server y run:
$ echo $LANG
en_US.UTF-8
Then search the mosh-server path, it was on
/usr/bin/mosh-serverOn the Mac change the last line in
/etc/ssh/ssh_configtoSendEnv LANG en_US.UTF-8like the previus server output.The command i use for mosh is like this indicating the mosh-server path and ssh port:
$ mosh --server=/usr/bin/mosh-server user@host.domain.org --ssh="ssh -p XXXX"
New contributor
Noel Matías is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I hope this helps someone, i'm not an expert yet i solved this way:
My server is running Ubuntu 18.04 and my client is an iMac running Mojave.
- On the server y run:
$ echo $LANG
en_US.UTF-8
Then search the mosh-server path, it was on
/usr/bin/mosh-serverOn the Mac change the last line in
/etc/ssh/ssh_configtoSendEnv LANG en_US.UTF-8like the previus server output.The command i use for mosh is like this indicating the mosh-server path and ssh port:
$ mosh --server=/usr/bin/mosh-server user@host.domain.org --ssh="ssh -p XXXX"
New contributor
Noel Matías is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I hope this helps someone, i'm not an expert yet i solved this way:
My server is running Ubuntu 18.04 and my client is an iMac running Mojave.
- On the server y run:
$ echo $LANG
en_US.UTF-8
Then search the mosh-server path, it was on
/usr/bin/mosh-serverOn the Mac change the last line in
/etc/ssh/ssh_configtoSendEnv LANG en_US.UTF-8like the previus server output.The command i use for mosh is like this indicating the mosh-server path and ssh port:
$ mosh --server=/usr/bin/mosh-server user@host.domain.org --ssh="ssh -p XXXX"
New contributor
Noel Matías is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I hope this helps someone, i'm not an expert yet i solved this way:
My server is running Ubuntu 18.04 and my client is an iMac running Mojave.
- On the server y run:
$ echo $LANG
en_US.UTF-8
Then search the mosh-server path, it was on
/usr/bin/mosh-serverOn the Mac change the last line in
/etc/ssh/ssh_configtoSendEnv LANG en_US.UTF-8like the previus server output.The command i use for mosh is like this indicating the mosh-server path and ssh port:
$ mosh --server=/usr/bin/mosh-server user@host.domain.org --ssh="ssh -p XXXX"
New contributor
Noel Matías is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Noel Matías is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 15 mins ago
Noel MatíasNoel Matías
11
11
New contributor
Noel Matías is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Noel Matías is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Noel Matías is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1072425%2fhow-to-fix-did-not-find-mosh-server-startup-message-when-connecting-from-os-x%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown