Secure Shell dev 0.8.8.6

3,249 views
Skip to first unread message

Robert Ginda

unread,
Oct 31, 2012, 5:50:55 PM10/31/12
to chromium-hterm
I've just pushed a new dev version to: https://chrome.google.com/webstore/detail/okddffdblfhhnmhodogpojmfkjmhinfp

This version fixes the connection error on Chrome 21, a bug changing non-text values in the new options page, and the enable-bold pref.

The full changelog is here: 

0.8.8.6, 2012-10-31, Fixes for options page and Chrome 21 storage

* Fix 'enable-bold' pref.
* Fix non-text inputs in options page.
* Fix copy/paste error in lib.Storage.Local (which is only used in
  Chrome <= 21).

BUG=chromium-os:35109, Disable bold fonts

Karl R. Grose

unread,
Oct 31, 2012, 9:01:08 PM10/31/12
to Robert Ginda, chromium-hterm
On Wed, Oct 31, 2012 at 2:50 PM, Robert Ginda <rgi...@google.com> wrote:

https://chrome.google.com/webstore/detail/okddffdblfhhnmhodogpojmfkjmhinfp

I'm seeing this error:

Uncaught Error: Unknown child id: profile-ids: ca25
lib_preference_manager.js:383

with a hang after hitting [Enter] to connect with a Chromebook running
stable-channel (21.0.1180.92). Forcing the window/tab to close then
relaunch causes an immediate hang with "Loading..." in the Identity
field, but no new errors in the JS console.

--Karl

Karl Grose
Richmond, Calif.

Robert Ginda

unread,
Oct 31, 2012, 9:05:55 PM10/31/12
to Karl R. Grose, chromium-hterm
Chrome 21 strikes again!  I'll look into it.

jo...@knoesis.org

unread,
Nov 2, 2012, 3:51:02 PM11/2/12
to chromiu...@chromium.org, rgi...@google.com
Hi,

I have a brand new Samsung Chromebook, which arrived today.  Even after a factory reset and creation of a new Google account, I get the elsewhere-mentioned hanging at "Loading NaCl plugin..."

I'd like to try your latest "dev" version, but the link above is broken.  Can you help me obtain a working Secure Shell for this device?

Thanks,
Joshua

halin...@gmail.com

unread,
Nov 2, 2012, 3:55:09 PM11/2/12
to chromiu...@chromium.org, rgi...@google.com, jo...@knoesis.org
Just FYI you can get a more or less working secure shell on your chrome book by starting the browser and pressint ctrl-alt-T - this opens up the extremely limited shell.  In that shell there is an 'ssh' command you can use.  It even can be used with a key by doing the following:

crosh> ssh
ssh> host some.host.name
ssh> user someUser
ssh> key aKeyFileInTheDownloadArea
ssh> connect

Just works - I am using it right now.

Robert Ginda

unread,
Nov 2, 2012, 4:04:38 PM11/2/12
to jo...@knoesis.org, chromium-hterm
You need to be signed into an account that is subscribed to this group to get access to the dev version.


Rob.

Shane McCarron

unread,
Nov 2, 2012, 4:18:56 PM11/2/12
to chromiu...@chromium.org, jo...@knoesis.org, rgi...@google.com
Yep - and I am (now).  I installed the dev version on my samsung chromebook running 2.23, I have NaCL enabled, but I can't seem to get it to import the SSH key that I want to use.  I can confirm that it works great for connections where I do not require a key, but for security reasons my primary servers can only be accessed with a key.  The key in question seems to work well with the crosh -> ssh system, but when I use it in the dev version of hterm the NaCL exits with a 255.  Is there anything I can do to help debug this?

Shane McCarron

unread,
Nov 2, 2012, 4:26:19 PM11/2/12
to chromiu...@chromium.org, jo...@knoesis.org, rgi...@google.com
Actually, just to be clear, it works with SOME keys.  The 255 exit code was when I provided only a single key file (so no key was actually loaded) and I then attempted to connect to a server that requires a key.  

I have two flavors of key files.  Ones generated by ssh-keygen on a linux platform, and ones generated by putty's key generator.  The putty private key files end in .ppk and do not seem to be compatible with hterm.

Robert Ginda

