Page 2 of 2

Re: Access not granted for user '...'.

Posted: 24 Jun 2011, 21:35
by Cheeseboy
Hi Nader,

This is just a hunch:
Look into ~/.ssh/config or /etc/ssh/ssh_config and the AddressFamily directive.
The man page (ssh_config(5)) doesn't tell which one is default, but I can imagine it defaults to IPv4 only...
Your auth.log message shows a IPv6 address.

Cheers,

Cheeseboy

Re: Access not granted for user '...'.

Posted: 25 Jun 2011, 03:41
by nader
Finally I figured it out. My remote IP was in fact listed in the /etc/hosts.deny, interesting enough, each attempt was logged in auth.log too.

Re: Access not granted for user '...'.

Posted: 25 Jun 2011, 03:51
by Eek
Did you open the ssh port in the firewall?
You might also consider moving the port from 22 to another number, say 2222
As a lot of people are searching for port 22 and trying to break in.

Re: Access not granted for user '...'.

Posted: 25 Jun 2011, 16:36
by Ubi
moving the port is a good idea, but moving it to a number over 1024 enables spoofing by local users. Port 666 is a very good alternative (Doom port)

Re: Access not granted for user '...'.

Posted: 25 Jun 2011, 16:40
by Cheeseboy
Port of the beast? :-)

Re: Access not granted for user '...'.

Posted: 25 Jun 2011, 17:39
by Ubi
Yes. Here be dragons.