public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] can't ssh w/out password as root into my gentoo box any more
  2007-02-26 23:44 [gentoo-user] can't ssh w/out password as root into my gentoo box any more Gabriel Rossetti
@ 2007-02-26 22:58 ` Duane Griffin
  2007-02-28 22:46   ` [gentoo-user] can't ssh w/out password as root into my gentoo box any more - SOLVED Gabriel Rossetti
  2007-02-26 23:15 ` [gentoo-user] can't ssh w/out password as root into my gentoo box any more Mick
  1 sibling, 1 reply; 6+ messages in thread
From: Duane Griffin @ 2007-02-26 22:58 UTC (permalink / raw
  To: gentoo-user

On 26/02/07, Gabriel Rossetti <rossettigab@charter.net> wrote:
> Hello,
>
> I had setup password-less ssh login for a backup process from another
> machine (FreeBSD) and all was working well, but for some reason it no
> longer works anymore, I tried to redo everything, but still no luck. I
> also tried as a regular user and it works fine. I tried to add :
>
> PermitRootLogin without-password
> PubkeyAuthentication yes
>
> (the second seems useless since it works for non-root users)
> but still no luck, any ideas anyone?

Check the logs on the server. Run ssh with -vvv to see what it is
trying. Check permissions on ~/.ssh and its contents. If all that
fails try running sshd in debug mode to get more diagnostics out.

Cheers,
Duane.

-- 
"I never could learn to drink that blood and call it wine" - Bob Dylan
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] can't ssh w/out password as root into my gentoo box any more
  2007-02-26 23:44 [gentoo-user] can't ssh w/out password as root into my gentoo box any more Gabriel Rossetti
  2007-02-26 22:58 ` Duane Griffin
@ 2007-02-26 23:15 ` Mick
  2007-02-28 18:30   ` Gabriel Rossetti
  1 sibling, 1 reply; 6+ messages in thread
From: Mick @ 2007-02-26 23:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

On Monday 26 February 2007 23:44, Gabriel Rossetti wrote:
> Hello,
>
> I had setup password-less ssh login for a backup process from another
> machine (FreeBSD) and all was working well, but for some reason it no
> longer works anymore, I tried to redo everything, but still no luck. I
> also tried as a regular user and it works fine. I tried to add :
>
> PermitRootLogin without-password

I thought that the syntax for this is boolean:

PermitRootLogin yes

or 

PermitRootLogin no

> PubkeyAuthentication yes
>
> (the second seems useless since it works for non-root users)

Yes, it should work with any user who has a public key saved in 
the .ssh/authorized_keys file.
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] can't ssh w/out password as root into my gentoo box any more
@ 2007-02-26 23:44 Gabriel Rossetti
  2007-02-26 22:58 ` Duane Griffin
  2007-02-26 23:15 ` [gentoo-user] can't ssh w/out password as root into my gentoo box any more Mick
  0 siblings, 2 replies; 6+ messages in thread
From: Gabriel Rossetti @ 2007-02-26 23:44 UTC (permalink / raw
  To: gentoo-user

Hello,

I had setup password-less ssh login for a backup process from another
machine (FreeBSD) and all was working well, but for some reason it no
longer works anymore, I tried to redo everything, but still no luck. I
also tried as a regular user and it works fine. I tried to add :

PermitRootLogin without-password
PubkeyAuthentication yes

(the second seems useless since it works for non-root users)
but still no luck, any ideas anyone?

Thanks,
Gabriel
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] can't ssh w/out password as root into my gentoo box any more
  2007-02-26 23:15 ` [gentoo-user] can't ssh w/out password as root into my gentoo box any more Mick
@ 2007-02-28 18:30   ` Gabriel Rossetti
  0 siblings, 0 replies; 6+ messages in thread
From: Gabriel Rossetti @ 2007-02-28 18:30 UTC (permalink / raw
  To: gentoo-user



Mick wrote:
> On Monday 26 February 2007 23:44, Gabriel Rossetti wrote:
>   
>> Hello,
>>
>> I had setup password-less ssh login for a backup process from another
>> machine (FreeBSD) and all was working well, but for some reason it no
>> longer works anymore, I tried to redo everything, but still no luck. I
>> also tried as a regular user and it works fine. I tried to add :
>>
>> PermitRootLogin without-password
>>     
>
> I thought that the syntax for this is boolean:
>
> PermitRootLogin yes
>
> or 
>
> PermitRootLogin no
>   
nope, it also works.
>   
>> PubkeyAuthentication yes
>>
>> (the second seems useless since it works for non-root users)
>>     
>
> Yes, it should work with any user who has a public key saved in 
> the .ssh/authorized_keys file.
>   
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] can't ssh w/out password as root into my gentoo box any more - SOLVED
  2007-02-26 22:58 ` Duane Griffin
@ 2007-02-28 22:46   ` Gabriel Rossetti
  2007-03-01 10:09     ` Duane Griffin
  0 siblings, 1 reply; 6+ messages in thread
From: Gabriel Rossetti @ 2007-02-28 22:46 UTC (permalink / raw
  To: gentoo-user



Duane Griffin wrote:
> On 26/02/07, Gabriel Rossetti <rossettigab@charter.net> wrote:
>> Hello,
>>
>> I had setup password-less ssh login for a backup process from another
>> machine (FreeBSD) and all was working well, but for some reason it no
>> longer works anymore, I tried to redo everything, but still no luck. I
>> also tried as a regular user and it works fine. I tried to add :
>>
>> PermitRootLogin without-password
>> PubkeyAuthentication yes
>>
>> (the second seems useless since it works for non-root users)
>> but still no luck, any ideas anyone?
>
> Check the logs on the server. Run ssh with -vvv to see what it is
> trying. Check permissions on ~/.ssh and its contents. If all that
> fails try running sshd in debug mode to get more diagnostics out.
>
> Cheers,
> Duane.
>
Thanks Duane, it was an ownership problem.... using -vvv didn't show
anything usefull (I had tried it before posting)
but the server logs helped a lot, beats me why I didn't think of that...
Anyways, works great now, thanks again, my backups are once again working!

Cheers,
Gabriel
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] can't ssh w/out password as root into my gentoo box any more - SOLVED
  2007-02-28 22:46   ` [gentoo-user] can't ssh w/out password as root into my gentoo box any more - SOLVED Gabriel Rossetti
@ 2007-03-01 10:09     ` Duane Griffin
  0 siblings, 0 replies; 6+ messages in thread
From: Duane Griffin @ 2007-03-01 10:09 UTC (permalink / raw
  To: gentoo-user

On 28/02/07, Gabriel Rossetti <rossettigab@charter.net> wrote:
> Thanks Duane, it was an ownership problem....

It usually is, in my experience :)

Glad to hear everything is working.

Cheers,
Duane.

-- 
"I never could learn to drink that blood and call it wine" - Bob Dylan
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-03-01 10:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-26 23:44 [gentoo-user] can't ssh w/out password as root into my gentoo box any more Gabriel Rossetti
2007-02-26 22:58 ` Duane Griffin
2007-02-28 22:46   ` [gentoo-user] can't ssh w/out password as root into my gentoo box any more - SOLVED Gabriel Rossetti
2007-03-01 10:09     ` Duane Griffin
2007-02-26 23:15 ` [gentoo-user] can't ssh w/out password as root into my gentoo box any more Mick
2007-02-28 18:30   ` Gabriel Rossetti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox