It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SSH Links

Robert Otto Dec 22, 2014


We create pages about each router or switch we deploy and at the top we create a ssh2://ipaddress link and the link appears to be created but when we click it nothing happens. I'v gone into the link and verified it is correct. Is there something I'm doing wrong? 


3 answers

0 votes

Hi Robert,

May I ask you, if this ever worked? I'm not aware of such link work.

Confluence doesn't have the ability to open the SSH2 directly.


James Beckett Oct 14, 2016

Confluence doesn't need to "open" the link directly. Opening a suitable application based on a URI is done by the OS protocol handler, all it needs is for the link html to be properly functional in a web page.

With Confluence [5.4.4] when you create a link like "ssh2://", it appears to be accepted, and is rendered in link style, but there is no href property in the generated a tag, unlike for ssh URIs:

<a href="ssh://" rel="nofollow">ssh://</a>
<a rel="nofollow">ssh2://</a>

This would seem likely to be due to a rule in the markup renderer (or maybe it doesn't even get saved).

0 votes
Robert Otto Dec 22, 2014

We are looking to move away from Mindtouch Dekiwiki and it has the ability to do it. That is unfortunate to read that this is something that Confluence is unable to do. When we click it it just opens our default SSH client that is all I want it to do nothing within Confluence itself. 

0 votes
Alex Medved Dec 23, 2014

It seems like ssh2 is not recognised as a valid protocol... ssh:// works but ssh2:// does not

I suppose a trivial use macro will solve the problem:

## Macro title: anyLink
## Macro has a body: N
## Any protocol hyperlink
## @param Link:title=Link|type=string|required=true|desc=Link address
## @param Caption:title=Caption|type=string|required=true|desc=Link caption

<a href="$paramLink" target="_blank">$paramCaption</a>




Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

888 views 0 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you