Password three times with ssh
Derek Broughton
news at pointerstop.ca
Tue Feb 14 13:45:44 UTC 2006
Jan Moren wrote:
> tis 2006-02-14 klockan 12:05 +1100 skrev Adam Conrad:
>> Jan Moren wrote:
>> >
>> > For some reason I can't fathom, this _always_ asks for my own local
>> > password /the user password you supply to sudo) three times before it
>> > gets to asking for the non-local password. Always three times (and it's
>> > not incorrect entry; if I enter it incorrectly I have to start over):
>> >
>> > Password:
>> > Password:
>> > Password:
>> > name at other.computer.se's password:
>>
>> That's the remote machine all 4 times, it's falling back from one auth
>> method (keyboard-interactive) to another (password). Watch as I do this
>> here (intentionally getting the wrong password):
>
>
> Thanks for the feedback. I ran it with verbose output and you seem to be
> right. What threw me, I think, is that it normally _always_ asks for the
> remote password in the "name at other.computer.se's password:" form. Hm,
> now to figure out a way to make the prompts distinguishable.
You could just use ssh-keygen, and copy your rsa public key to the
remote .ssh/authorized_keys.
--
derek
More information about the ubuntu-users
mailing list