systemd-nspawn: invalid option -- 'c' #899

Closed
jonboulle opened this Issue Oct 1, 2015 · 3 comments

Comments

Projects
None yet
5 participants
@jonboulle

Issue by rbucker
Saturday May 16, 2015 at 13:48 GMT
Originally opened as https://github.com/coreos/toolbox/issues/17


I'm not a fan of 'mosh', however, mosh might fill a gap. cutting to the quick: The connection between my desktop(chromebook) and my development server (CoreOS running on GCE) is not reliable. Regardless of whether it's my network or because I'm moving between job sites. (have you ever seen those people who walk around with their laptops open as they go from one meeting to another?

I've logged into my CoreOS as a toolbox user. (a) only one toolbox connection at a time... probably need to launch an ssh server too (b) when I lose my connection I also lose the toolbox session. I strongly disagree with the security claims that the mosh team makes and while it's not worse than ssh it might help with the connection stuff. (unless toolbox was meant to be extremely transient)

When I launched my mosh session from my chromebook I got this:

Trying authentication type Password
Password:
Bad response when running mosh-server: 'systemd-nspawn: invalid option -- 'c'

@brycechesternewman

This comment has been minimized.

Show comment
Hide comment
@brycechesternewman

brycechesternewman Feb 18, 2016

Howdy,
Was there a solution to this or is there a work around?
Steps to reproduce..

  1. I setup a toolbox on coreos 835.10.0 via instructions in https://coreos.com/os/docs/latest/install-debugging-tools.html
  2. yum install wireshark in toolbox session.
  3. setup a user called bob via instructions https://coreos.com/os/docs/latest/install-debugging-tools.html
  4. run locally ssh bob@10.21.145.208 "tshark -s0 -w - 'port 8080'" | wireshark -k -i -
    bob@10.211.145.208's password:
    systemd-nspawn: invalid option -- 'c'

Howdy,
Was there a solution to this or is there a work around?
Steps to reproduce..

  1. I setup a toolbox on coreos 835.10.0 via instructions in https://coreos.com/os/docs/latest/install-debugging-tools.html
  2. yum install wireshark in toolbox session.
  3. setup a user called bob via instructions https://coreos.com/os/docs/latest/install-debugging-tools.html
  4. run locally ssh bob@10.21.145.208 "tshark -s0 -w - 'port 8080'" | wireshark -k -i -
    bob@10.211.145.208's password:
    systemd-nspawn: invalid option -- 'c'
@paralin

This comment has been minimized.

Show comment
Hide comment

paralin commented Apr 20, 2017

Any fix?

@dm0-

This comment has been minimized.

Show comment
Hide comment
@dm0-

dm0- Apr 20, 2017

Member

I've submitted a fix at coreos/toolbox#39.

Member

dm0- commented Apr 20, 2017

I've submitted a fix at coreos/toolbox#39.

@dm0- dm0- self-assigned this Apr 20, 2017

@dm0- dm0- referenced this issue in coreos/coreos-overlay Apr 21, 2017

Merged

app-admin/toolbox: bump for the SSH login shell fix #2533

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment