6 ms·
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 ht
by dmuth 8y ago
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 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...)
- metabagel 8y agoThis 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.
- danyim 8y agoBrew == homebrew, and it’s mainly for macOS
- 2trill2spill 8y ago> 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.
- dmuth 8y agoOops, that's my bad. I goofed up on the URL. I fixed it in the README and feel free to try again with Homebrew. :-)