SecureCRT无法连接VirtualBox中CentOS,报错为:“The remote system refused the connection.”
来源:互联网 发布:淘宝网店卖的钱在哪里 编辑:程序博客网 时间:2024/06/06 02:39
在线学习Hadoop时,需要搭建VirtualBox+CentOS+Yum开发环境,从网上下载了VirtualBox-4.3.28和CentOS 6.6,安装完成后,设置CentOS的ip地址为:192.168.137.1(此处,已经在本地主机中C:Windows\System32\drives\etc\hosts中添加了该ip地址和对应的hostname),在CentOS中ping 192.168.137.1,可以ping通,在本地主机cmd中ping 192.168.137.1或hostname也可以ping通。此时,从网上下载了SecureCRT7.1和注册机,安装完成后,建立连接时,始终无法连接成功,错误如下图所示:
针对该错误,在网上查找了很多解决办法,已经采用但没有解决问题的办法有:
1. 检查sshd服务是否开启(已开启,但仍连接不上)
service sshd status
openssh-daemon(pid 1191)is running…
2.修改ssh服务的配置文件sshd_config,手动将虚拟ip替换掉已有的ip,重启ssh服务:sshd restart
3.设置本地主机:”计算机“->”网络“->”网络和共享中心“->”更改适配器设置“->”更改本地连接的连接设置“,勾选”允许其他网络用户通过此计算机的Internet连接来连接,家庭网络连接选择你安装的虚拟机“
4.关闭CentOS防火墙:service iptables stop
经过上述多种尝试,都没有成功,后来又重新看了几遍视频教程,发现问题是因为我手动分配的虚拟ip和物理机ip不在同一个网段。
最后,我重新设置了一下虚拟ip(与物理机ip在同一个网段中),上述问题就解决了!
因为是初次接触CentOS,花费了将近一天的时间解决这个问题,最终得到的经验教训就是:不要盲目的在网络上搜索解决办法,要静下心来分析问题产生的根源,对于不懂、不了解的知识点要搞清楚。继续加油吧!菜鸟!
- SecureCRT无法连接VirtualBox中CentOS,报错为:“The remote system refused the connection.”
- SecureCRT无法连接VirtualBox中CentOS,报错为:“The remote system refused the connection.”
- secureCRT报错 The remote system refused the connection.
- SecureCRT 报错:The remote system refused the connection
- secureCRT报错 The remote system refused the connection
- secureCRT报错 The remote system refused the connection.
- secureCRT连接ubuntu问题- The remote system refused the connection
- secureCRT连接ubuntu问题- The remote system refused the connection
- secureCRT连接ubuntu问题- The remote system refused the connection
- secureCRT连接ubuntu问题- The remote system refused the connection
- SecureCRT连接ubuntu提示The remote system refused the connection.
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection.
- secureCRT The remote system refused the connection
- secureCRT The remote system refused the connection.
- 二维数组 指针数组 数组指针 二级指针
- web工程启动顺序
- spark on yarn
- GRE写作必备句型
- IOS 版本号大小比较
- SecureCRT无法连接VirtualBox中CentOS,报错为:“The remote system refused the connection.”
- Android Binder 通信机制学习(四)
- 在SAE(新浪云平台)上使用 python django库编写网站
- VS2010新建项目失败
- Foundation --- 字符串的获取
- 经典50例,可以参考一下!
- “服务器推”之websocket实现之简单聊天室
- 怎么给文件夹加密
- Android开发adb命令含义