Show HN: Invite friends to SSH into your laptop using their GitHub handle
91–100 of 105 posts
Re: Show HN: Invite friends to SSH into your laptop using their GitHub handle
#92> ssh-import-I'd gh:my-gh-name That little command will pull down your GitHub public keys and add them to authorized key file for the user who runs it. Great for setting up new computers. I run it on boot-time for imbedded devices so that I can always access them.
That's cool, but it seems like a lot of code to do something that: - You can do in one line of bash: curl https://github.com/user.keys >> ~/.ssh/authorized_keys - The bash one-liner is transparent and educational: it tells you clearly and intuitively where the keys are coming from and where they're going, educating users about the existence of the Github/Gitlab-published keys and about how the authorized_keys file wo…
Re: Show HN: Invite friends to SSH into your laptop using their GitHub handle
#93Earlier quoted context omitted.
Just making a critique of the concept. Didn't think that was against any guidelines.
If you're going to start your sentence by the heavily condescending "Yeah, what a great idea", then don't pretend you don't understand how that could be against the rules. You can't have your lunch and eat it. Especially if you're not going to provide some facts / hard evidence to back up your assertion that this is, in fact, not a good idea.
I'm not clear though - I'm to expect hackernews has rules which demand I weasel-word my criticisms? That seems ridiculous.
Re: Show HN: Invite friends to SSH into your laptop using their GitHub handle
#94Earlier quoted context omitted.
If you're going to start your sentence by the heavily condescending "Yeah, what a great idea", then don't pretend you don't understand how that could be against the rules. You can't have your lunch and eat it. Especially if you're not going to provide some facts / hard evidence to back up your assertion that this is, in fact, not a good idea.
I think the rest of my statement backed that up pretty well. I'm not clear though - I'm to expect hackernews has rules which demand I weasel-word my criticisms? That seems ridiculous.
Re: Show HN: Invite friends to SSH into your laptop using their GitHub handle
#95Note to the author: Please don't have a command line flag that either means ( a valid local posix path ) or ( a username/handle from a specific online service that will be fetched over the network ). *nix cli tools are supposed to be unambiguous. I'd fork/issue/patch it, but I don't have a need to let people ssh into my any of my boxes. Just posting this here because its a valid learning opportunity that making somet…
Re: Show HN: Invite friends to SSH into your laptop using their GitHub handle
#96Publishing the public key that you use to push to github/gitlab is not a big issue... But Re-using your github key-pair, to connect to other unknown and uncontrolled places, _is_ a security issue. Even re-using your daily system user, for this, is a security issue. But if you never did read the sshd_config man page, or never did play with its options, maybe you're unaware of this. Also the sshd could be modified at s…
Can you explain how this could be exploited (assuming that the user does not ignore warnings)?
Stuff like:
https://m.theregister.co.uk/2016/01/14/openssh_is_wide_open_...
seem to indicate that a patched ssh client should (no longer) leak private keys without the -A parameter...
Re: Show HN: Invite friends to SSH into your laptop using their GitHub handle
#97Hey HN - This is basically a hosted version of Teleport[0], which may scare some people. We don't store the sessions and you can always self-host if you prefer. [0] http://gravitational.com/teleport/
I suppose if you have an Internet-facing server to run teleport on, there are fewer reasons to use teleconsole - but I could see it still being useful? (for eg help troubleshooting workstations or servers/clusters behind firewall/Nat for people outside the organisation - volunteering, "helping a friend" or consulting)?
Re: Show HN: Invite friends to SSH into your laptop using their GitHub handle
#98Earlier quoted context omitted.
That's cool, but it seems like a lot of code to do something that: - You can do in one line of bash: curl https://github.com/user.keys >> ~/.ssh/authorized_keys - The bash one-liner is transparent and educational: it tells you clearly and intuitively where the keys are coming from and where they're going, educating users about the existence of the Github/Gitlab-published keys and about how the authorized_keys file wo…
Executing the curl command with no error checking and blindly appending it to your ~/.ssh/authorized_keys could easily bork the latter. Wrapping it in a fancy command allows for error checking and response validation. Otherwise you could end up the source of https://github.com/503.html in there!
Re: Show HN: Invite friends to SSH into your laptop using their GitHub handle
#99Earlier quoted context omitted.
Executing the curl command with no error checking and blindly appending it to your ~/.ssh/authorized_keys could easily bork the latter. Wrapping it in a fancy command allows for error checking and response validation. Otherwise you could end up the source of https://github.com/503.html in there!
Perhaps, but the simplicity of the curl command provides enough insight into exactly what it does to understand what precisely it does and what could go wrong. I can see what file it's writing to, I can check that file, I can be pretty sure it's not doing anything else weird behind the scenes.
Re: Show HN: Invite friends to SSH into your laptop using their GitHub handle
#100Earlier quoted context omitted.
You argument is biased and non-factual. Default ssh measures keep un-trusted entities from gaining access, normally. Conversely, once access is granted by the admin to trusted entities, the normal UNIX permissions continue to provide means by which access to the file system is limited by user permissions. Thus, simply by an admin granting access to a system, your (hypothetical) arguments become false and pointless to…
You must be kidding me. My "argument " is a question . My "hypotetical arguments" consist of me asking if there is some thing stopping people from scp'ing things to my computer then running them . You talk like phishing and privilege escalation weren't things that exist. Have you ever managed any public-facing service of any importance?
I would note that using biased arguments is an inefficient process in most cases. It's akin to recursion of a process which, in my experience, has brought many a more server to its knees than a hypothetical threat from double authorized access (hash + key).