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 11-23-2010, 12:34 PM   #1
mjt077
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Rep: Reputation: 0
FileZilla Connection Issues


Hello,

I am having issues connecting to my linux box (opensuse 11.3) from my Window 7 sytem. I am using FileZilla. When I attempt to connect I get this error message

Status: Connecting to 192.168.198.205...
Response: fzSftp started
Command: open "Mike@192.168.198.205" 22
Command: Trust new Hostkey: Once
Command: Pass: *********
Error: Authentication failed.
Error: Critical error
Error: Could not connect to server

I am thinking it is a setup on issue on my Linux box but not sure what to change at this point. I must have some settings correct, because I am able to remote into my Linux box using FreeNX. Any help would be appreciated
 
Old 11-24-2010, 05:23 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
It says authentication failed. Are you sure you are putting up correct password? Or correct username or correct combination of both? does the user exist in the first place? Is the user allowed to login?
 
Old 11-24-2010, 05:30 AM   #3
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Though you said you are able to remote into Linux box using FreeNX; see if firewall is ON i.e disable iptables and SELinux.

Also see /var/log for error messages
 
Old 11-27-2010, 12:05 AM   #4
mjt077
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
I am using the correct username and password. Because I am able to remote into the system using Freenx using the same username and password that I am using for FileZilla. I tried turning off the firewall to see if that worked but I still get authenitication failed with the firewall off. Also I am not sure what log to look at in this directory /var/log. Could there a service that I need to enable or a specific group I need to add the user to, to gain access via FileZilla? Thanks
 
Old 12-03-2010, 05:35 PM   #5
mjt077
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Question Still having Issues

I am still having connection issues. If anyone has ideas I would appreciate it.
 
Old 12-04-2010, 05:39 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Does the user Mike exist on the server?
Can you ftp from the command prompt?
Code:
ftp 192.168.198.205
Any pointers in the log files?
You are connecting true port 22, is this port open, and is your ftp server configured to listen on port 22 ?

Kind regards

Last edited by repo; 12-04-2010 at 05:45 AM.
 
Old 12-04-2010, 10:17 AM   #7
120
Member
 
Registered: Oct 2010
Posts: 46

Rep: Reputation: 9
Quote:
Originally Posted by repo View Post
Does the user Mike exist on the server?
Can you ftp from the command prompt?
Code:
ftp 192.168.198.205
Any pointers in the log files?
You are connecting true port 22, is this port open, and is your ftp server configured to listen on port 22 ?

Kind regards
Port 22 for FTP?

Are you not meaning 20 & 21 ?
 
Old 12-04-2010, 11:05 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
Originally Posted by 120 View Post
Port 22 for FTP?

Are you not meaning 20 & 21 ?
http://kb.iu.edu/data/akqg.html

Kind regards
 
Old 12-04-2010, 01:48 PM   #9
120
Member
 
Registered: Oct 2010
Posts: 46

Rep: Reputation: 9
Quote:
Originally Posted by repo View Post
I don't see where the OP has made any mention of port 22 SFTP, have you a link to where I missed it?
 
Old 12-04-2010, 01:49 PM   #10
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
From the original post
Quote:
Response: fzSftp started
Command: open "Mike@192.168.198.205" 22
Kind regards
 
Old 12-04-2010, 01:56 PM   #11
120
Member
 
Registered: Oct 2010
Posts: 46

Rep: Reputation: 9
Quote:
Originally Posted by repo View Post
From the original post

Kind regards
Thank you. Most obliged.
 
Old 12-07-2010, 10:03 PM   #12
mjt077
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
When I goto cmd prompt in window and type ftp 192.168.198.206 (which is the new IP for my Linux box). It brings me to this.

C:\Users\Mike>ftp 192.168.198.206
ftp>

I am thinking that means I am connected. But I am not sure. I do have both ports open 21 & 22 on my linux machine. And I believe that FreeNX which I can connect successfully is via port 22. I tried to access via port 21 on FileZilla unsuccessfully. Here is the output.


Status: Connecting to 192.168.198.206:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server
Status: Waiting to retry...

Not sure what logs to look to see why my connections for are being refused. Any other suggestions or ideas would be very helpful

Thanks
 
Old 12-07-2010, 11:44 PM   #13
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Just to clarify; FTP uses ports 20 (cmd) & 21 (data) http://slacksite.com/other/ftp.html.
ssh/scp/sftp uses port 22 for everything.

On the Linux side typical logs are /var/log/messages (general msgs), /var/log/xferlog (ftp), /var/log/secure (ssh), /var/log/authlog (ssh). See also /etc/syslog.conf.

HTH
 
Old 12-08-2010, 06:14 AM   #14
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
Not sure what logs to look to see why my connections for are being refused. Any other suggestions or ideas would be very helpful
try to disable your windows firewall.

Kind regards
 
Old 12-08-2010, 06:27 AM   #15
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
Quote:
Originally Posted by chrism01 View Post
Just to clarify; FTP uses ports 20 (cmd) & 21 (data) http://slacksite.com/other/ftp.html.
ssh/scp/sftp uses port 22 for everything.

On the Linux side typical logs are /var/log/messages (general msgs), /var/log/xferlog (ftp), /var/log/secure (ssh), /var/log/authlog (ssh). See also /etc/syslog.conf.

HTH
it's the other way arround
(21 is cmd port aka connection port, 20 is data port)

also it might be that you need to set your client to use active ftp connections.
and not passive.

Last edited by teebones; 12-08-2010 at 06:28 AM.
 
  


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 vs gFTP mlpa Slackware 21 09-02-2010 05:10 AM
FileZilla DinaMandrake Linux - Newbie 4 12-02-2008 06:16 PM
filezilla help? peterbug Linux - Software 5 06-03-2008 06:47 PM
problem with filezilla ketut_hendratha Linux - Newbie 2 08-15-2006 03:49 AM
Filezilla problem artificialmaps General 3 06-11-2004 03:52 AM


All times are GMT -5. The time now is 08:59 PM.

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