Re:Shuttle - A simple SSH shortcut menu for OS X
by oogali on Thursday July 11, 2013 @09:57AM
(#6026002)
I use ~/.ssh/config and have the following in my .bashrc:
https://gist.github.com/oogali/5975670
Tab completion for scp/sftp/ssh based on my ~/.ssh/config.
Re:Shuttle - A simple SSH shortcut menu for OS X
by zeckalpha on Thursday July 11, 2013 @08:41AM
(#6025657)
"... it makes it easy to generate a dynamic list of hosts from your hosting provider (if they have an API), so you're always up-to-date."
It should at least provide a mapping from the json to ~/.ssh/config formats.
Re:Shuttle - A simple SSH shortcut menu for OS X
by sneak on Thursday July 11, 2013 @09:52AM
(#6025976)
The Host directive in an ssh_config file supports wildcards.
Re:Shuttle - A simple SSH shortcut menu for OS X
by schrodingersCat on Thursday July 11, 2013 @08:42AM
(#6025664)
They said the purpose of using a .json file was so that your configuration could be synced by dropbox or some other cloud service. I would NOT put my .ssh with all my private keys on dropbox.
Re:Shuttle - A simple SSH shortcut menu for OS X
by eieio on Thursday July 11, 2013 @08:56AM
(#6025725)
You could just make ~/.ssh/config a symlink to your config file in your dropbox folder. No need to put private keys on dropbox.
Re:Shuttle - A simple SSH shortcut menu for OS X
by thejosh on Thursday July 11, 2013 @09:25AM
(#6025854)
Yep.
Symlink'ing a ssh config file with Dropbox was the best decision I've made in a long time.
Same config file no matter which PC I am using, and you can always look up the IP/Hostname and which key it uses (don't store keys on dropbox for "critical" systems) through the dropbox web interface.
Re:Shuttle - A simple SSH shortcut menu for OS X
by schrodingersCat on Thursday July 11, 2013 @09:26AM
(#6025860)
I agree, this would make a lot more sense...
Re:Shuttle - A simple SSH shortcut menu for OS X
by geeksunny on Thursday July 11, 2013 @11:28AM
(#6026644)
I agree with you there. I have an app that I've been building that works exactly like Shuttle but reads from ~/.ssh/config and has a front-end for editing as well.
Re:Shuttle - A simple SSH shortcut menu for OS X
by emehrkay on Thursday July 11, 2013 @09:13AM
(#6025796)
Im such a noob. Thank you for introducing me to this
I wonder why it's not reading ~/.ssh/config btw, should be doable.