service network start安装yum install -y net-tools     ,ssh连接报警does not map back to the address - POSSIBLE BREAK

jackxiang 2014-5-6 20:33 | |
背景:
ssh作连接时:
[root@localhost ~]# ssh -l xiangdong 192.168.1.108
Address 192.168.1.108 maps to localhost, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
xiangdong@192.168.1.108's password:
Last login: Tue May  6 16:10:52 2014 from 10.70.38.87
/etc/sysconfig/bash-prompt-xterm: line 1: ifconfig: command not found ==》 yum install -y net-tools

一般是在配置无密码登录时引起的:
http://hi.baidu.com/tanggaohui/item/4fcf24372225143f2f20c4d0

GSSAPIAuthentication  这个设置项到底是什么作用了 ?
在securecrt 关闭、开启 GSSAPI,在登陆服务器时好像没什么影响。。。
答:这个是可选,而且和顺序有关,你如果使用密码认证,你进系统,和下面那个都无任何关系


ssh连接远程服务器,报警信息 Address X.X.X.X maps to localhost, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT! 如下:
[root@upgirl ~]# ssh root@192.168.0.203
Address 192.168.0.203 maps to localhost, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
root@192.168.0.203's password:
Last login: Thu Feb 21 03:01:49 2013 from desktop100.example.com

解决方法:修改本机ssh_config文件
[root@h3 ~]# vim /etc/ssh/ssh_config
GSSAPIAuthentication no

测试OK:
[root@upgirl ~]# ssh root@192.168.0.203
root@192.168.0.203's password:
Last login: Thu Feb 21 03:55:05 2013 from 192.168.0.11

来自:http://www.07net01.com/linux/sshlianjiebaojingdoes_not_map_back_to_the_address___POSSIBLE_BREAK_70559_1361425847.html
参考:http://jafy00.blog.51cto.com/2594646/810716

项目中利用ssh和rsync同步和分发文件,发现ssh登录和传输速度都很慢,问题按照如下方式解决
客户端进行如下修改
echo "GSSAPIAuthentication no" >> ~/.ssh/config
服务端
vi /etc/ssh/sshd_config
按照下面两项修改
GSSAPIAuthentication no
UseDNS no
来自:http://menjoy.iteye.com/blog/287375

作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:http://jackxiang.com/post/7178/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!


最后编辑: jackxiang 编辑于2022-3-21 00:10
评论列表
发表评论

昵称

网址

电邮

打开HTML 打开UBB 打开表情 隐藏 记住我 [登入] [注册]