unread,
Nov 2, 2012, 5:24:03 PM11/2/12
to Shane McCarron, chromium-hterm, josh
Secure Shell's key support is a little picky at the moment.  For now, the only private keys it will recognize properly are pairs of identity/identity.pub.  

Fortunately the issues are with the UI rather than the underlying infrastructure.  You can force it to use other keys by adding them to the "SSH Arguments" field in the connection dialog.

So, if you have a key stored as identity.ppk, and you import it using the "Import..." link on the connect dialog, then add "-i/.ssh/identity.ppk" to the SSH Arguments.


Rob.

Robert Ginda

unread,
Nov 5, 2012, 1:45:04 PM11/5/12
to Karl R. Grose, chromium-hterm
Hi Karl,

Does the JS console error message have a triangle on the left side?  If so can you click it and send the stack trace it shows?

Thanks,


Rob.


On Wed, Oct 31, 2012 at 6:01 PM, Karl R. Grose <karl...@berkeley.edu> wrote:

Karl R. Grose

unread,
Nov 5, 2012, 10:40:02 PM11/5/12
to Robert Ginda, chromium-hterm
On Mon, Nov 5, 2012 at 10:45 AM, Robert Ginda <rgi...@google.com> wrote:

> Does the JS console error message have a triangle on the left side? If so
> can you click it and send the stack trace it shows?

Yes, I see:

Uncaught Error: Unknown child id: profile-ids: f961
lib_preference_manager.js:383
lib.PreferenceManager.getChild lib_preference_manager.js:383
nassh.PreferenceManager.getProfile nassh_preference_manager.js:34
nassh.CommandInstance.connectToProfile nassh_command_instance.js:267
nassh.CommandInstance.onConnectDialog_.connectToProfile
nassh_command_instance.js:551
nassh.CommandInstance.dispatchMessage_ nassh_command_instance.js:416
(anonymous function) nassh_command_instance.js:244

--Karl

=======

Kirk Brattkus

unread,
Nov 6, 2012, 2:12:01 PM11/6/12
to chromiu...@chromium.org, rgi...@google.com
Just an FYI. I installed 0.8.8.6 on a new s3 chromebook running in dev mode and connected to a server without using keys. Although I was able to connect the following errors and warnings were broadcast to the javascript console:

(X) Failed to load resource chrome-extension://okddffdblfhhnmhodogpojmfkjmhinfp/_locales/en_US/messages.json
(!) Unimplemented DEC Private Mode: 1034hterm_vt.js:884

Robert Ginda

unread,
Nov 12, 2012, 1:16:24 PM11/12/12
to Karl R. Grose, chromium-hterm
This is strange, it's like the connection dialog can see the profile, but the ssh command can't find it.

You're not starting from a bookmark, right?  When you look at the profile in the connection dialog does it appear correct?

Has your Chrome upgraded to 23 yet?


Rob.

art...@oxidovip.com.mx

unread,
Nov 12, 2012, 3:12:19 PM11/12/12
to chromiu...@chromium.org, rgi...@google.com

An error occurred:

Item not found. This item may have been removed by its author.

How can i download it?

Robert Ginda

unread,
Nov 12, 2012, 3:20:21 PM11/12/12
to art...@oxidovip.com.mx, chromium-hterm
You've got to be signed in to an account that is subscribed to this group.

İsmail Dönmez

unread,
Nov 14, 2012, 7:10:06 AM11/14/12
to chromiu...@chromium.org, rgi...@google.com
Looks like new dev channel release (25.0.1323.1 dev-m). For me it now hangs after showing "Loading NaCl plugin... Done."

gril...@gmail.com

unread,
Nov 15, 2012, 10:06:02 PM11/15/12
to chromiu...@chromium.org, rgi...@google.com
I've got this exact problem on Windows. Chromebook working fine.

Robert Ginda

unread,
Nov 16, 2012, 11:08:18 AM11/16/12
to gril...@gmail.com, chromium-hterm
This is a bug in DNS resolution in Chrome 25.  You'll have to connect with IP addresses instead until the next dev release, or revert back to chrome stable channel.


Rob.

Shawn Baker

unread,
Nov 16, 2012, 11:10:01 AM11/16/12
to Robert Ginda, chromium-hterm

The IP workaround is a great bandaid for now, thanks for the tip!

Will Stranathan

