News for hackers. Stuff that matters.
Re:Ask HN: Developers, how do you keep SSH and web URLs orga... by dmuth on Friday June 15, 2018 @03:33PM (#17322800)
For SSH, I actually wrote a tool to keep track of all of the hosts (and host groups) that I connect to on a regular basis:

https://github.com/Comcast/ssh-to

I'm responsible for a few hundred servers at this point, and the tool has scaled nicely for connecting to them, and occasional "run this one-off command across a series of servers". (But if it's more than once, you'll seriously want to use Ansible for that...)

Re:Ask HN: Developers, how do you keep SSH and web URLs orga... by metabagel on Friday June 15, 2018 @04:13PM (#17323154)
This looks nice. I wasn't able to install it using Brew, which I'm not familiar with. When I installed Brew on Ubuntu, brew doctor gave me warnings, and it also failed to install the repository...

paul@ubuntu:~/src/wimo$ brew tap comcast/opensource github.com:Comcast/homebrew-opensource.git ==> Tapping comcast/opensource Cloning into '/home/paul/.linuxbrew/Library/Taps/comcast/homebrew-opensource'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. Error: Failure while executing: git clone github.com:Comcast/homebrew-opensource.git /home/paul/.linuxbrew/Library/Taps/comcast/homebrew-opensource --config core.autocrlf=false --depth=1

So, I just plopped the ssh-to shell script into my ~/bin folder.

Re:Ask HN: Developers, how do you keep SSH and web URLs orga... by danyim on Friday June 15, 2018 @04:37PM (#17323337)
Brew == homebrew, and it’s mainly for macOS
Re:Ask HN: Developers, how do you keep SSH and web URLs orga... by dmuth on Friday June 15, 2018 @10:28PM (#17325468)
Oops, that's my bad. I goofed up on the URL. I fixed it in the README and feel free to try again with Homebrew. :-)
Re:Ask HN: Developers, how do you keep SSH and web URLs orga... by 2trill2spill on Friday June 15, 2018 @05:28PM (#17323719)
> This looks nice. I wasn't able to install it using Brew, which I'm not familiar with. When I installed Brew on Ubuntu, brew doctor gave me warnings, and it also failed to install the repository...

Why are you using Homebrew on Ubuntu? Homebrew is a MacOS package manager.

Re:Ask HN: Developers, how do you keep SSH and web URLs orga... by shakna on Friday June 15, 2018 @05:55PM (#17323947)
Linuxbrew [0] is a Linux-oriented frontend for Homebrew.

[0] http://linuxbrew.sh/

Re:Ask HN: Developers, how do you keep SSH and web URLs orga... by popman on Sunday June 17, 2018 @10:15PM (#17335526)
Thanks for mentioning this. Real nifty.