linux_ubuntu 连接xftp

时间:2018-03-02 14:08:36   收藏:0   阅读:1044

一、修改静态ip

打开网络配置文件 :vim /etc/network/interfaces

1.添加以下配置:

 技术分享图片

注意:ubuntu 网卡名为 ens33 。多数liunx系统的网卡名为eth0。

可以 通过ifconfig 查看网卡名称

技术分享图片

2.重启网络

sudo /etc/init.d/networking start。

二、连接 xftp

1.查看ssh服务是否开启

ps -e|grep ssh

看到“sshd”,否则表示没有安装服务,或没有开机启动。

1.1安装ssh

  sudo apt-get install openssh-server 

2.2启动服务:

 /etc/init.d/ssh start 

2.连接xftp

技术分享图片

 

补充:xshell 连接也是如此。

 

原文:https://www.cnblogs.com/getchen/p/8492499.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!