Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Aug 07, 2012 10:14 pm 
Offline
Newbie

Joined: Tue Aug 16, 2011 9:08 pm
Posts: 2
I created the group sftp, created usera, made a folder owned by root:root with permission 0755 a sub folder owned by usera:sftp and I can SFTP into the folder :)
I then created userb added it to the group sftp, made a folder owned by root:root with permission 0755 a sub folder owned by userb:sftp and I cannot SFTP into the folder :(

help!!!


Top
   
PostPosted: Wed Aug 08, 2012 3:24 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Set LogLevel to DEBUG in /etc/ssh/sshd_config, restart ssh then try connecting again it'll log why you can't connect in /var/log/syslog or /var/log/auth.log (or perhaps somewhere else in /var/log depending on your disto)

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Wed Aug 08, 2012 9:36 pm 
Offline
Newbie

Joined: Tue Aug 16, 2011 9:08 pm
Posts: 2
Very helpful thanks! What I had failed to understand is that the home folder for the user need to belong to root:root with the folder you want the user to be able to put files in to be a sub folder of the folder owned by the user.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: mattltm and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group