ssh keygen 免輸入密碼
上一篇 /
下一篇 2008-11-30 22:09:37
/ 个人分类:ssh 资料
- 文件版本: V1.0
- 开发商: 本站原创
- 文件来源: 本地
- 界面语言: 简体中文
- 授权方式: 免费
- 运行平台: Win9X/Win2000/WinXP
51Testing软件测试网1uBs_m.Sg懶得打密碼, 以 key 做認證登錄.
+B0l-s.~T#e0
51Testing软件测试网#{+Dm.d(}n步驟如下:51Testing软件测试网2UR8p3KAR6x5{
- ssh-keygen -t rsa 或 ssh-keygen -d (dsa) => 產生出 id_rsa, id_rsa.pub
- scp id_rsa.pub server_hostname:~/.ssh/
- ssh server_hostname
- cat .ssh/id_rsa.pub >> .ssh/authorized_keys 即可
- 這樣子就可以 key 認證登入, 不需輸入密碼.
51Testing软件测试网"N3cY@
h7Q$TPS:51Testing软件测试网^H"H.o:z
gen 時會問 Enter passphrase (empty for no passphrase):
*Lf(Q {\0此處直接 enter 跳過,下次才不會詢問password
%W3pI7J!mW6^#@YX*C0
*Ca7R?!Z0
51Testing软件测试网j-SxH&r