通过FileZilla连接VirtualBox 下的Centos7
来源:互联网 发布:java免费报表开发工具 编辑:程序博客网 时间:2024/06/06 19:59
在通过FileZilla连接Centos的时候,老是提示connect refused。按下面的步骤可以解决:
- 控制面板———>网络和Internet——>网络和共享中心——>更改适配器设置——>找到VirtualBox——>右键属性——>Internet协议版本 4(TCP/IPv4)——>找到IP地址为192.168.56.1(一般都是这个)
- 在Linux中,运行命令:ifconfig 得到。一般IP地址:10.0.2.15(一般都是这个)。端口号都设置为22
- 启动VirtualBox,在菜单栏中依次打开:控制——>设置——>网络——>在右侧网卡1点击高级——>端口转发 设置规则子系统IP.如下:
- 进入Linux系统,在终端运行:rpm -qa | grep ssh 查看是否存在ssh软件
- 如果没有,用yum -y install openssh-server 安装软件
- 安装完成之后,运行systemctl start sshd.service(启动sshd服务,centos7之前的命令是:service sshd start)
- 启动服务之后,配置开机项 systemctl enable sshd.service(开机启动服务,centos7之前的命令是:checkconfig sshd on)
- 在filezilla上使用的ip地址是:192.168.56.1 。输入你的用户名和密码,端口号是默认的22。
- 至此,你可以在FileZilla上连接Linux了。
阅读全文
0 0
- 通过FileZilla连接VirtualBox 下的Centos7
- 连接VirtualBox下的CentOS
- virtualbox 下centos7配置
- 在windows2008下使用filezilla连接不上的问题
- FileZilla sftp方式通过 profix 连接
- windows下virtualbox中Ubuntu与主机通过ssh建立连接的方法
- VirtualBox 下centos7 网络配置
- 虚拟机VirtualBox下安装linux(centos7)遇到的小问题
- XShell连接VirtualBox下的Linux虚拟机
- xshell 连接virtualbox虚拟机(centos7 minimal)
- virtualbox虚拟机centos7 连接ssh问题
- FileZilla无法连接ftp服务器的解决方案
- 查看FILEZILLA的快速连接密码
- FileZilla无法连接ftp服务器的解决方案
- windows通过teamviewer连接centos7
- CentOS7下宽带连接
- centos7 minimal virtualbox下无法联网问题
- centos7关于secureCRT不能通过ssh连接的问题
- 第一百三十四天 : Puppet 的使用与进阶
- Tensorflow: Graph
- 永久删除git库中的所有大文件或者机密文件
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 浅析重载、隐藏与覆盖
- 通过FileZilla连接VirtualBox 下的Centos7
- 605. Can Place Flowers
- java实现细胞自动机
- 106. Construct Binary Tree from Inorder and Postorder Traversal
- 利用Python进行数据分析.pdf
- 二叉树递归与非递归遍历
- java 回调机制
- java新特性——读写锁ReadWriteLock
- 第一百三十四天 : Puppet 的使用与进阶