LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FileZilla Connection Issues (https://www.linuxquestions.org/questions/linux-newbie-8/filezilla-connection-issues-846052/)

mjt077 11-23-2010 11:34 AM

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

linuxlover.chaitanya 11-24-2010 04:23 AM

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?

prayag_pjs 11-24-2010 04:30 AM

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

mjt077 11-26-2010 11:05 PM

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

mjt077 12-03-2010 04:35 PM

Still having Issues
 
I am still having connection issues. If anyone has ideas I would appreciate it.

repo 12-04-2010 04:39 AM

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

120 12-04-2010 09:17 AM

Quote:

Originally Posted by repo (Post 4180300)
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 ?

repo 12-04-2010 10:05 AM

Quote:

Originally Posted by 120 (Post 4180467)
Port 22 for FTP?

Are you not meaning 20 & 21 ?

http://kb.iu.edu/data/akqg.html

Kind regards

120 12-04-2010 12:48 PM

Quote:

Originally Posted by repo (Post 4180507)

I don't see where the OP has made any mention of port 22 SFTP, have you a link to where I missed it?

repo 12-04-2010 12:49 PM

From the original post
Quote:

Response: fzSftp started
Command: open "Mike@192.168.198.205" 22
Kind regards

120 12-04-2010 12:56 PM

Quote:

Originally Posted by repo (Post 4180659)
From the original post

Kind regards

Thank you. Most obliged.

mjt077 12-07-2010 09:03 PM

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

chrism01 12-07-2010 10:44 PM

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

repo 12-08-2010 05:14 AM

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

teebones 12-08-2010 05:27 AM

Quote:

Originally Posted by chrism01 (Post 4184240)
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.


All times are GMT -5. The time now is 07:13 AM.