unread,
Nov 27, 2012, 10:05:56 PM11/27/12
to chromiu...@chromium.org, rgi...@google.com
Just thought I'd let you know - after finally reading everything (have to use a Dev release, have to use an ID that's subscribed to the list, etc.) I was able to get the Dev release (0.8.8.6) on my ARM Chromebook (daisy/snow) and it works brilliantly so far.

Thanks for all the work on this! I love it - this will be seriously handy!


On Wednesday, October 31, 2012 5:51:17 PM UTC-4, Robert Ginda wrote:

Brandyn White

unread,
Nov 30, 2012, 9:58:21 AM11/30/12
to chromiu...@chromium.org, Robert Ginda
Found a possible regression.  If I do a "git status" when inside of a screen, it freezes the terminal.  If I reconnect the screen is fine, just the terminal froze.

-B


On Wednesday, October 31, 2012 5:51:17 PM UTC-4, Robert Ginda wrote:

Brandyn White

unread,
Nov 30, 2012, 11:30:55 AM11/30/12
to chromium-hterm, Robert Ginda
I think it happens when the network connection is flaky (using USB tethering on galaxy nexus), as I also had it happen on the old version just now.  I am able to reconnect easily though, so this should still probably be looked at so that the connection is resumed properly.

-B

Robert Ginda

unread,
Nov 30, 2012, 12:51:43 PM11/30/12
to Brandyn White, chromium-hterm
Anything in the JS console?

ktsf...@gmail.com

unread,
Sep 17, 2013, 3:58:47 PM9/17/13
to chromiu...@chromium.org, rgi...@google.com


On Wednesday, October 31, 2012 2:51:17 PM UTC-7, Robert Ginda wrote:

syed.raki...@gmail.com

unread,
Jun 25, 2015, 5:21:35 AM6/25/15
to chromiu...@chromium.org, rgi...@google.com, jo...@knoesis.org
here is what i get:
crosh> ssh
The 'ssh' command has been removed. Please install the official SSH extension: Secure Shell
crosh>

And then when i use the official Secure Shell extension as recommended by crosh, i am not able to load any pem/pub file into the identity section. Even if i use the "Import..." link and then select pem/pub file(s), the identity section still continues to show "[default]" and, thus, i am not able to SSH into my AWS EC2 server.

t...@terpmail.umd.edu

unread,
Sep 2, 2015, 10:39:29 PM9/2/15
to chromium-hterm, rgi...@google.com, jo...@knoesis.org, syed.raki...@gmail.com
I am having the same issue!

Claudia Hardman

unread,
Sep 3, 2015, 9:09:45 AM9/3/15
to chromium-hterm, rgi...@google.com, jo...@knoesis.org, syed.raki...@gmail.com, t...@terpmail.umd.edu
It's a wee picky about the files you give it, but the faq.txt file clears it up well:

https://chromium.googlesource.com/apps/libapps/+/master/nassh/doc/faq.txt
You must import two files for each identity.  One should be the private key and should not have a file extension.  The other should be the public key, and must end in ".pub".  For example, "id_rsa" and "id_rsa.pub".
If you have a key stored in a single ".pem" file, you must split it into two files before importing.

sharif....@gmail.com

unread,
Sep 19, 2015, 11:19:42 AM9/19/15
to chromium-hterm, rgi...@google.com, jo...@knoesis.org, syed.raki...@gmail.com, t...@terpmail.umd.edu
Is there not a way to use it w/o the corresponding public key? When one creates a new keypair in amazon, only the private key is available until you actually ssh into an instance running w/ that keypair.  This presents a chicken/egg problem where I can't retrieve the public key because I can't ssh in and I cant ssh in because I can't retrieve the public key.

Maciej Żenczykowski

unread,
Sep 19, 2015, 2:32:53 PM9/19/15
to sharif....@gmail.com, chromium-hterm, rgi...@google.com, jo...@knoesis.org, syed.raki...@gmail.com, t...@terpmail.umd.edu
Try:
ssh-keygen -y -f id_rsa
which will generate id_rsa.pub from id_rsa (although without the
comment, so you may want to add a comment)
> --
> You received this message because you are subscribed to the Google Groups
> "chromium-hterm" group.
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/370166c3-94ed-4de1-88f4-f42a4f2db786%40chromium.org.
>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to chromium-hter...@chromium.org.
Reply all
Reply to author
Forward
0 new messages