TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Use a config file to SSH into a server

8 点作者 ikarandeep大约 11 年前

6 条评论

cones688大约 11 年前
Why does no one ever mention ssh-copy-id?! Is part of Openssh and copies across your default pub key to the server in question.<p>ssh-copy-id user@server<p>Edit: Add more info
评论 #7690449 未加载
评论 #7690777 未加载
评论 #7690425 未加载
评论 #7690433 未加载
评论 #7690469 未加载
jjjeffrey大约 11 年前
This is great!<p>Some other things about ssh that everyone knew but me (until I found out):<p>-scp supports bash completion for files on the server if you use a key pair.<p>-Keychain (<a href="http://www.funtoo.org/Keychain" rel="nofollow">http:&#x2F;&#x2F;www.funtoo.org&#x2F;Keychain</a>) makes having a password on your private key less of a hassle by prompting for your password when you first log in to your local account and using that when you ssh. (ssh-agent alone is similar but requires your password for every new login session).
tmikaeld大约 11 年前
Nice article, you could add this for added wow factor<p><a href="https://github.com/emre/storm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;emre&#x2F;storm</a>
api_or_ipa大约 11 年前
Usually after setting up ssh RSA keys, I&#x27;ll alias it to something significantly shorter. Works pretty good.
lardissone大约 11 年前
I would love a kind of launcher for hosts in config file. Say, something like:<p><pre><code> ~ sshlaunch[enter] Select host: [0] Test1 [1] Test2 [2] Test3 Enter host number and hit enter:</code></pre>
评论 #7691340 未加载
gjvc大约 11 年前
what&#x27;s next? tail(1)?
评论 #7690849 未加载