ssh and dsa keys

Art Edwards edwardsa at icantbelieveimdoingthis.com
Mon Jul 22 23:02:57 UTC 2013


On Mon, Jul 22, 2013 at 06:59:23PM -0400, Damon Cassell wrote:
> Sorry, I'm thinking Fedora. Try /var/log/auth.log for Ubuntu. On the side
> you are trying to ssh INTO.
> 
> Damon

Here are (I think) the relevant lines of the auth.log file. Note the first line
seems to inform that I have an encrypted home directory.

Jul 22 16:58:24 buckhill sshd[28236]: pam_ecryptfs: Passphrase file wrapped
Jul 22 16:58:24 buckhill sshd[28234]: Accepted password for edwardsa from 192.168.1.2 port 37160 ssh2
Jul 22 16:58:24 buckhill sshd[28234]: pam_unix(sshd:session): session opened for user edwardsa by (uid=0)
Jul 22 16:58:57 buckhill sshd[28383]: Accepted publickey for edwardsa from 192.168.1.2 port 37162 ssh2
Jul 22 16:58:57 buckhill sshd[28383]: pam_unix(sshd:session): session opened for user edwardsa by (uid=0)

> 
> 
> On Mon, Jul 22, 2013 at 6:50 PM, Art Edwards <
> edwardsa at icantbelieveimdoingthis.com> wrote:
> 
> > On Mon, Jul 22, 2013 at 06:36:18PM -0400, Damon Cassell wrote:
> > > On Mon, Jul 22, 2013 at 6:23 PM, Avi Greenbury <lists at avi.co> wrote:
> > >
> > > > Art Edwards wrote:
> > > > > My front end machine is ignoring my dsa key on the first login
> > attempt.
> > > > That is,
> > > > > The first time I attempt to login, it requires a password. Once I am
> > > > logged in,
> > > > > all succeeding attempts access the dsa key. I'm running 12.04.2, and
> > all
> > > > ssh
> > > > > traffic is on internal networks.
> > > >
> > > > Are these successive attempts using the key, or are they using a
> > > > shared socket; how are you determining that they are using the key?
> > > >
> > > > You can use the -v flag to the SSH client to get more details, more vs
> > > > give more details:
> > > >
> > > >     ssh -v user at host
> > > >
> > > > will give you more details as to how its trying to connect,
> > > >
> > > >     ssh -vv user at host
> > > >
> > > > will elaborate on reasons for failure. Could you reply with the
> > > > outputs of those commands if they're not particularly enlightening for
> > > > you, please?
> > > >
> > > > --
> > > > Avi
> > > >
> > > >
> > > The above suggestion(s) will probably lead you there but, also see what
> > > might be reported in /var/log/secure when this happens?
> > >
> > > Damon
> >
> > There is no /var/log/secure
> >
> > I'm duplicating this, and will post in the next message.
> >
> > Thanks for replying.
> >
> > Art Edwards
> >
> > > --
> > > ubuntu-users mailing list
> > > ubuntu-users at lists.ubuntu.com
> > > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >

> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users





More information about the ubuntu-users mailing list