[TriLUG] Im stumped by SSH

Ryan Leathers Ryan.Leathers at globalknowledge.com
Mon Jan 13 17:44:37 EST 2003


I tried the -vvv as suggested.  Does the output I am seeing indicate
that public key on the server is not being found ? 
A portion of the verbose connection attempt from the client side
follows...

debug1: Host 'rlmsdev1' is known and matches the RSA host key.

debug1: Found key in /root/.ssh/known_hosts:1

debug1: ssh_rsa_verify: signature correct

(section edited)
debug1: send SSH2_MSG_SERVICE_REQUEST

debug1: service_accept: ssh-userauth

debug1: got SSH2_MSG_SERVICE_ACCEPT

debug1: authentications that can continue:
publickey,password,keyboard-interactive

debug3: start over, passed a different list
publickey,password,keyboard-interactive

debug3: preferred publickey,keyboard-interactive,password

debug3: authmethod_lookup publickey

debug3: remaining preferred: keyboard-interactive,password

debug3: authmethod_is_enabled publickey

debug1: next auth method to try is publickey

debug2: userauth_pubkey_agent: no keys at all

debug2: userauth_pubkey_agent: no more keys

debug2: userauth_pubkey_agent: no message sent

-----Original Message-----
From: Jeremy Portzer [mailto:jeremyp at pobox.com]
Sent: Monday, January 13, 2003 2:01 PM
To: trilug at trilug.org
Subject: Re: [TriLUG] Im stumped by SSH

On Mon, 2003-01-13 at 13:15, Ryan Leathers wrote:
> Last Friday my SSH stopped working correctly.
> I have some scripts that move files, etc., to a Redhat 7.3 server from
a
> Redhat 8.0 workstation.
>
> Automated scripts stopped working and I noticed that when I try to SSH
> into the 7.3 server I am now prompted for a password.
> I suspect that once I resolve this my scripts will continue to work as
> expected.
>
> I didn't notice any changes to any of the usual suspect files, so I
> decided to rebuild my SSH from scratch for this account.
> I restarted ssh on both systems.  I ran ssh-keygen on the workstation
> and copied the identity.pub up to the server where I cat'ed it to the
> authorized_keys file.
> At this point I expected to be able to ssh in without having to type a
> password... but it still prompts me for one.

Try running the ssh client in verbose mode (-vvv for the most verbose)
-- maybe that will tell you why the public key authentication is
failing.

I believe there's also a debug/verbose mode for the server if you can't
figure it out from the client side.

--Jeremy

_______________________________________________
TriLUG mailing list
    http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ:
    http://www.trilug.org/~lovelace/faq/TriLUG-faq.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3061 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030113/74d9efca/attachment.bin>


More information about the TriLUG mailing list