1(键)s仍待安装

时间:2016-08-11 07:34:50

标签: hadoop ssh ssh-keys ssh-keygen

在不问密码的情况下制作ssh。我尝试了以下

ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub user@192.168.200.4

它显示以下错误:

snapshot

2 个答案:

答案 0 :(得分:0)

尝试运行" ssh-add"在您的客户端PC上。它应该解决问题。

基本上它起作用的原因是(引自here):

  

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } 将RSA或DSA身份标识添加到身份验证代理ssh-add。在没有参数的情况下运行时,它会添加文件ssh-agent(1)~/.ssh/id_rsa~/.ssh/id_dsa

答案 1 :(得分:0)

  

它显示以下错误:

没有错误。它说它将你的密钥复制到服务器。