5 Ocak 2016 Salı
vsftpd server kurulumu konfigure edilmesi ve test baglantisi olusturma
vsftpd server kurulumu konfigure edilmesi ve test baglantisi olusturma
centos 6.5;
server installation
[root@aysecik ~]#yum install vsftpd -y
[root@aysecik ~]# vi /etc/vsftpd/vsftpd.conf
yapilcaklar degisiklikler :
anonymous_enable=NO
connect_from_port_20=NO
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
kaydedip cikilir
[root@aysecik ~]#touch /etc/vsftpd/chroot_list
olusturulup kullanilar eklenebilir
[root@aysecik ~]#chkconfig --levels 235 vsftpd on
[root@aysecik ~]#service vsftpd start
server tarafinda yapilandirma bitirilir ve
[root@aysecik ~]#netstat -ann | grep 21 | grep -i listen
kontrolu yapilir
[root@aysecik ~]#useradd -m ftpuser1
[root@aysecik ~]# /etc/vsftpd/chroot_list
e user eklenir
[root@aysecik ~]# service vsftpd restart
client tarafinda yapilandirmayida ayni makinada yapalim
[root@aysecik ~]# ifconfig
wlan adresi ogrenilir
[root@aysecik ~]#yum install ftp
kurulur
bağlanmak için:
[root@aysecik ~]# ftp 192.168.1.15
[root@aysecik ~]# ftp 192.168.1.15
Connected to 192.168.1.15 (192.168.1.15).220 (vsFTPd 2.2.2)Name (192.168.1.15:root): ftpuser1331 Please specify the password.Password:230 Login successful.Remote system type is UNIX.Using binary mode to transfer files.ftp> pwd257 "/"ftp> ls227 Entering Passive Mode (192,168,1,15,169,103).150 Here comes the directory listing.226 Directory send
OK.ftp> mkdir aoyas257 "/aoyas" createdftp> cd aoyas250 Directory successfully changed.ftp
> put /etc/resolv.conf local: /etc/resolv.conf remote: /etc/resolv.conf227 Entering Passive Mode (192,168,1,15,45,59).
Kaydol:
Kayıt Yorumları (Atom)
Hiç yorum yok:
Yorum Gönder