On Friday 15 February 2008, Florian Philipp wrote: > On Fri, 2008-02-15 at 20:59 +0200, Alan McKinnon wrote: > > On Friday 15 February 2008, Florian Philipp wrote:
> > > I can use ssh to login from DAU to NOTE but not vice versa. I've > > > played around with several settings before this happened but I'm sure > > > it worked after my last change. Since you've unmerged everything the above is probably irrelevant to the problem below. > > > Well, ultimately I've unmerged openssh, keychain and denyhosts on > > > both computers and removed /etc/ssh and .ssh in root's and the users' > > > home directories and then reemerged just openssh. Did you then run ssh-keygen on both machines? > > Ah. You probably shouldn't have done that, unless you know for a fact > > that YOU screwed the ssh config up beyond all hope of recovery. > > Usually, you just sit with the same problem anyway, or make it worse by > > removing the configs that still work Having both machines' settings would also allow for diff-ing between them, but it's all irrelevant now. > > > Yet, the situation didn't change. > > > > > > Here's what happening: > > > > > > [EMAIL PROTECTED] > ssh -vvv DAU > > > > > > OpenSSH_4.7p1-hpn12v19, OpenSSL 0.9.8g 19 Oct 2007 > > > debug1: Reading configuration data /etc/ssh/ssh_config > > > debug2: ssh_connect: needpriv 0 > > > debug1: Connecting to DAU [192.168.2.4] port 22. > > > debug1: Connection established. > > > debug1: identity file /home/dsl/.ssh/identity type -1 > > > debug1: identity file /home/dsl/.ssh/id_rsa type -1 > > > debug1: identity file /home/dsl/.ssh/id_dsa type -1 > > > ssh_exchange_identification: Connection closed by remote host As I said above, have you generated new keys? If yes, you could copy public key A to the ~/.ssh/authorized_keys file and do away with the need to enter a password. It's only then that you can turn PasswordAuthentication no. Hope this helps. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.