hi ,
i am using 64bit "Ubuntu 16.04.1 LTS"
Installed vsftpd
Actually , i have to transfer file from an embedded device (192.168.1.10) to my PC.
but first , i am trying locally .
Even that didn't work .
/etc/vsftpd.conf
is
Code:
#i want standalone vsftpd
listen=NO
listen_ipv6=YES
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
ssl_enable=YES
allow_anon_ssl=YES
force_local_data_ssl=NO
force_local_logins_ssl=NO
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=YES
rsa_cert_file=/etc/vsftpd/vsftpd.pem
anon_umask=022
My computer ip is 192.168.1.4
$ whoami
lxuser
$ cd anotherfolder
$cat filetosend
sumeet
$ scp filetosend lxuser@192.168.1.4:/home/lxuser
ssh: connect to host 192.168.1.4 port 22: Connection refused
lost connection
By the way
Normal ftp works
prateek is filename
Quote:
$ ftp 192.168.1.4
Connected to 192.168.1.4.
220 (vsFTPd 3.0.3)
Name (192.168.1.4:lxuser): lxuser
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put prateek
local: prateek remote: prateek
200 PORT command successful. Consider using PASV.
150 Ok to send data.
226 Transfer complete.
7 bytes sent in 0.00 secs (162.7604 kB/s)
|