Re: Connection closed, no reason given

From: Unruh (unruh-spam_at_physics.ubc.ca)
Date: 11/05/05

  • Next message: Darren Dunham: "Re: Receive Window"
    Date: 5 Nov 2005 00:53:40 GMT
    
    

    jois.de.vivre@gmail.com writes:

    >Hi,

    >I was trying to set up passwordless authentication via ssh from one
    >machine to another. I generated the key pair on my local machine using

    >ssh-keygen -t dsa

    >I copied the entry from id_dsa.pub into the remote machine's
    >.ssh/authorized_keys file and expected to be able to login without a
    >problem. However, when I try and login now it simply says

    >Connection closed by 192.168.1.108

    >And I can't ssh into it anymore. I suspect the problem is in the
    >authorized_keys file, how can I force it to not look in there without
    >having to go to that machine and manually delete the entry?

    So you have root access on the remote machine? Did you do this for all
    accounts on the remote machine? Ie, log in as another user and then su to
    root to fix stuff.

    Anyway, what often happens is that line breaks are introduced by the editor
    on placing the string into the authorized_keys file.

    The other think is if you experimenting, leave one connection always open
    so that you can recover. Otherwise you are in the hole you are in now--
    unable to get in to fix anything. So go over to that machine, delete the
    entry and then do things with a fallback position.


  • Next message: Darren Dunham: "Re: Receive Window"

    Relevant Pages

    • Re: Dual Core issue
      ... How do I fix this? ... looked through my bios and there is no entry to change this. ... might look thru your bios and see if there is an entry to change that. ... both show in task manager here. ...
      (microsoft.public.windowsxp.hardware)
    • RE: Add/Remove Programs Problem
      ... Tom I found a fix though a very labor intensive one. ... The program should be somewhere between the last entry at the begining of ... I have not had any success finding a way to remove the black space ...
      (microsoft.public.windowsxp.general)
    • RE: Entry Point Not Found
      ... >Subject: Entry Point Not Found ... >I have no idea where this error comes from but I'm wondering if I can fix ... >Lawrenceburg, Indiana ...
      (microsoft.public.win2000.general)
    • stopping mail
      ... retrieve some info to see if a process is running (on this remote machine I have ... If I cannot access the remote machine, my machine sends mail to me and a couple ... sending mail every 5 minutes saying the machine is unreachable. ... I do have root access. ...
      (Fedora)
    • Re: Missing rtl70bpl file
      ... Reinstalling the application may fix the problem". ... Windows is trying to load this file but cannot locate it since the ... registry entry so Windows stops searching for the file when it loads. ...
      (microsoft.public.windowsxp.general)

  • Quantcast