Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Use docker-machine to start rancheros, can not login after switching to alpine console. #2210

@kingsd041

Description

@kingsd041

RancherOS Version: (ros os version)
v1.1.3-rc1
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
docker-machine
Steps to Reproduce:

  1. I use the docker-machine to start rancheros and switch the alpine console
# docker-machine create -d virtualbox --virtualbox-boot2docker-url rancheros.iso ros-1
# ros console switch alpine
  1. Login to rancheros using docker-machine ssh ros-1
    Results:
    Login failed, return "exit status 255"
# docker-machine ssh ros-1
exit status 255

I can see the error in syslog:

Jan  5 13:25:10 ros-1 sshd[1976]: rexec line 133: Deprecated option ServerKeyBits
Jan  5 13:25:10 ros-1 sshd[1976]: User docker not allowed because account is locked
Jan  5 13:25:10 ros-1 sshd[1976]: Connection closed by invalid user docker 10.0.2.2 port 65522 [preauth]
Jan  5 13:25:11 ros-1 agetty[1978]: ttyS0: failed to get terminal attributes: I/O error
Jan  5 13:25:11 ros-1 agetty[1979]: ttyS1: failed to get terminal attributes: I/O error
Jan  5 13:25:11 ros-1 kernel: [ 1065.744805] ttyS ttyS0: tty_port_close_start: tty->count = 1 port count = 2
Jan  5 13:25:11 ros-1 kernel: [ 1065.745275] ttyS ttyS1: tty_port_close_start: tty->count = 1 port count = 2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions