Open SSH Extension in Browser with Arguments

313 views
Skip to first unread message

Palacios Family

unread,
May 28, 2019, 2:10:00 PM5/28/19
to chromium-hterm
I have a scripted a dynamic webpage that generates URLs from an IP database that when clicked will open an SSH session using the SSH Extension.  This works well for the equipment with the most current release of the OS.  However I have legacy OS equipment where the URL fails:

chrome-extension://iodihamcpbpeioajjeobimgagajmlibd/html/nassh.html#MyUse...@10.255.255.218:22


"Unable to negotiate with UNKNOWN port -1: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 NaCl plugin exited with status code 255. "


If I use the console interface of the SSH Extension and add the following to the SSH Arguments it works:  -c aes128-cbc -oHostKeyAlgorithms=+ssh-dss -oKexAlgorithms=+diffie-hellman-group1-sha1

I realize upgrading the OS and modifying the equipment configs is the best method.  However due to various internal circumstances this is not possible.

How can I have these arguments passed using the URL method?

Thanks for your help!

Mike Frysinger

unread,
May 28, 2019, 2:46:03 PM5/28/19
to Palacios Family, chromium-hterm
currently, that's not supported.  we plan on adding support for it, but don't have a schedule for it atm.  you can star https://crbug.com/217785 for updates.

btw, we support ssh:// URIs now:

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-hter...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/6bb134a0-ef4e-400f-a19d-48fb5cd00a07%40chromium.org.

Palacios Family

unread,
May 28, 2019, 2:51:13 PM5/28/19
to chromium-hterm, palac...@gmail.com
Thank you for your quick reply.  Are you saying ssh://URI is replacing the chrome-extension://URL ?

Thanks again!


On Tuesday, May 28, 2019 at 2:46:03 PM UTC-4, Mike Frysinger wrote:
currently, that's not supported.  we plan on adding support for it, but don't have a schedule for it atm.  you can star https://crbug.com/217785 for updates.

btw, we support ssh:// URIs now:

On Tue, May 28, 2019 at 11:55 PM Palacios Family <palac...@gmail.com> wrote:
I have a scripted a dynamic webpage that generates URLs from an IP database that when clicked will open an SSH session using the SSH Extension.  This works well for the equipment with the most current release of the OS.  However I have legacy OS equipment where the URL fails:

chrome-extension://iodihamcpbpeioajjeobimgagajmlibd/html/nassh.html#MyUsername@10.255.255.218:22


"Unable to negotiate with UNKNOWN port -1: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 NaCl plugin exited with status code 255. "


If I use the console interface of the SSH Extension and add the following to the SSH Arguments it works:  -c aes128-cbc -oHostKeyAlgorithms=+ssh-dss -oKexAlgorithms=+diffie-hellman-group1-sha1

I realize upgrading the OS and modifying the equipment configs is the best method.  However due to various internal circumstances this is not possible.

How can I have these arguments passed using the URL method?

Thanks for your help!

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromiu...@chromium.org.

Mike Frysinger

unread,
May 29, 2019, 6:11:54 PM5/29/19
to Palacios Family, chromium-hterm
if you've allowed Secure Shell to register as a handler for ssh://, then this should work:
  ssh://MyUse...@10.255.255.218:22
-mike

On Wed, May 29, 2019 at 12:36 AM Palacios Family <palac...@gmail.com> wrote:
Thank you for your quick reply.  Are you saying ssh://URI is replacing the chrome-extension://URL ?

Thanks again!

On Tuesday, May 28, 2019 at 2:46:03 PM UTC-4, Mike Frysinger wrote:
currently, that's not supported.  we plan on adding support for it, but don't have a schedule for it atm.  you can star https://crbug.com/217785 for updates.

btw, we support ssh:// URIs now:

On Tue, May 28, 2019 at 11:55 PM Palacios Family <palac...@gmail.com> wrote:
I have a scripted a dynamic webpage that generates URLs from an IP database that when clicked will open an SSH session using the SSH Extension.  This works well for the equipment with the most current release of the OS.  However I have legacy OS equipment where the URL fails:

chrome-extension://iodihamcpbpeioajjeobimgagajmlibd/html/nassh.html#MyUse...@10.255.255.218:22


"Unable to negotiate with UNKNOWN port -1: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 NaCl plugin exited with status code 255. "


If I use the console interface of the SSH Extension and add the following to the SSH Arguments it works:  -c aes128-cbc -oHostKeyAlgorithms=+ssh-dss -oKexAlgorithms=+diffie-hellman-group1-sha1

I realize upgrading the OS and modifying the equipment configs is the best method.  However due to various internal circumstances this is not possible.

How can I have these arguments passed using the URL method?

Thanks for your help!

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromiu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/6bb134a0-ef4e-400f-a19d-48fb5cd00a07%40chromium.org.

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-hter...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/1dbab974-406f-48aa-a93a-889eacdd7da5%40chromium.org.

Palacios Family

unread,
Apr 17, 2020, 2:44:50 PM4/17/20
to chromium-hterm
Resolved: Closing out an issue, I finally figured a way to incorporate the the key encryption and other arguments.  I opened the SSH Extensions, Options, SSH File and updated the Config file with the following and it works like a charm:

KexAlgorithms +diffie-hellman-group1-sha1
Ciphers aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc

On Tuesday, May 28, 2019 at 2:10:00 PM UTC-4, Palacios Family wrote:
I have a scripted a dynamic webpage that generates URLs from an IP database that when clicked will open an SSH session using the SSH Extension.  This works well for the equipment with the most current release of the OS.  However I have legacy OS equipment where the URL fails:

chrome-extension://iodihamcpbpeioajjeobimgagajmlibd/html/nassh.html#MyUsername@10.255.255.218:22
Reply all
Reply to author
Forward
0 new messages