Personal developer blog covering practical topics in SSH, Python, Git, PostgreSQL, and networking.
HN links it mostly for its SSH config file guide, which commenters recommend as a straightforward way to simplify everyday SSH use.
>Was the whole password to SSH key switch annoying at all for anyone else?
Never was an issue for me because I'd always been using keys in the first place. I imagine it's less common for folks who don't manage servers, but all of my prior ssh usage had switched to keys over a decade ago.
>Like procedurally its simple but I have a bunch of accounts, a bunch of different repos.
Definitely recommend looking into creating a ssh config if you're using different keys per account. (Notably you can set your IdentityFile (key to use) per host (which can also be set as something arbitrary like "gh-username")
There's a pretty friendly post here:
https://nerderati.com/2011/03/17/simplify-your-life-with-an-ssh-config-file/
>Let me use a password if I want, these security requirements are becoming increasing absurd
I don't want my software dependencies to be compromised just because someone reused a password.
>Passwords are 100% the weakest link in our beep boop chain of trust, of course - we know this. But maybe they should just be rethought from the ground up instead of randomly affecting your users all the time with security nonsense.
Keys are rethinking it from the ground up (which seems to be the complaint), though there certainly are challenges in managing keys as well.
I've been working on customized EC2 instances, DO droplets and Nitrous (https://pro.nitrous.io) since 2012 and haven't looked back. There is the issue of connectivity, but I'm unproductive without an internet connection so it has worked well for me.
I use tmux and then connect to the session from work, home, etc... and setup ssh config (http://nerderati.com/2011/03/17/simplify-your-life-with-an-ssh-config-file/) so I have shortcuts to all of my remote machines. App environments are built with docker, snapshotted, and pushed to dockerhub.
I hate to be snarky but having read through the code this really isn't a big thing. It's a tool for people that can't use .ssh/config.
Manage your SSH like a boss? Perhaps, but only in the pointy-haired can't-read-man-ssh_config boss sense of the word.
For those that don't want to install a script and would prefer to understand the tools they already have try this:
http://nerderati.com/2011/03/simplify-your-life-with-an-ssh-config-file/
I agree with you, having the ability to script everyday tasks is awesome, though however in the case of the ssh wrapper it might be a little overkill, given that you can achieve the same (and more) with a ssh_config file [1] [2]. I would particularly recommend the ControlMaster option.
[1] http://nerderati.com/2011/03/simplify-your-life-with-an-ssh-config-file/
[2] http://linux.die.net/man/5/ssh_config
Yep. 100% with you on that one.
And it's not that hard to setup.
I found this as a great resource: http://nerderati.com/2011/03/17/simplify-your-life-with-an-ssh-config-file/
> .ssh/config
Do you mean this or something not described there?
https://nerderati.com/2011/03/17/simplify-your-life-with-an-ssh-config-file/