Ssh2
Dev tools
ssh client helper
SHOW HN2015
How HN took it
1 positive, 11 neutral or asking, 4 mixed, 8 critical, out of 24 comments about the project. Thread score -0.22.
Idea: 1 for, 4 againstExecution: 0 for, 3 againstPrivacy: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Useful idea for temporary EC2 instances
From 2 comments
If your servers are 'permanent', then give them a short hostname and put them in your .ssh/config and DNS (or hosts file). 'ssh cron' or 'ssh archive' and connecting directly is…
vacri on HNI made it primarily for my temp servers, it's also useful if you keep restarting a box as the DNS name changes on reboot. As someone else also mentioned I think a nice addition…
soheil on HN
Good tool concept
From 2 comments
Pack this up and get it on PyPI! Nice simple little script but quite inconvenient to get onto a system, especially if one prefers using package managers.
josefdlange on HNNice work! Consider something like mkstemp() or mkdtemp() instead (really, it should be marked 'insecure' until updated.)…
jamiesonbecker on HN
Objections
Name ssh2 clashes with the SSH protocol version name
From 3 comments
The name is confusing. https://en.wikipedia.org/wiki/Secure_Shell#Version_2.x
rascul on HNNobody does a quick Google search for name clashes these days? "ssh2" is the name of the protocol, to distinguish from SSH protocol 1.0.
asveikau on HNAgreed, ECSSH2 is either a convoluted replacement or a nice play on both technologies depending on how you look at it... although that could be confused with ECDSA - naming…
voltagex_ on HN
Hardcoded /tmp path is insecure
From 2 comments
Nice idea, but needs a bit of refactoring: hardcoded paths like '/tmp/.ssh2_list' should not be used. This is insecure and wouldn't work on (most) multi user systems. Something…
justinsaccount on HNNice work! Consider something like mkstemp() or mkdtemp() instead (really, it should be marked 'insecure' until updated.)…
jamiesonbecker on HN
Existing ~/.ssh/config already solves this
From 3 comments
Yeah that's what I do too. How is ssh2 any better? Especially considering (IIRC) that tab-complete works for ~/.ssh/config .
dajohnson89 on HNVery useful. I'm currently using ~/.ssh/config. I gave nickname for the servers and all parameters are in the config: ``` Host my-foo HostName 54.xx.xx.xx User my_user…
rhapsodyv on HNI was about to post the same. ~/.ssh/config with identity files (certs) is the right way to ssh. And ssh config entries can be used in other software, for example I use them in mc.
Shorel on HN
Requests
Match on instance name instead of index number
From 3 comments
Nice idea, but needs a bit of refactoring: hardcoded paths like '/tmp/.ssh2_list' should not be used. This is insecure and wouldn't work on (most) multi user systems. Something…
justinsaccount on HNSince this is Python, you can use the built-in tempfile module to securely create/delete temporary files https://docs.python.org/2/library/tempfile.html Additionally, a feature…
jessedhillon on HNI made it primarily for my temp servers, it's also useful if you keep restarting a box as the DNS name changes on reboot. As someone else also mentioned I think a nice addition…
soheil on HN
Package on PyPI
From 1 comment
Pack this up and get it on PyPI! Nice simple little script but quite inconvenient to get onto a system, especially if one prefers using package managers.
josefdlange on HN
VPC support
From 1 comment
Thanks for clarifying the reboot sequence, I do, however, stop/start instances on a regular basis to save cost. Also good to know VPC behaves differently in that respect. I'm…
soheil on HN
Questions
Why use this instead of DNS names for instances
From 2 comments
I'm curious: why would I use this over just assigning DNS names to the instances?
deathanatos on HNDNS names where? How long does it take for the updates to get to whatever resolver you're using?
voltagex_ on HN
Where are SSH private keys stored
From 1 comment
What stores the SSH private keys ? I hate having to manage my private keys across work machines.
setheron on HN
Alternatives named
ish by grahamc
From 1 comment
A related tool, I wrote ish: https://github.com/grahamc/ish which lets you log in to a machine by name, tag, instance ID, AMI, etc.
grhmc on HN
Hand-written ~/.ssh/config entries
From 2 comments
Very useful. I'm currently using ~/.ssh/config. I gave nickname for the servers and all parameters are in the config: ``` Host my-foo HostName 54.xx.xx.xx User my_user…
rhapsodyv on HNI have all my servers listed in my .ssh/config file with nice short names. With a simple alias on the command "grep -A1 '^H' .ssh/config | grep -v '--'", I can display the full…
reacweb on HN
moltar
From 1 comment
This is my take on this: uses a tagging convention on your EC2 instances. Can also run commands in parallel over a set of instances. https://github.com/madebymany/moltar…
dwb on HN