Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Access not granted for user '...'.

Got problems with your B2 or B3? Share and get helped!
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

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

Post 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
nader
Posts: 7
Joined: 25 Feb 2010, 12:10

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

Post 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.
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

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

Post 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.
cheers
Eek
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

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

Post 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)
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

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

Post by Cheeseboy »

Port of the beast? :-)
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

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

Post by Ubi »

Yes. Here be dragons.
Post Reply