“Algorithm negotiation fail” error in JSch when trying to connect to Symantec NetBackup - grabing reports remotely

后端 未结 1 1592
清酒与你
清酒与你 2021-01-17 01:24

I have been searching online and found similar posts but could not find a solution reading them.

I am trying to connect to NetBackup servers using ssh from my comput

相关标签:
1条回答
  • 2021-01-17 02:09

    After doing a lot of research, I figured that to be able to have an SSH connection with Netbackup, you have to create a local user with access to bash shell, then allow root access to this user, since the netbackup commnands require you to be a superuser. Then, you can have ssh access to that account and run the scripts you want remotely. If you want to use Jsch, you jave to download and install Java criptography Extension in C:\Program Files\Java\jre6\lib\security. But I could not do that since I want not allowed due to company policies. So, I created powershell scripts that my Java program runs in order to connect and run the reports and put the output in a text file.

    There are applications such as Opscenter that already create reports for you; however, if you are in a situation like me where you need customized reports, this is the way to go.

    Hope this helps.

    0 讨论(0)
提交回复
热议问题