View Full Version : ubuntu desktop.help
waeldiab
09-28-2009, 07:40 PM
i have ubuntu desktop server and i don't have experience to use sftp can some one please tell me how to download my files from the server into my PC which program i have to use ?
and please how to switch of firewall
cap87
09-28-2009, 08:05 PM
apt-get install vsftpd
apt-get install openssl
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /root/vsftpd.pem -out /root/vsftpd.pem
nano /etc/vsftpd.conf
then change the following:
anonymous_enable=NO
local_enable=YES
write_enable=YES
And copy this to the end:
ssl_enable=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=YES
rsa_cert_file=/root/vsftpd.pem
close and exit.
then:
/etc/init.d/vsftpd start
/etc/init.d/vsftpd restart
update-rc.d vsftpd defaults
After all this install a ftp client in your home (like filezilla), login (in the ip field put "sftp://your.ip.here" and the default port is 22), and start downloading ;)
Edit: don't forget sudo lol
waeldiab
09-28-2009, 08:16 PM
i tried to do that but
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
admin@ks362985:~$ apt-get install openssl
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
cap87
09-28-2009, 08:19 PM
i tried to do that but
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
admin@ks362985:~$ apt-get install openssl
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Edit: don't forget sudo lol
;)
lehaans
09-29-2009, 04:55 AM
ftp server is already running, you don't have to anything said above, just use filezilla or cuteftp clients from your home p.c to connect, with your user id and pass, set port as 22 and session as sftp in settings.
InSPir
09-29-2009, 08:45 AM
use lehaans suggestion and you'll be good to download from your ftp
waeldiab
09-29-2009, 08:30 PM
ftp server is already running, you don't have to anything said above, just use filezilla or cuteftp clients from your home p.c to connect, with your user id and pass, set port as 22 and session as sftp in settings.
thanks bro its working as well now
Fibre
10-01-2009, 03:35 AM
Firewall? Are you talking about IPTables?
WinSCP is a great client.
terrabyte911
10-01-2009, 08:52 AM
check out http://www.expandrive.com/windows
turns an sftp into a drive letter. just drag and drop to transfer
Powered by vBulletin® Version 4.2.3 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.