Trouble logging into a vsFTPd server - Access denied. Login
Hi,
We have an FTP server running vsFTPd 2.2.2 on Ubuntu and I'm trying to connect to it via WinSCP 4.3.5 (build 1463) but get an access denied. This is running on Windows 7 PC using the WinSCP GUI.
In the GUI I just get:
The 'username' user is in the default group which has write and execute permission but no read.
I'm providing the above information to see if WinSCP interacts in a strange way even though cmd and Filezilla work ok.
I've put the session in debug1 and debug2 modes but this doesn't really show anything different to the GUI. Here is the extract from the log file. I have changed some of the specific details.
Here is some information from the vsftpd.log file on the FTP server showing a successful connection from cmd and the unsuccessful connection from WinSCP.
Please let me know if there is anything you want me try or other information to provide.
Regards,
Adam
We have an FTP server running vsFTPd 2.2.2 on Ubuntu and I'm trying to connect to it via WinSCP 4.3.5 (build 1463) but get an access denied. This is running on Windows 7 PC using the WinSCP GUI.
In the GUI I just get:
The username and password are ok as I can connect manually via cmd and Filezilla yet WinSCP doesn't like it... One thing to note is that I have remove listing permissions from the directory on the FTP server.Connected with host.domain.com. Waiting for welcome message...
Access denied.
drwx-wx---+ getfacl directory/ # file: directory/ # owner: owner # group: group user::rwx group::-wx other::--- default:user::--- default:user:owner:rw- default:user:group:--- default:user:username:--- default:group::--- default:mask::rw- default:other::---
The 'username' user is in the default group which has write and execute permission but no read.
I'm providing the above information to see if WinSCP interacts in a strange way even though cmd and Filezilla work ok.
I've put the session in debug1 and debug2 modes but this doesn't really show anything different to the GUI. Here is the extract from the log file. I have changed some of the specific details.
. 2011-11-15 14:24:32.804 WinSCP Version 4.3.5 (Build 1463) (OS 6.1.7601 Service Pack 1)
. 2011-11-15 14:24:32.806 Configuration: C:\Program Files (x86)\WinSCP3\WinSCP.ini
. 2011-11-15 14:24:32.807 Local account: xxxxxx\adam
. 2011-11-15 14:24:32.807 Login time: 15 November 2011 14:24:32
. 2011-11-15 14:24:32.807 --------------------------------------------------------------------------
. 2011-11-15 14:24:32.808 Session name: username@domain.com (Modified stored session)
. 2011-11-15 14:24:32.808 Host name: host.domain.com (Port: 21)
. 2011-11-15 14:24:32.808 User name: username (Password: Yes, Key file: No)
. 2011-11-15 14:24:32.808 Tunnel: No
. 2011-11-15 14:24:32.808 Transfer Protocol: FTP
. 2011-11-15 14:24:32.808 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2011-11-15 14:24:32.808 Proxy: none
. 2011-11-15 14:24:32.808 FTP: FTPS: None; Passive: Yes [Force IP: No]
. 2011-11-15 14:24:32.808 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2011-11-15 14:24:32.808 Cache directory changes: Yes, Permanent: Yes
. 2011-11-15 14:24:32.808 DST mode: 1
. 2011-11-15 14:24:32.808 --------------------------------------------------------------------------
. 2011-11-15 14:24:32.834 Connecting to host.domain.com ...
. 2011-11-15 14:24:32.844 Connected with host.domain.com. Waiting for welcome message...
< 2011-11-15 14:24:32.869 220 (vsFTPd 2.2.2)
> 2011-11-15 14:24:32.869 USER username
< 2011-11-15 14:24:32.896 331 Please specify the password.
> 2011-11-15 14:24:32.896 PASS *********
< 2011-11-15 14:24:35.627 530 Login incorrect.
. 2011-11-15 14:24:35.627 Connection failed.
. 2011-11-15 14:24:35.627 Got reply 3004 to the command 1
. 2011-11-15 14:24:35.629 Password prompt (no password provided or last login attempt failed)
. 2011-11-15 14:24:39.458 Connecting to host.domain.com ...
. 2011-11-15 14:24:39.484 Connected with host.domain.com. Waiting for welcome message...
< 2011-11-15 14:24:39.513 220 (vsFTPd 2.2.2)
> 2011-11-15 14:24:39.513 USER username
< 2011-11-15 14:24:39.539 331 Please specify the password.
> 2011-11-15 14:24:39.539 PASS *********
< 2011-11-15 14:24:42.238 530 Login incorrect.
. 2011-11-15 14:24:42.238 Connection failed.
. 2011-11-15 14:24:42.238 Got reply 3004 to the command 1
. 2011-11-15 14:24:42.240 Password prompt (no password provided or last login attempt failed)
* 2011-11-15 14:24:43.323 (ESshFatal) Authentication failed.
Here is some information from the vsftpd.log file on the FTP server showing a successful connection from cmd and the unsuccessful connection from WinSCP.
Tue Nov 15 13:33:49 2011 [pid 1] [username] OK LOGIN: Client "IP" Tue Nov 15 13:34:24 2011 [pid 3] [username] OK UPLOAD: Client "IP", "/supportBundle4473.tar.gz", 8478670 bytes, 409.15Kbyte/sec Tue Nov 15 14:19:02 2011 [pid 2] CONNECT: Client "IP" Tue Nov 15 14:19:03 2011 [pid 1] [username] FAIL LOGIN: Client "IP"
Please let me know if there is anything you want me try or other information to provide.
Regards,
Adam