Open simonwjackson opened 9 months ago
-bash-5.2$ echo $PATH /data/data/com.termux.nix/files/home/.nix-profile/bin:/usr/bin:/bin:/usr/sbin:/sbin:/nix/store/3fjf1amhwdnd0cxq9rd05g4g2w0z3nc1-openssh-9.3p2/bin
Is that $PATH
in the app or after ssh'ing in? Do they differ? How was SSH configured?
I'm having an issue connecting to mosh (Laptop -> nix-on-droid) but ssh works without issue. Here is what I've tried so far.
Investigation
SSH connects:
Mosh fails to connect:
Mosh appears to be in my path:
Where is the mosh binary?
Workaround
Mosh connects with full path to
mosh-server
:Mosh connects with full path to symbolic link (in path) of
mosh-server
:Client (laptop) configs
~/.ssh/config
(client, laptop)Nix-on-droid configs
~/.ssh/sshd_config
(nix-on-droid).bash_profile
(generated).profile
(generated).bashrc
(generated)