Live data from Hacker News

Secure Shell chrome (killer) app

chrome.google.com

101–110 of 178 posts

Re: Secure Shell chrome (killer) app

#101

To all those who question the value of this, it's that we now have a new ssh client that runs everywhere Chrome runs. Additionally and non-trivially, the innards of the terminal UI is now exquisitely accessible to the legions of developers who know HTML and CSS. Presumably it's a small step to embedding cross-domain SSH into a webapp. That said, there are minuses. The big minus is that Chrome, like literally every pi…

runs everywhere Chrome runs.

Does it run on ARM?

Re: Secure Shell chrome (killer) app

#102
post #71
post #50

I opened chrome to check this out, but it wants me to "sign in" to install the extension. For me this is a bridge too far: I don't care to tell google about every single extension/application (extensplication?) I'm using. Like many people, I'm trying to step back from google/facebook snooping, and this would be a solid step toward such big brothering. I suppose next they'll see what email providers I use and whom I c…

If your bank account recovery link gets emailed to your Gmail account, you have more to worry about if Google decides to abuse your information.

I often fail at being polite to people online, and people like you are the reason.

Trust me when I tell you this:

Google will never steal money from your bank account, by using a password recovery link that you had emailed to your GMail account.

Does that really need to be said? Do you really need CONVINCING of this?

Re: Secure Shell chrome (killer) app

#103
I'm not very impressed... although it's partly implemented in HTML (only partly - even though modern JavaScript engines should be more than capable of handling SSH, the implementation is just OpenSSH in Native Client), this is no citizen of the web, and never can be, as trusting an app to connect directly to arbitrary ports and handle all your SSH connections fundamentally subverts the web's security model. Benefits over a native app:

- It's sandboxed - big deal, if sandboxing SSH were a real concern then it's a call to sandbox-exec(1) away.

- It could theoretically be extended to support HTML-based console interfaces - but sticking a web view in a regular terminal would solve this just as well with less overhead.

(Note the lack of benefits that usually apply to webapps: multiple browser implementations; written in a high-level language, which increases hackability [you might be able to get some of that]; don't need to trust the app; page-based paradigm allows deep linking.)

Drawbacks:

- Slow. The FAQ says it's intended to compete performance-wise, and it's reasonably fast, but comparing the behavior of 'ls' or, more dramatically, 'cat /usr/share/dict/words' or 'yes' (try interrupting it) demonstrates that it doesn't quite hold up. *

- You have to trust a silently updating, non-downgradeable app with your data. I guess people already do this with Chrome, but terminal emulators don't exactly benefit from constant updates in the way browsers do.

- Non-native - if you're on Chrome OS, this is a benefit, because Web is native, but on other operating systems, you lose the look and feel of the OS (from Terminal.app: useful cmd-tab, transparent window backgrounds, Lion fullscreen mode, Lion auto reopen, other applications can launch the terminal, native keyboard shortcuts, ctrl-w...) for no reason.

- The current version requires an account(!!)

- The current version is buggy - when I try it, just typing "ls" messes up the terminal so that it's not fully scrolled down. I guess this will be ironed out soon, but existing terminal emulators are highly stable.

*edit: or 'bb', heh - Terminal doesn't exactly handle it well (it's a good demonstration of the superior performance of xterm), but at least it doesn't hang like this terminal

Re: Secure Shell chrome (killer) app

#104
post #31
post #21

this is insanely awesome. as it stands right now, yes its "just ssh". But open up the developer toolbar and you'll notice this thing is rendering HTML inside of webkit. It doesn't take a genius to see this is a few baby steps from making it possible to render arbitrary graphics in the shell. edit: I might go out on a limb here and say this project is something that is going to be looked at as a real inflection point…

as the day SSH became vulnerable to CSS cross-domain exploits :)

Any input receivable by OpenSSH, regardless of whether it is valid user input or malicious input being delivered by a cross-domain attacker, mustn't result in exploit. If so, it's a bug in OpenSSH, not the fault of the developer who integrating the existing OpenSSH code into a new environment.

