使Mosh在RancherOS内部工作的正确方法是什么?

时间:2018-12-20 01:10:12

标签: docker ssh rancher mosh rancheros

运行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在牧场主内运行(而不是在牧场主的容器内运行)?

0 个答案:

没有答案