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
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
Last edited by waeldiab; 09-28-2009 at 08:02 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
Last edited by ultrauploader; 09-28-2009 at 08:07 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?
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.
use lehaans suggestion and you'll be good to download from your ftp
Firewall? Are you talking about IPTables?
WinSCP is a great client.
check out http://www.expandrive.com/windows
turns an sftp into a drive letter. just drag and drop to transfer
Last edited by terrabyte911; 10-07-2009 at 07:05 AM.
Bookmarks