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

Re: how to examine ssh problem



On Tue, Aug 2, 2011 at 11:24 PM, Joao Ferreira Gmail
<joao.miguel.c.ferreira@gmail.com> wrote:
> On Tue, 2011-08-02 at 23:02 +0800, lina wrote:
>> Hi,
>>
>> when I tried to ssh some_server, it showed me,
>>
>> Permission denied (publickey,gssapi-with-mic,password).
>>
>> 1] I tried ssh from desktop, laptop and other server, the same problem.
>> 2] I generate a new key  by ssh-keygen in some_server, it still has
>> this problem.
>>
>> I can ssh by username@full_some_server_address, but can't access in a
>> simple way,
>
> try:
>
> "ssh -vvv user@host"

...
debug1: Found key in /home/lina/.ssh/known_hosts:3
debug2: bits set: 529/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/lina/.ssh/id_rsa (0x7f9e47a530a0)
debug2: key: /home/lina/.ssh/id_dsa (0x7f9e47a58660)
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug3: start over, passed a different list publickey,gssapi-with-mic,password
debug3: preferred publickey,keyboard-interactive
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/lina/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Offering public key: /home/lina/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (publickey,gssapi-with-mic,password)

I don't know how to check further, thanks for any more advice,

>
> Joao
>
>
>>
>> Thanks for any advice,
>>
>> --
>> Best Regards,
>>
>> lina
>>
>>
>
>
>



-- 
Best Regards,

lina


Reply to: