DockStation / dockstation

DockStation is developer-centric application to managing projects based on Docker. Instead of lots of CLI commands you can monitor, configure, and manage services and containers using just a GUI.
https://dockstation.io/
2.13k stars 106 forks source link

error all configured authentication methosds failed #321

Open enlinea777 opened 1 year ago

enlinea777 commented 1 year ago

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 commented 1 year ago

https://github.com/zodern/meteor-up/issues/974

jeff-h commented 1 year ago

@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 https://github.com/zodern/meteor-up/issues/974#issuecomment-1124494397 specifically.

enlinea777 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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.