论坛风格切换切换到宽版
  • 612阅读
  • 2回复

[问题求助]老问题ssh [复制链接]

上一主题 下一主题
离线yuxing4.
 
发帖
2157
C币
-198889
威望
368
贡献值
1
银元
-1
铜钱
4736
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
还是想不.用密码即.可登陆,按照cu的帖子作了可是不行,提示:外贸
The authenticity of host '211.90.18..20 (211.9.0.18.20)' can't be .established..
RSA1 key fingerprint is .7f:05:f3:f1:33:de:52:90:.71:d3:0b:f6:ec:ac:33:3a.[成人用品]
Are you sure you want to c.ontinue connecting (yes/no)? y.es健康
Warning: Per.manently. added '211.90.18..20' (RSA1) to the list of known hosts.教育


具体做法是:
1.. Install SSH     外汇
2. Create two users. user.1 a.t liunx1 and user2 at linux2. .
3.. On linux1, login as user1. do .(广告)
ssh-keygen .-P "" -t.rsa1 -f ~/.ssh/identity --- 印刷
4.. Copy ke.y file to linux2 .
scp /home/user1/.s.sh/ident.ity.p.ub user2@linux2:/home/user2/.ssh/authorized_keys .
5.. Change fi.le permission (        游戏          )
chmod 600. /home/user.1/.ssh/identity.pub <性病>
6. change ssh config file: /etc/ss.h/ssh_confi.g             杀毒
Ad
Host *
Forwa.rdX11 yes              电子
IdentityFile ~/.ss.h/ide.ntity .
Protocol 1
7. Restart ssh.d .
8. l.ogin to li.nux2 as user2.              电子
9.Ch.ange file permission .
chmod 600 /h.ome/user2/.ssh/auth.orized_keys            女人
1.0. Restart sshd --------------彩票
那位指.点一下,谢谢!拜托说的详细点:)我的是rd9,ssh是3..6.1学习

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线fishleong.
发帖
1929
C币
-61154
威望
331
贡献值
1
银元
-1
铜钱
4179
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
1. Install SSH

2. Create two users. user1 at liunx1  and user2 at linux2.

3. On linux1, login as user1. do

    ssh-keygen -P "" -t rsa

4. Copy key file to linux2

scp /home/user1/.ssh/id_rsa.pub   user2@linux2:/home/user2/.ssh/authorized_keys

5. Change file permission on linux2

chmod 600 /home/user2/.ssh/authorized_keys

6. test ssh linux2

    On linux1, login as user1. do

    ssh user2@linux2

    这时候将不会提示你输入密码了。
复制代码

离线aeleven.
发帖
2203
C币
-262342
威望
435
贡献值
1
银元
-1
铜钱
5068
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
不行啊,还是要密码
快速回复
限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
上一个 下一个