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

一世执手 提交于 2019-12-01 13:46:49

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!