I have a new 9.0 installation currently with a working nfs server on it but now I want to get my ssh server working so I can log on from a far. I thought I followed the handbook correctly but now I can not connect. My client and server are connected to an internal wireless router. It gives the the error message:
I am trying to use a public key to log on only. My sshd_config settings are:
Before I had PasswordAuthentication and ChallengeResponseAuthentication set to 'no' it would always ask for a password and none worked and it would give me a PAM authentication error.
I have tried connecting from my user account on the server, and it gives me the same error. Any ideas?
Thanks in advance.
Code:
ssh: connect to host 192.168.2.1 port 22: Connection refused
I am trying to use a public key to log on only. My sshd_config settings are:
Code:
Port 22
Protocol 2
PermitRootLogin no
PasswordAuthentication no
ChallengeResponseAuthentication no
AllowUsers myosxusername@ipaddress serverusername@serveripaddress
Before I had PasswordAuthentication and ChallengeResponseAuthentication set to 'no' it would always ask for a password and none worked and it would give me a PAM authentication error.
I have tried connecting from my user account on the server, and it gives me the same error. Any ideas?
Thanks in advance.