gabriel rosenkoetter on Wed, 26 Sep 2001 18:50:24 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] a different SSH question & moderated posts


On Mon, Sep 24, 2001 at 10:18:58PM -0400, Paul wrote:
> I just solved an ssh problem today. I wasn't being prompted for the
> passphrase, just the password. The permissions on the public key file,
> "authorized_keys" or "authorized_keys2", need to be set to read and EXECUTE.
> My umask didn't set the execute bit, so I did a "chmod 700 authorized_keys?"
> command. That was it.

Uh, no they don't. At least, they shouldn't.

rosemary:~% ll .ssh/authorized_keys*
-rw-------   1 gr       users          0 Feb 14  2001 .ssh/authorized_keys
-rw-------   1 gr       users       3662 Sep 20 09:00 .ssh/authorized_keys2
rosemary:~% uname -a
SunOS rosemary.cs.swarthmore.edu 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-5_10
rosemary:~% ssh -V
OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090600f

grappa:~% ll .ssh/authorized_keys2
-rw-------  1 gr  users  3662 Sep 20 08:54 .ssh/authorized_keys2
grappa:~% uname -a
NetBSD grappa 1.5W NetBSD 1.5W (GRAPPA) #6: Thu Jun 21 23:06:39 EDT 2001     gr@grappa:/usr/src/sys/arch/i386/compile/GRAPPA i386
grappa:~% ssh -V
OpenSSH_2.9 NetBSD_Secure_Shell-20010515, SSH protocols 1.5/2.0, OpenSSL 0x0090601f

> Hey, BTW, why do my messages need to be approved before they're posted?

Because you're not subscribed at the same address you're posting
from, probably because your SMTP server does some kind of munging.
(This will show up because your envelope From address doesn't match
up with what your MUA puts in the headers.) Subscribe both
addresses, turn mail delivery off for one.

-- 
       ~ g r @ eclipsed.net

Attachment: pgpALNpp41T2T.pgp
Description: PGP signature