Jump to content

ftp sftp


Recommended Posts

Pleease could somebody help, i'm pulling my hair out here.

 

I'm trying to set up my new ubuntu 11.04 server to allow ftp.

 

I've been trying to set up the vsftpd program but with little success as I can't find many good instruction manuals.

 

I spoke to one person today who said there isn't really any difference between ftp and sftp, which means if you use sftp you don't need to install and configure vsftpd at all.

 

Could anyone please recommend an sftp program that I could use, my local machine is windows.

 

(things were not working correctly for the vsftpd so i un-installed the the program with apt-get remove, then removed the vsftpd.conf file that it left behind. Only thing is I later decided to give it another go, but after installing it didn't create the vsftpd.conf file??? )

Link to comment
Share on other sites

I thought filezilla could connect through sftp

 

Are there any settings to change in the sshd_config file? When i try to connect with filezilla through the ssh port number i set in the sshd_config file it fails to connect on any of the users i have given with root priviledges (i have denied root access)

 

This is the error i get in filezilla when trying to connect through the ssh port:

Error:      Cannot establish FTP connection to an SFTP server. Please select proper protocol.

Error: Critical error

Error: Could not connect to server

Link to comment
Share on other sites

 

::) ::)::)

 

I was using the quick connect. I never knew there was a section where one could select to connect via ftp or sftp.

For anyone stumbling upon this later who may just be used to using the 'quick connect'

Connect to sftp with by clicking creating a 'new site' in the site manager. Access to which is via a little button just above where it says host

Link to comment
Share on other sites

I can now connect to the server with filezilla through sftp which means i don't need vsftpd.

 

 

However i think i now need to set the user permissions to allow me to upload files to the /var/www/

 

Or do is it better to create a new user with specific persmissions for the /var/www/?

 

Or is this something not specific to the user but the files themselves?

Link to comment
Share on other sites

For anyone stumbling upon this later:

 

To add files and directories to the www dir or any other for that matter you need to set the privileges correctly.

 

The way i decided to do it is, create a new group (wwwAccess)

Add the users of the server i wanted to allow access to the www to this group.

Bob's your uncle fannies your aunt, all users in the group can now add and edit and delete files within the www

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.