nder
January 6th, 2005, 04:17 PM
I installed openssh-server last night and everything seemed to be fine. I could connect to my machine from my home lan. However, once I try an external connection (I tried connecting back to my box using my external IP address) I get an access denied when I enter my password. It asks for my username and password (which I have entered correctly) and then I get access denied.
My Router's NAT has been configured to place my computer in the DMZ, so everything gets through to it. My software firewall (Firestarter) has been configured to allow SSH (on port 22) and the rules have been applied. When I do a port scan (from work) the port is reported as open (not filtered).
I am trying to connect from work right now on a Windows 2000 box using PuTTY. When I first attempeted a connection it warned me about the absense of the public key and I told it to get it which it did. Then I tried login and it failed.
So I've got a couple of questions:
1. Does that fact that it asked me for my key and then prompted me to login mean that I am in fact connecting to my box (i.e. I do not have a firewall issue)
2. If I am in fact connecting to my box, why is my login failing for my user account? The account I am using the the one I setup when installing. It has a password, and its the one I sudo from. I can connect using this account when doing a loopback connection.
3. Do the host files (hosts, hosts.allow, hosts.deny) have anything to do with connecting to the SSH server from outside? If so, what changes do I need to make to them?
My Router's NAT has been configured to place my computer in the DMZ, so everything gets through to it. My software firewall (Firestarter) has been configured to allow SSH (on port 22) and the rules have been applied. When I do a port scan (from work) the port is reported as open (not filtered).
I am trying to connect from work right now on a Windows 2000 box using PuTTY. When I first attempeted a connection it warned me about the absense of the public key and I told it to get it which it did. Then I tried login and it failed.
So I've got a couple of questions:
1. Does that fact that it asked me for my key and then prompted me to login mean that I am in fact connecting to my box (i.e. I do not have a firewall issue)
2. If I am in fact connecting to my box, why is my login failing for my user account? The account I am using the the one I setup when installing. It has a password, and its the one I sudo from. I can connect using this account when doing a loopback connection.
3. Do the host files (hosts, hosts.allow, hosts.deny) have anything to do with connecting to the SSH server from outside? If so, what changes do I need to make to them?