Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1040133
  • 博文数量: 227
  • 博客积分: 5951
  • 博客等级: 大校
  • 技术积分: 2598
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-22 17:42
文章分类
文章存档

2015年(2)

2014年(12)

2013年(16)

2012年(22)

2011年(19)

2010年(36)

2009年(77)

2008年(39)

2007年(16)

我的朋友

分类: WINDOWS

2014-06-05 15:11:52

1.首先 linux 上要安装 yum install openssh-server 然后root cd ~ 然后 chkonfig –level 35 sshd (这个是保证linux 重启后自动开启sshd 服务)临时测试 直接service sshd restart


2.windos 下可以使用setupssh381-20040709 ssh 客户端 连接时

ssh 192.168.0.2 -l root 提示输入 要访问的linux主机root 密码


如果断开后再次连接可能会出现 known_hosts 错误 就把提示下文件删除就OK
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
4e:9b:3e:a5:58:82:68:9f:82:03:72:78:c8:71:27:32.
Please contact your system administrator.
Add correct host key in /cygdrive/c/Users/Administrator/.ssh/known_hosts to get
rid of this message.
Offending key in /cygdrive/c/Users/Administrator/.ssh/known_hosts:1
RSA host key for 192.173.173.178 has changed and you have requested strict check
ing.
Host key verification failed.


3.尽量不要修改linux 主机的语言编码环境。(有些乱码同学们喜欢修改,建议直接英文环境)


Linux 下同样会出现此问题,删除对应文件即可。

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
53:5f:77:85:49:d4:6d:fe:2f:d0:3c:a7:c9:2c:42:0b.
Please contact your system administrator.
Add correct host key in /home/myworld/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/myworld/.ssh/known_hosts:1
ECDSA host key for 192.173.173.178 has changed and you have requested strict checking.
Host key verification failed.

阅读(6442) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~