Unless, of course, the developer integrating the existing OpenSSH code did so in a way that's not the formal OpenSSH interface. Like if he had to do some kind of dirty hack. But he shouldn't have to for this project.

Re: Secure Shell chrome (killer) app

#105
post #101

To all those who question the value of this, it's that we now have a new ssh client that runs everywhere Chrome runs. Additionally and non-trivially, the innards of the terminal UI is now exquisitely accessible to the legions of developers who know HTML and CSS. Presumably it's a small step to embedding cross-domain SSH into a webapp. That said, there are minuses. The big minus is that Chrome, like literally every pi…

runs everywhere Chrome runs. Does it run on ARM?

https://play.google.com/store/apps/details?id=com.android.ch...

Re: Secure Shell chrome (killer) app

#106

This is cool hack but a terrible idea. Why do I want some bloated web browser wrapping a lightweight terminal?

because having a web browser just be a web browser is apparently an outdated concept. Or something.

I mean sure, opening up an ssh client is 4 keystrokes for me (on windows) but we need to have it integrated into the browser so firefox (or chrome in this case) can find a way to be even more of a bloated memory pig.

Re: Secure Shell chrome (killer) app

#107

Earlier quoted context omitted.

the complete list of software i use day-to-day consists of a web browser and a terminal emulator. if i switched over to this, that list goes down to just a browser. maybe some people don't care, but i think it's pretty cool.

I don't like the idea of using a single app for everything. I have tons and tons of (personal) reasons, but the most obvious and un-solvable reason is: I can switch between terminal emulator and web browser with Command+Tab. If they were both the same thing, I couldn't do it and I would be very disturbed and confused. The same reason I don't use GMail web app and use Mail.app instead, or Reeder.app or iCal.app or iTu…

Not to be too sarcastic. But what's wrong with opening multiple chrome windows?

Re: Secure Shell chrome (killer) app

#108
post #104
post #31

Earlier quoted context omitted.

as the day SSH became vulnerable to CSS cross-domain exploits :)

Any input receivable by OpenSSH, regardless of whether it is valid user input or malicious input being delivered by a cross-domain attacker, mustn't result in exploit. If so, it's a bug in OpenSSH, not the fault of the developer who integrating the existing OpenSSH code into a new environment. Unless, of course, the developer integrating the existing OpenSSH code did so in a way that's not the formal OpenSSH interfac…

I don't see how the OpenSSH code is expected to automagically insure that keystrokes sent from Google Chrome came from intentional user generated actions.

Any XSS type vulnerabilities in this are likely the result of issues with the extension itself rather than OpenSSH, IMO.

Re: Secure Shell chrome (killer) app

#109
post #103

I'm not very impressed... although it's partly implemented in HTML (only partly - even though modern JavaScript engines should be more than capable of handling SSH, the implementation is just OpenSSH in Native Client), this is no citizen of the web, and never can be, as trusting an app to connect directly to arbitrary ports and handle all your SSH connections fundamentally subverts the web's security model. Benefits…

I'm not sure what problem you're having with ls, but emacsclient -t and list-colors-display works perfectly for me. If it does Emacs, my needs are met :)

Re: Secure Shell chrome (killer) app

#110
post #31
post #21

this is insanely awesome. as it stands right now, yes its "just ssh". But open up the developer toolbar and you'll notice this thing is rendering HTML inside of webkit. It doesn't take a genius to see this is a few baby steps from making it possible to render arbitrary graphics in the shell. edit: I might go out on a limb here and say this project is something that is going to be looked at as a real inflection point…

as the day SSH became vulnerable to CSS cross-domain exploits :)

The app opts-in to a strict Content Security Policy " rel="nofollow">http://www.w3.org/TR/CSP/>, which disallows 'eval' entirely. It also severely restricts where and how JS can be loaded with the script tag, setTimeout/setInterval, and event attrbites. It's essentially intended to make sure that only the JS that shipped with the extension can be executed.

There may be undiscovered exploits, of course, but CSP severely reduces the chances.

Post reply on HN