Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

I have the same problem. My password contains character Ö (o umlaut) and it is impossible to log using SFTP and WinSCP. Logging using putty works fine, also changing the password to one containing only ASCII characters solved the problem. You should definitely have a look on it.
martin

Thanks for your feedback. Will check it.
Guest

Hi Martin,

Many thanks for the reply and the great product.

I was just filtering the specific details (IP, domain etc) from the FileZilla logs so I can post them.

I noticed the following

Response: 220 (vsFTPd 2.2.2)
Command: USER username
Response: 331 Please specify the password.
Command: PASS *********
Response: 530 Login incorrect.
Status: Login data contains non-ASCII characters and server might not be UTF-8 aware. Trying local charset.
Command: USER username
Response: 331 Please specify the password.
Command: PASS *********
Response: 230 Login successful.

The password I had set had a £ character at the end so perhaps WinSCP doesn't like this when communicating with the FTP server. It looks like FileZilla is slightly more intelligent with how it deals with this issue.

Anyway, I have changed the password and all is fine.

I thought you might like to be aware and look into this for future reference.

Regards,
Adam
martin

Re: Trouble logging into a vsFTPd server - Access denied. Login

Can you post a log file from Filezilla?
noelg100

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:

Connected with host.domain.com. Waiting for welcome message...
Access denied.

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.

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