TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A command line tool to manage your ssh connections

34 pointsby thrombaabout 12 years ago

15 comments

spindritfabout 12 years ago
Is it really easier than just editing ~/.ssh/config? In the config, you can use wildcards for groups of servers<p><pre><code> Host *.whatever.net IdentityFile ~/.ssh/whatever-key ServerAliveInterval 10 port 1022 </code></pre> and then add specific information and aliases per host<p><pre><code> Host someserver.whatever.net someserver ss Hostname someserver.whatever.net User spin Host otherserver.whatever.net otherserver os Hostname otherserver.whatever.net User dritf </code></pre> Plus, since you probably edit it only once in a while, you don't need to remember the syntax and can simply base new additions on existing entries.
评论 #5743849 未加载
评论 #5743870 未加载
_b8r0about 12 years ago
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.<p>Manage your SSH like a boss? Perhaps, but only in the pointy-haired can't-read-man-ssh_config boss sense of the word.<p>For those that don't want to install a script and would prefer to understand the tools they already have try this:<p><a href="http://nerderati.com/2011/03/simplify-your-life-with-an-ssh-config-file/" rel="nofollow">http://nerderati.com/2011/03/simplify-your-life-with-an-ssh-...</a>
评论 #5743764 未加载
njharmanabout 12 years ago
I agree with the comments to just freakin edit your .ssh/config. But, it clearly states "SSH like a boss". The implication I take means "configure ssh for people who don't know how to use an editor, can't read man page, don't know where man pages are, and can't find/don't know about .ssh."<p>So, not for us. We can move along and be happy someone else is taking care of those people.
评论 #5744450 未加载
coherentponyabout 12 years ago
<p><pre><code> vim ~/.ssh/config</code></pre>
markeganfullerabout 12 years ago
I've built a script that creates the config by querying EC2 for servers, this avoids having to pass around server names when new servers are created. Just run the script and every server is added.
dylanzabout 12 years ago
When I saw the project name, the first thing I thought of was: <a href="https://github.com/nathanmarz/storm" rel="nofollow">https://github.com/nathanmarz/storm</a>
评论 #5745731 未加载
jonsherrardabout 12 years ago
Honest question:<p>Why is this preferable to using:<p>vim/emacs/subl/nano ~/.ssh/config ?
评论 #5743981 未加载
twundeabout 12 years ago
Very cool. I'd love to actually set this up with some scripts as a way to manage server migrations or new servers<p>I'm actually working on a web-based gui for managing ssh configs and I'm likely to switch to python and reuse some of this
评论 #5744237 未加载
anonymouzabout 12 years ago
What does this add over just editing ~/.ssh/config with $EDITOR?
评论 #5744190 未加载
评论 #5743706 未加载
kaoliniteabout 12 years ago
In OS X, by pressing Cmd+Shift+K whilst in Terminal.app, you can save SSH, SFTP, FTP and telnet connections. Personally I don't use it but some people might prefer it.
martinpabout 12 years ago
I read through the readme and I couldn't figure out how this is an improvement over ssh_config(5), other than adding Yet Another Dependency.
kijinabout 12 years ago
If this could make key management significantly easier (e.g. no need to rely on the buggy GNOME keychain app) or make it easier to manage persistent connections (ControlMaster is trivial, but juggling dozens of connections and gracefully terminating/resuming them is not), maybe it would be genuinely useful.<p>For the time being, though, this just looks like a lightweight editor for ssh_config.
rurbanabout 12 years ago
The boss wants putty, the user can edit .ssh/config by himself already.
cyholicabout 12 years ago
more easy to write bash aliases like alias ssh-web="ssh username@host" and you take bash completion support
评论 #5743692 未加载
评论 #5743697 未加载
peterwwillisabout 12 years ago
I can see this being useful if you have lots of keys and the server kicks you when you try too many of them, but in theory you really shouldn't need more than one key.<p><a href="http://www.funtoo.org/wiki/Keychain" rel="nofollow">http://www.funtoo.org/wiki/Keychain</a>
评论 #5743906 未加载