Right click on host icon to connect

What I want to ba able to do is to connect to a host via telnet, ssh, rdp or http by some click on the host icon. Whether it is right click, contol click or whatever, I don’t care.

I believe it must be possible using action URLs, but I have not tried it yet. Does anyone have a tried and tested solution.