Jump to content

FreeSSHd Denies Connection


dylanwinn
 Share

Recommended Posts

*I know this has come up before, but it was never resolved*

I've been trying to setup an SSH tunnel, but I get an "password denied" error every time I try to connect, whether from the same box or a different box, on the lan or on the internet. Before you start making me look stupid:

* password is correct

* same issue no matter the auth method

* firewall is not blocking ports

* ports are forwarded

* ISP is not blocking port

* I have multiple other types of servers running on the same PC

* Server and client are on different PCs

* Same issue on LAN & WAN

* Same issue on Windows & Linux

* Same issue running server as Service or Not Service

* Tried Reinstall already

* Just reinstalled Windows

* Running XP SP3

Link to comment
Share on other sites

'reinstalled windows'? god dayum, how the other half lives eh?

I would check that you actually have the 'server' portion of ssh on your box. I believe for windows you can get programs that can just connect to an ssh box but not receive a connection. If this is the case I would just install cgywin's port of openSSH. It's what the cool kids use. ;)

Give that a go.

Link to comment
Share on other sites

Should have clarified that.

I'm running Windows XP SP3 on my home server (I know...), which is running the FreeSSHd Server.

I'm trying to connect using the built in SSH client on my Ubuntu-running notebook.

I get password denied no matter what password I use, even if I'm on the lan.

Yes, I am using the correct username.

Link to comment
Share on other sites

My setup used OpenSSH back in the day, freeSSHd always seemed to have problems but I haven't tried it in a long time. When you set up SSH, did you create the ssh crypto keys, and user groups for SSH logins?

Link to comment
Share on other sites

Yep, I have the server setup to use Public Key 128 bit RSA encryption, and I have one user, which uses a password stored as a HA1 Hash.

However, it won't work no matter how I setup the server.

This is very annoying, as FreeSSHd worked fine before I reinstalled Windows.

Are there any other good Windows SSH servers?

P.S. When I installed the server, I was not asked to permit or deny it to listen for WAN connections. This may be because I installed it as a service, but I'm not sure.

Link to comment
Share on other sites

copSSH is good. It's one of the bits of software i've implemented at work. Once installed you have to activate each user. Really simple to do. Perhaps it is this 'activation' that you need with freeSSH?

Link to comment
Share on other sites

Tried copSSH it gives me a similar error:

Permission denied (publickey,password,keyboard-interactive).

Is there a possibility that I am entering the password wrong? Could someone explain the process of setting up authentication for me?

Link to comment
Share on other sites

Tried copSSH it gives me a similar error:

snippage

mmm that's weird. The reason why I used this is because the program is basically one-click install.

Have you activated the user you are connecting as? It's in the copSSH start menu items.

Also try turning off the microsoft program protection thing. Can't remember what it is called, dsp? Can a windows-bod correct me on that?

Switch off the windows firewall.

Try connecting to localhost.

Try connecting to the w2k3 machine lan address. i.e 192.168.0.50

Link to comment
Share on other sites

You say the port is forwarded(at the router I assume), but is the port open on the firewall itself? What firewall are you using, Windows built in or third party? Try turning off the firewall(s) and see if you get the same errors.

Can't remember what it is called, dsp?
I believe you are talking about DEP (Data Execution Prevention). Unless you turn it on for all programs, it only limits certain ones defined by Microsoft. By default, its not turned on for all programs, although I have mine turned on for all, I know it does block certain programs from being able to go online for some reason, so might be worth a look if you turned it on for everything.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...