文章出自http://www.2cto.com/os/201307/227199.html linux中ssh登录Permanently added (RSA) to the list of known hosts问题解决 用用户名+密码的方式登录出现以下问题: 1 [root@www]# ssh admin@xxx.xxx.xxx.xxx 2 The authenticity of host 'xxx.xxx.xxx.xxx can't be established. 3 RSA key…
修改ssh远程登录端口 1.修改ssh服务的配置文件:/etc/ssh/sshd_config ,将 Port 22 改为 Port 3120 保存退出. [root@localhost ~]# vi /etc/ssh/sshd_config 2.修改防火墙规则 # 打开防火墙配置文件 [root@localhost ~]# vi /etc/sysconfig/iptables # 同意3120端口,在文件里面添加下面一行,保存退出 -A INPUT -p tcp -m state --stat…