Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Oct 23, 2015 10:09 am 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
Hi guys, all was working fine for years but know i´m getting "permission denied" when deleting, uploading, setting permissions, etc. in FTP client. Only on "Home" i´m able to modify files.

I use PORT 103, specified in "/etc/ssh/sshd_config".
FTP port is set to 103.
I can navigate through files and directories, but can´t edit them, only on the "home" directory.

I don´t know if this is a clue, but the command "ssh -v localhost" shows:
Code:
OpenSSH_5.9p1 Debian-5ubuntu1.4, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: connect to address 127.0.0.1 port 22: Connection refused
ssh: connect to host localhost port 22: Connection refused


Any help?
Thanks


Last edited by grevan on Fri Oct 23, 2015 10:46 am, edited 1 time in total.

Top
   
PostPosted: Fri Oct 23, 2015 10:21 am 
Offline
Senior Member

Joined: Thu Feb 20, 2014 5:06 pm
Posts: 58
The log says it's trying to connect to port 22 (the default for SSH). If you configured sshd to listen on port 103 instead, you need to also configure your FTP client to use port 103.

edit: sorry, I misread that and thought the log was for your FTP client. Could you run "ls -ls <filename>" on the server, with <filename> replaced with one of the files you're unsuccessfully trying to upload?


Top
   
PostPosted: Fri Oct 23, 2015 10:32 am 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
ls -ls <filename> doesn´t work: No such file or directory.

The problem is not just uploading, even setting permissions or deleting files... I´m able to modify files only on "home".


Top
   
PostPosted: Mon Oct 26, 2015 9:33 am 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
Anyone?


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