Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote host identification changes on reboot #2

Closed
TheRubeThing opened this issue Jan 29, 2020 · 3 comments
Closed

Remote host identification changes on reboot #2

TheRubeThing opened this issue Jan 29, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@TheRubeThing
Copy link

Issue Description

When rebooting the board using sudo poweroff and plugging the power back in. The message

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.

is displayed when trying to ssh to the board over ethernet or wifi.

Elk Audio OS version

v0.6.1

Raspberry Pi Model

RPi 3B+

How to reproduce

  • ssh to board with ssh mind@the.ip.of.the.board if it already hasn't been done.
  • shutdown the board with sudo poweroff and when fully turned of reboot by unplugging and replugging the power.
  • try to log in to the board with ssh again.
@TheRubeThing TheRubeThing added the bug Something isn't working label Jan 29, 2020
@stez-mind
Copy link
Contributor

Will be fixed in the next release.

Temporary workaround: edit (as sudo)
/etc/ssh/sshd_config

and comment out the last lines:

# HostKey /var/run/ssh/ssh_host_rsa_key
# HostKey /var/run/ssh/ssh_host_ecdsa_key
# HostKey /var/run/ssh/ssh_host_ed25519_key

@TheRubeThing
Copy link
Author

Thanks! The workaround works great!

@stez-mind
Copy link
Contributor

Solved properly in 0.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants