Open Secure Shell via link on webpage

1,392 views
Skip to first unread message

daniel....@gmail.com

unread,
Oct 15, 2012, 4:52:24 AM10/15/12
to chromiu...@chromium.org
Hi All,

is it possible to open the plugin via link on a web site. 

regards,
Daniel

Rene Bolldorf

unread,
Oct 15, 2012, 6:53:40 AM10/15/12
to daniel....@gmail.com, chromiu...@chromium.org
Yep, you also can pass arguments to it.
For example:

Secure Shell (dev)
chrome-extension://okddffdblfhhnmhodogpojmfkjmhinfp/html/nassh.html#user@mybox:22

Secure Shell
chrome-extension://pnhechapfaindjhompbnflcldabbghjo/html/nassh.html

Robert Ginda

unread,
Oct 15, 2012, 11:17:34 AM10/15/12
to Rene Bolldorf, daniel....@gmail.com, chromium-hterm
I don't think that will be clickable.  AFAIK, Chrome doesn't let web pages embed clickable chrome-extension links for security reasons.

Rene Bolldorf

unread,
Oct 15, 2012, 12:26:27 PM10/15/12
to Robert Ginda, daniel....@gmail.com, chromium-hterm
I'm at the moment on 24.0.1296.0, it worked for me with local- and web pages.

Daniel Kuffner

unread,
Oct 15, 2012, 3:41:32 PM10/15/12
to Rene Bolldorf, Robert Ginda, chromium-hterm
Your solution works for me but the link cannot be shared because it seems the application token (in your case okddffdblfhhnmhodogpojmfkjmhinfp)
is different for every user.

Secure Shell is still a nice tool, thanks for that! :)


thank you,
Daniel

Robert Ginda

unread,
Oct 15, 2012, 3:43:10 PM10/15/12
to Daniel Kuffner, Rene Bolldorf, chromium-hterm
The application id is the same for everyone.  It's just that the one you used refers to the dev version, which you probably don't have installed.  The second link Rene gave is to the stable version.

Rene Bolldorf

unread,
Oct 15, 2012, 3:48:09 PM10/15/12
to Daniel Kuffner, Robert Ginda, chromium-hterm
The uid is permanent, the okdd.... is for the dev version, pnh... for
the stable version.

hin...@google.com

unread,
Oct 16, 2012, 2:55:47 PM10/16/12
to chromiu...@chromium.org, Daniel Kuffner, Robert Ginda
Is there a way to pass in more arguments? For example pass in authentication keys?

Robert Ginda

unread,
Oct 16, 2012, 3:28:19 PM10/16/12
to hin...@google.com, chromium-hterm, Daniel Kuffner
You can create a connection profile with the identity selected, and then bookmark by profile id instead.  Just use the normal connection dialog to establish a connection, and click the star icon in the url bar.


Rob.

Ryan Tseng

unread,
Oct 16, 2012, 4:22:13 PM10/16/12
to Robert Ginda, chromium-hterm, Daniel Kuffner
Or rather, what I'm trying to do is have a page on a webpage with a bunch of machines:

* Machine 1 - SSH
* Machine 2 - SSH

And clicking the SSH link will create a temporary key pair (Server side), import that key into the SSH app, and connect the ssh app to the machine automatically, without any further user interaction.  Is that currently possible?

-Ryan

Robert Ginda

unread,
Oct 16, 2012, 4:26:42 PM10/16/12
to Ryan Tseng, chromium-hterm, Daniel Kuffner
Not currently no, but you're not the first person to ask for something like this.  I filed a feature request to track it here: http://code.google.com/p/chromium-os/issues/detail?id=35380

Daniel Kuffner

unread,
Oct 16, 2012, 5:12:06 PM10/16/12
to Rene Bolldorf, Robert Ginda, Daniel Kuffner, chromium-hterm

That's great, thanks Rene

0005...@richland2.org

unread,
Sep 22, 2016, 8:20:17 AM9/22/16
to chromium-hterm, daniel....@gmail.com
maby
Reply all
Reply to author
Forward
0 new messages