运行RancherOS时,我可以ssh进入计算机。
但是要融入其中要复杂得多。
回到ubuntu的世界中,我只能apt-get install mosh
,但是显然Rancher无法做到这一点。
当我尝试运行mosh-server new
时,我得到:
MOSH CONNECT 60001 hNM9E6YQ0+h0+HAiFnntPQ
Warning: SSH_CONNECTION not found; binding to any interface.
mosh-server (mosh 1.3.2) [build mosh 1.3.2]
Copyright 2012 Keith Winstein <mosh-devel@mit.edu>
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
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 = 7]
有什么想法像sshd一样如何使mosh在牧场主内运行(而不是在牧场主的容器内运行)?