Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Aug 21, 2011 9:16 pm 
Offline
Senior Member

Joined: Fri Aug 20, 2010 3:12 am
Posts: 68
Hi

I followed Limiting Access with SFTP Jails on Debian and Ubuntu and made it work. Used to work for months. But now it stopped. Not sure if it could be somehow related to the linode restart that happened a week ago.

I checked all the settings but cannot find any reason why it shouldn't work.

Filezilla is giving me an error
Code:
Connection attempt failed with "ECONNREFUSED - Connection refused by server"


- password is 100% correct.
- I restarted sshd
- tried to connect using ftpes protocol (FTP over explicit TLS) as a user that is not jailed with the same result

Any idea how I can make it work again?

Thank you
R.


Top
   
 Post subject:
PostPosted: Sun Aug 21, 2011 10:04 pm 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
Sounds like you have Filezilla set to FTPS instead of SFTP.

SFTP is SSH File Transfer Protocol. It's handled by SSH server, and is totally different from old FTP.

FTPS is the old FTP in SSL/TLS tunnel, and is handled by a FTP server. You probably don't want to use it.

If you can SSH in, you surely can SFTP in; or at least, it wouldn't give you ECONNREFUSED.

If you can't SSH in, disregard all of the above, you have SSH bound to wrong interface or bad firewall rules.

_________________
rsk, providing useless advice on the Internet since 2005.


Top
   
PostPosted: Sun Aug 21, 2011 11:28 pm 
Offline
Senior Member

Joined: Fri Aug 20, 2010 3:12 am
Posts: 68
Quote:
chroot directory must be root owned


is the answer. Not sure how this happened but all sorted out.

I do changed the ownership because wordpress needs be an owner if writing files but I am sure that I tested sft afterward..


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


Who is online

Users browsing this forum: No registered users 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