Afficher un message
Vieux 18/09/2006, 02h26   #3
Pascal Bourguignon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: a server by another name, I cannot connect to!

"René Berber" <rberber@mailandnews.com> writes:

> Pascal Bourguignon wrote:
>
>> I've got to domain names for the same IP. When I ssh using one, it
>> works, when I ssh using the other, it cannot connect.
>> --> Permission denied (publickey,password,keyboard-interactive).
>>
>> What can I do to connect using either name?
>>

> [snip]
>> [pjb@linking pjb]$ ssh -v pjb@darcs.ogamita.com
>> OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006
>> debug1: Reading configuration data /home/pjb/.ssh/config
>> debug1: Applying options for darcs.ogamita.com

> ----------------^^^^^^^^^^^^^^^^^^
> Does your ~/.ssh/config include a section for darcs.ogamita.com (i.e.
> "Host darcs.ogamita.com")?
>
> If it does, is there a "BatchMode yes" in there?
>
> If there is, then "passphrase/password querying will be disabled", get
> rid of it.
>
> Same goes for "PasswordAuthentication no".


Thank you very much!

Indeed, I had a BatchMode yes for this host.

Removing it, I can observe finally the same behavior for both domain
names. Thanks.


--
__Pascal Bourguignon__ http://www.informatimago.com/

Nobody can fix the economy. Nobody can be trusted with their finger
on the button. Nobody's perfect. VOTE FOR NOBODY.
  Réponse avec citation
 
Page generated in 0,05847 seconds with 9 queries