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".
HTH
--
René Berber