New answers tagged ftp
I faced the same authentication error with pam_service_name=vsftpd. Following advice online, I couldn't work out why setting pam_service_name=ftp fixed the problem so I tested setting this to pam_service_name=foobar and it also fixed the issue! Disclaimer: I too am new to linux however I believe the generally accepted advice to set pam_service_name=ftp ...
Another way: wget -O /dev/null -q ftp://192.168.1.55 Returns 0 if the server is up, otherwise returns positive/negaive value. Expanation: wget tries to reach the url, in this case an ftp server. The -O option redirects the output, if any, to /dev/null so it is not written to a file not to stdout. The -q option suppresses any additional output (like ...
Since you use killall at the end of your script you can detach your openvpn task from the terminal by adding a &: #!/bin/bash echo "ich logge mich jetzt beim VPN ein " sudo openvpn /etc/openvpn/magicbox1.ovpn & echo "warte auf den server" sleep 5 echo "bin eingeloggt, hole jetzt die Daten" sudo ncftpget -DD -T -R -v -u <username> -p ...
If you're after a nice web-based FTP client, www.monstaftp.com is an open source PHP FTP file manager.
All you need to do is to add alice user into bob's group, since bob is the creator and owner of the files. To check who is the owner of a file, use $ ls -l filename To see which groups bob is registered in, use $ groups bob To add existing user alice to a group, use # usermod -a -G groupname alice Also check this out, for more on user management.
First solution Install lftp sudo apt-get install lftp after that create script #!/bin/bash HOST='mysite.com' USER='myuser' PASS='myuser' TARGETFOLDER='/new' SOURCEFOLDER='/home/myuser/backups' lftp -f " open $HOST user $USER $PASS lcd $SOURCEFOLDER mirror --reverse --delete --verbose $SOURCEFOLDER $TARGETFOLDER bye " Save it on some place with name ...
you could also add. nameserver 126.96.36.199 to /etc/resolv.conf
You don't have DNS working. Add the directive to interfaces to enable it. dns-nameservers 188.8.131.52 Full Example for your configuration. auto lo iface lo inet loopback auto eth1 iface eth1 inet static address 192.168.5.1 netmask 255.255.255.0 gateway 192.168.5.254 dns-nameservers 184.108.40.206
Run echo "allow_writeable_chroot=YES" >> /etc/vsftpd.conf && service vsftpd restart
Top 50 recent answers are included