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

error all configured authentication methosds failed #321

Open
enlinea777 opened this issue Dec 31, 2022 · 6 comments
Open

error all configured authentication methosds failed #321

enlinea777 opened this issue Dec 31, 2022 · 6 comments

Comments

@enlinea777
Copy link

enlinea777 commented Dec 31, 2022

the windows show this message error all configured authentication methods failed
but I am connected by ssh to the server with the private key
and when I try through the application it does not work

https://i.imgur.com/btbZX9N.png

my sshd_conf


Match User root 
	AllowTcpForwarding yes
	X11Forwarding yes
	PermitTunnel yes
	GatewayPorts yes
	AllowAgentForwarding yes
	PasswordAuthentication no
  PubkeyAuthentication yes 
@liucodeing
Copy link

zodern/meteor-up#974

@jeff-h
Copy link

jeff-h commented Apr 4, 2023

@liucodeing thanks so much for posting that! Finally I can use DockStation with my new VPS :) I must have spent hours trying to sort this out.

For others coming here, the solution is in zodern/meteor-up#974 (comment) specifically.

@enlinea777
Copy link
Author

ok, It works very well

but also remember to configure the ssh server well in my case

PubkeyAcceptedKeyTypes=+ssh-rsa
PermitOpen any

With these new lines I already have remote access

@jeff-h
Copy link

jeff-h commented Apr 5, 2023

Interesting, the only change I needed was to add the PubkeyAcceptedKeyTypes=+ssh-rsa line to my /etc/ssh/sshd_config file. It doesn't contain PermitOpen any.

@jeff-h
Copy link

jeff-h commented Apr 10, 2023

I just fresh installed a new server with Ubuntu Server 22.04 and it had the exact same issue. The fix above worked flawlessly again here.

I wonder if this should be in the docs or on the front page perhaps?

@enlinea777
Copy link
Author

exactly, it should be in a suggestion because most of us don't know.

Acabo de instalar un nuevo servidor con Ubuntu Server 22.04 y tenía exactamente el mismo problema. La solución anterior funcionó perfectamente de nuevo aquí.

Me pregunto si esto debería estar en los documentos o quizás en la página principal.

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

No branches or pull requests

3 participants