Skip to content
This repository has been archived by the owner on Sep 25, 2022. It is now read-only.

mosh Permission denied publickey #2

Open
christopherwoo opened this issue Mar 9, 2018 · 4 comments
Open

mosh Permission denied publickey #2

christopherwoo opened this issue Mar 9, 2018 · 4 comments

Comments

@christopherwoo
Copy link

I got something like:
The ECDSA host key for XXX has changed
How to fix it?

@JAremko
Copy link
Owner

JAremko commented Mar 15, 2018

@christopherwoo Try adding -o StrictHostKeyChecking=no to --ssh="..." part.
Cleaning $HOME/.ssh/known_hosts may be required.

@nfedyashev
Copy link

mosh --ssh="ssh -o StrictHostKeyChecking=no -p 62222" -- developer@172.17.0.2 tmux -u                                master 
Warning: Permanently added '[172.17.0.2]:62222' (ECDSA) to the list of known hosts.
developer@172.17.0.2: Permission denied (publickey).
/bin/mosh: Did not find mosh server startup message. (Have you installed mosh on your server?)

@JAremko Hi. Can you please give me a hint on what may fix this warning? Not sure where to start looking, haven't used mosh in the past

@JAremko
Copy link
Owner

JAremko commented Oct 20, 2019

@nfedyashev try mosh --ssh="ssh -v -o StrictHostKeyChecking=no -p 62222" -- developer@172.17.0.2 tmux -u it will give you more verbose log. But so far looks like the server doesn't have pub key of the client.

@nfedyashev
Copy link

@JAremko thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants