i finally ran mosh with ssh in verbose mode
master ➜ ~ mosh --ssh="ssh -vv" drew@newserver
lots of irrelevant output but it did have this
debug1: Sending command: mosh-server 'new' '-s' '-c' '8' '-l' 'LANG=en_US.UTF-8' '-l' 'LC_CTYPE=en_US.UTF-8'
debug2: channel 0: request exec confirm 1
well that looks ok... lets try to run it on the server
new server ➜ ~ mosh-server new -s -c8 -l LANG=en_US.UTF-8 -l LC_CTYPE=en_US.UTF-8
MOSH CONNECT 60001 GlRNWhTwTSQHoIirNIkLRw
mosh-server (mosh 1.2.4)
Copyright 2012 Keith Winstein
License GPLv3+: GNU GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
[mosh-server detached, pid = 19040]
but htop shows no mosh-server. What the hell? lets try that again with -v
MOSH CONNECT 60001 e8ctzUiQTAXIzes3eZj98g
mosh-server (mosh 1.2.4)Copyright 2012 Keith Winstein License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.
[mosh-server detached, pid = 19063]forkpty: Operation not permitted
there we go! first google result http://www.sourcediver.org/blog/2013/12/28/fixing-mosh-on-arch-linux/
new server ➜ ~ sudo usermod -aG tty drew
retry and it works. fuckin' 'ell now i can get back to work
No comments:
Post a Comment