Troubleshoot SSH key based authentication failures

Troubleshoot SSH key based authentication failures

Follow the suggestions given below to troubleshoot SSH key based authentication failures
  1. Check server availability.
    Click here to know how to check server availability in Applications Manager
  2. Verify if you have specified the correct command prompt variable of the Server.
    Click here to know how to check the command prompt variable of your server. 
  3. Verify if the SSH key you have provided in Applications Manager is the same as that of your target server's.
    To find the SSH key, login to your target server, open command prompt with administrator's permission, and execute the following command:
    cat ~/.ssh/id_rsa
      Sample Output/Key:      
      -----BEGIN RSA PRIVATE KEY-----
      MIICXAIBAAKBgQDCTq9g0fgoCknPuLfZ19B8YtCN5zg6YIJA8zZWMEi2XtWY7AkF
      GqGmzDj5+BoCJdcn07a1D6n4RfO+STujulbh4V/Aka6AudJ4Z12cBhZias4h5oxT
      yVdCOYKO5dgXMnQOgcrLpH+z3SWlu4pL96gDP1dcRJG1pw4PvPlUwMJSMQIBJQKB
      gQCdi+gk/UW/maOhgQPFYuBk2n+Vprf3+zktvke7gRhchD57/aZy11Ki6sZp0BUW
      f4vbGlzKKGBMwxioH7PQ3EZwiky8rxPGMFfHnKzO0BQjlDt+Zit4yd1jwemhdIYy
      GF2w/ofwj5aHOI3uLCUD1hWpD8o6QwMl3NqN7hzO/RicZQJBAPCNeNtOJyiXF8xr
      q6VUM+j8O1vn+Si4QVdfXbKWIQA5NQMcCl0CQxVFsElu3WUlFs1Y/pJBXyTt76Z6
      Z7XKUgsCQQDOyPiaLlyZ4C6vC74b3Iso3du3TJr8/OO3PsfwWC/g+n8zscNBEJbO
      7KUIdlA9rHnNc+Kj7pa+igqkBg/j4i4zAkEAr4nUu7WSMmBrT/uLF8fS2nLfNTqT
      OWPcp4rH1VjL+T6AoWd9Lx1TjBBCXxmMzUSUGU7HmyjI45jfT/h1MaF6IwJAEMQv
      1SZaiQRWz+wyAkJQeO9k14LAdWCc14GhgjCp76WbnGhb8ITN9RobOAmXzaYzY69z
      PblmKx/zBmFbO/2VCwJBAKjc3Decx2jtgAr0X94txc2uOkUjLUCp/RyraWDgVZUS
      +Z6Sl4wAK4GB6+GADMwt7PEv4rcFO0KOjGJw4ZO9TkA=
      -----END RSA PRIVATE KEY-----
    1. If all of the above conditions are satisfied, then run the SSH troubleshoot script from the server in which you've installed Applications Manager. If you receive a Key exchange failed error, check this link to troubleshoot the same.
    2.  If there is an issue with the key, generate a new SSH key.
    3. If you're still unable to resolve the problem, contact AppManager support team along with the following:
      - Support Information File (SIF)
      - Output of the SSH troubleshoot script that you executed in step 4.





                    New to ADManager Plus?

                      New to ADSelfService Plus?