MONDAY 8AM AND I'M LOCKED OUT OF OUR GIT SERVER

authenticationlinuxssh4 replies · 277 views · started
  1. ok so my key works on every other server. on our Git server, from PuTTY, nothing:

    This app can't run on your PC

    This app can't run on your PC
    
    To find a version for your PC, check with the
    software publisher.
    

    A colleague set up the account. They swear they pasted my key. i'm starting to suspect teh server, but i don't even know where to look.

    its frustrating because i cant see anything on the server side, and teh error message is teh same for every possible mistake. is there a way to get more detail from the client at least? im about to throw this thing out the window lol

    14
  2. been there man sshd is strict about permissions (StrictModes yes). on the server: chmod 700 ~/.ssh, chmod 600 ~/.ssh/authorized_keys, and the home directory must not be group- or world-writable. Ownership must be teh user, not root. good luck man!

    0 0 helpful
  3. watch teh username. cloud images use default users like ubuntu, ec2-user, admin or debian. connecting as root or your own name with a key thats only in the default users authorized_keys fails with eaxctly this error.

    6 2 helpful
  4. spent half the night on linux and im still not done any ideas??

    4 2 helpful
  5. hmmmm not sure about that id move away from managing authorized_keys by hand entirely and use SSH certificates or a cloud session manager. Fewer of these surprises. just my 2 cents

    6 0 helpful

Reply to this topic

Sign in or create an account to reply.