LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2014, 04:09 PM   #1
nak_attack
LQ Newbie
 
Registered: Oct 2014
Posts: 1

Rep: Reputation: Disabled
How to configure a SFTP connection using Filezilla from my Cent OS server


currently I’m able to ssh and ftp into my box without any problems. I use the default port for ftp and use a custom port for ssh. My version of Cent OS is 2.6.32-358.11.1.el6.x86_64.

What I Need: one “super” SFTP user who can go in and edit, move, copy and delete files anywhere on the server as though I’m logged in as root via ssh.

My problem: I can’t connect via SFTP using Filezilla to my server. I added the following lines to my /etc/sysconfig/iptables file:

-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 1122 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport sftp -j ACCEPT
-A INPUT -p tcp -m tcp --dport 1122 -j ACCEPT

I then save this file, restart iptables then try and connect with filezilla to no avail. Do I need to add these line into the ip6tables instead?? Obviously i’m not doing something correctly and I don’t have a clue as what to do next. Any help and direct is greatly appreciated!

Last edited by nak_attack; 10-23-2014 at 05:11 PM.
 
Old 10-24-2014, 09:53 AM   #2
ilesterg
Member
 
Registered: Jul 2012
Distribution: Arch, Debian, and CentOS/RHEL
Posts: 541

Rep: Reputation: 56
Okay, so before going for Filezilla, try to troubleshoot using the std terminal, ex., using a terminal in your client client, sftp to your server, and then investigate from there.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Filezilla (SFTP) sets Different Permissions compared to SSH ondoho Linux - Server 6 09-21-2014 09:03 AM
unable to configure filezilla ftp server manishrajal Linux - Networking 13 10-26-2010 05:06 AM
unable to configure filezilla ftp server manishrajal Linux - Newbie 13 10-25-2010 07:42 AM
Trying to configure a SFTP server on Fedora 10... d3adpoetic Linux - Newbie 15 03-14-2010 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration