linuxFTP的一些知识


一.gssftp,vsftp与xinetd

1.xinetd是超级守护程序,管理着许多服务.所以可以通过service xinetd start启动。
2.gssftp是Redhat linux企业版自带的FTP工具。包含在/etc/xinetd/gssftp下。提供krb5验证机制。gssftp也是依附于xinetd服务,配置文件即
  /etc/xinetd.d/gssftp,将disable设置为no且server_args设置为 -l,即可启用。gssftp也是RedHat企业版自带的ftp工具
3.vsftp也是FTP服务器软件,功能比gssftp完备。也是推荐使用的FTP服务器软件。它是独立守护
  程序。推荐使用,号称very safe ftp,主要配置文件是:/etc/vsftpd/vsftpd /etc/vsftpd.ftpusers /etc/vsftpd.user_list 主要用于用户的访问控制。
  建议将userlist_deny=YES。更改完配置service vsftpd restart,即可

二.本机FTP测试

E:\soft\DB\dataBase>ftp
ftp> status
Not connected.
Type: ascii; Verbose: On ; Bell: Off ; Prompting: On ; Globbing: On
Debugging: Off ; Hash mark printing: Off .
ftp> open 192.168.128.128
Connected to 192.168.128.128.
220 localhost.localdomain FTP server (Version 5.60) ready.
User (192.168.128.128:(none)): lileizhang
331 Password required for lileizhang.
Password:
230 User lileizhang logged in.
ftp> status
Connected to 192.168.128.128.
Type: ascii; Verbose: On ; Bell: Off ; Prompting: On ; Globbing: On
Debugging: Off ; Hash mark printing: Off .
ftp> !cd
E:\soft\DB\dataBase
ftp> pwd
257 "/home/lileizhang" is current directory.
ftp> put 12.5_linux_x32.tgz
200 PORT command successful.
150 Opening ASCII mode data connection for 12.5_linux_x32.tgz.
226-WARNING! 2840059 bare linefeeds received in ASCII mode
   File may not have transferred correctly.
226 Transfer complete.
ftp: 发送 752085640 字节,用时 127.78Seconds 5885.69Kbytes/sec.
ftp> quit
221 Goodbye.



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值