ssh on web
TRANSCRIPT
-
8/16/2019 SSH on Web
1/2
Changes on WUG Server:
1.
1st
File: C:\Program Files
(x86)\Ipswitch\WhatsUp\HTML\NmConsole\CoreNm\Tools\Public.inc
Add the following to the var Tool section
var TOOL_SSH ="SSH"; In function GetToolHref add the following to the switch(sTool) section:
case TOOL_SSH:
return "ssh://" + sNetworkAddress;
In function GetToolIconSrc add the following to the switch(sTool) section:
case TOOL_SSH:
return "/NmConsole/CoreNm/Tools/images/icon-ssh.png";
In section add:
var TOOL_SSH ="SSH";
2.
2nd
File: C:\Program Files
(x86)\Ipswitch\WhatsUp\HTML\NmConsole\Reports\Workspace\Device\General\WrDevice
Details\ _WrDeviceDetails.inc
In function ShowToolTable add:
3.
3rd
File: C:\Program Files
(x86)\Ipswitch\WhatsUp\HTML\NmConsole\DeviceManagement\DeviceList\trNetworkMen
u.inc
Add the following to the "DeclareTranslation" section:
oNetworkMenuTranslate.DeclareTranslation("SSH", "SSH");
Add the following to the "NetworkMenu.t_sXXXXX" section:
NetworkMenu.t_sSSH = "";
4.
4th
File: C:\Program Files
(x86)\Ipswitch\WhatsUp\HTML\NmConsole\DeviceManagement\DeviceList\NetworkMenu.
js
In the GetListToolsMenu() function:
Add the following to the "tool links" section:
var sSSHLink = GetToolHref(TOOL_SSH, nDeviceID, sNetworkAddress);
Add the following to the "if" statement:
sSSHLink = null;
-
8/16/2019 SSH on Web
2/2
Add the following to the "oMenuTools.AddMenuItem" section:
oMenuTools.AddMenuItem(NetworkMenu.t_sSSH, "HREF", sSSHLink,
GetToolIconSrc(TOOL_SSH));
5.
Copy ssh.png to C:\ProgramFiles
(x86)\Ipswitch\WhatsUp\HTML\NmConsole\CoreNm\Tools\images\
Changes on Operator Workstation
Copy putty.exe and putty.cmd to C:\windows\.
Execute the putty.reg file. This will input registry entries on your windows machine.