this post was submitted on 20 Oct 2023
4 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I have two machines, one is Windows 11 and my server is running Debian 12. SSH has run fine on both machines up until recently. Whenever i try to SSH into my server, it will reject the password (which is undoubtedly correct), and after a few failed attempts it will give me an error that says "Permission denied (publickey,password)." I can SSH into the server completely fine on my other devices, so the problem has to lie within my Windows machine. Since I last used SSH, the only notable things that have happened were that I installed (and soon after uninstalled) the OpenSSH server for Windows, and yesterday an internet outage happened that left me without internet for a full day. This morning, the router was reset and I've ensured that both machines are connected.

If this is the wrong sub to be posting this on, I'd appreciate if someone were to kindly point me to a correct sub on which I could repost.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 11 months ago (1 children)

Is is possible that Windows passkey is being used? Did you remove all traces of the sshd install. Also if your using Windows Terminal try putty.

Note the order of "(publickey,password)". I'm gonna guess publickey is being used before password.

Certainly seems like a Windows (client) problem and not a server problem.

[โ€“] [email protected] 1 points 11 months ago

How would I go about removing the sshd install traces? I just used the powershell command for uninstalling the server that was provided in this page (but this wouldn't be the first time Microsoft has screwed me over.): https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse

I've tried putty, it hasn't worked.