How to execute ServerSSHTroubleshoot.bat or sh file ?

How to execute ServerSSHTroubleshoot.bat or sh file ?

Execute the file ServerSSHTroubleshoot.bat or sh from the <AppManager_home>\bin\troubleshooting folder (<AppManager_home>\bin in older versions of Applications Manager).

Via command Prompt Execute the ServerSSHTroubleshoot.bat or sh file. It will prompt for the details to connect (some prints will come between this prompts which you can ignore)

Below is an working example for the server with IP 192.168.1.10 and key /root/.ssh/id_rsa (user entries are in Bold Italic, comments in italic)

C:\Program Files (x86)\ManageEngine\AppManager11\bin\troubleshooting>ServerSSHTroubleshoot.bat -connection key
(use 'password' instead of 'key' if password is used for authentication, Eg : ServerSSHTroubleshoot.bat -connection password)

Hostname: 192.168.1.10
(enter remote hostname or ipaddress)

Do you want to allow this host key? [Yes|No|Always]: Yes
(enter yes here)
Username: root
(enter remote host's username)
Path to private key file?/root/.ssh/id_rsa
(you can copy the ssh private key and paste it a text file in AppManager server, give that file's local path here. Example:  C:\sshprivatekey.txt )

Note : If you are using password based authentication the syntax is as follows:

C:\Program Files (x86)\ManageEngine\AppManager11\bin\troubleshooting>ServerSSHTroubleshoot.bat -connection password
You will be prompted to enter the password instead of the path to the private key file.

Wait till the file executes completely and returns to the command prompt.

Now, Copy the entire command prompt screen to a text file and send it to us (right click on the top of the command prompt Window->edit->select all). We will update you based on our analysis of the above information.


          • Related Articles

          • How to execute ServerSSHTroubleshoot.bat or sh file ?

            Solution: Execute the file ServerSSHTroubleshoot.bat or sh from the <AppManager_home>\bin\troubleshooting folder (<AppManager_home>\bin in older versions of Applications Manager). Via command Prompt Execute the ServerSSHTroubleshoot.bat or sh file. ...
          • How can I execute UpdateHostnameandIP.bat/sh ?

            Here are the steps to execute UpdateHostnameandIP.bat/sh: 1) Execute <AppManager_Home>\bin\troubleshooting\UpdateHostaneandIP.bat/sh file. For example,  updateHostNameAndIp.bat/sh [Previous HostName/IpAddress] [new HostName/IpAddress] ...
          • How can I execute the popTest.bat / popTest.sh file?

            This file is used to check if the connectivity and the Discovery of the POP Server is possible from the Applications Manager installed server.  This standalone program is a excerpt of the same process we use to add the POP Server monitor. The usage ...
          • How can I execute a SharePoint.bat / SharePoint.sh file?

            This file is used to check if the connectivity and the Discovery of the Sharepoint Server is possible from the Applications Manager installed server.  This standalone program is a excerpt of the same process we use to add the Sharepoint Server ...
          • How can I execute a DB2Debug.bat / DB2Debug.sh file?

            This file is used to check if the connectivity and the Discovery of the DB2 server is possible from the Applications Manager installed server.  This standalone program is a excerpt of the same process we use to add the DB2 monitor. The usage to run ...