SSH button on node information screen
Description
Environment
Acceptance / Success Criteria
blocks
Lucidchart Diagrams
Activity

Alejandro Galue May 14, 2013 at 3:30 AM
I've added a solution similar of what Jeff has suggested long time ago on this issue, because that was a request from a customer
In the same way like we currently have for Telnet and HTTP, I've added a link on the node's page to handle URLs like ssh://{ipaddr} if there is an IP address that supports the SSH service.
Revision on 51129b961889c25384c30c4a4cca6f8bf26853ec 1.10

Philippe Guillebert May 21, 2009 at 12:48 PM
I have a similar request going on with a client, but the tricky part is that telnet or ssh protocols cannot be initiated from the operator's workstation (firewalls).
The idea is to use something like ajaxterm or anyterm (web-based terminals) on opennms server.
The opennms server initiate ssh or telnet to the node and open an interactive browser window. This window is used by the operator as any ordinary terminal.
Given a slight modification of anyterm/ajaxterm, the protocol (ssh or telnet) and host to reach can be parametrized in the URL :
http://opennmsserver/anyterm/term.htm?proto=ssh&host=1.2.3.4
Yet another cool integration idea

Byron September 17, 2008 at 3:58 PM
It would be nice if this could be done in a generic way. It would be nice to be able to configure the link to the service/url to be there on a per service basis in a configuration file. Maybe even have a special area or table in the General Node Info section where these links will be present for all services where you have specified for them to be setup.
An example would be where I may have a virtual domain HTTP Poller setup and set value like create_link="true". Then all nodes where this service is discovered, the link would appear in a "links" section of the General Node Info area.
This is just me thinking out loud, feel free to put ear plugs in. = )

Jeff Gehlbach November 21, 2007 at 1:48 PM
Turns out it's possible in Windows to register a protocol handler for arbitrary URL prefixes. See the Microsoft article linked from this PuTTY wish-bug:
http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/ssh-url-scheme.html
On Mac OS X 10.5.1, ssh:// URLs "just work", opening by default in Terminal.app.
Anyway, I've added an SSH link in the style of the existing ones for Telnet, HTTP, and so forth, on node.jsp. I'll check this in if I can get the nod from Mike and Tarus.

Tarus Balog October 17, 2007 at 3:20 PM
Ben is adding a real SSH class for this to OpenNMS to improve the SSH poller. I like the idea of an SSH button, too, so let's aim for 1.8
There is a telnet to node on the node inofrmation screen. I know there is a
java based ssh out there. A button could be made to call this from the node
information screen.