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

martin

Re: WinSCP Attempting to Connect to Cygwin

Have you used mkpasswd command?
Jamie

WinSCP Attempting to Connect to Cygwin

Hi there,

Can't find anything anywhere on how to solve this issue I am having.

I have a Cygwin installation on a SBS 2003 box and I am attempting to connect using WinSCP from an XP Pro client on the same network.

I have created a brand new account in AD, and created passwd and group files in the Cygwin directory.

When I attempt to connect using the new username, the password is denied even though I know for a fact it is correct. There are a few accounts that have no issue with connecting using exactly the same setup though... I have tried creating the account from scratch, and I have tried creating the new account by replicating my own account (which works without issue)

Here is the log from WinSCP:

. 2008-10-30 11:30:02.697 --------------------------------------------------------------------------
. 2008-10-30 11:30:02.697 WinSCP Version 3.8.2 (Build 330) (OS 5.1.2600 Service Pack 3)
. 2008-10-30 11:30:02.697 Login time: 30 October 2008 11:30:02
. 2008-10-30 11:30:02.697 --------------------------------------------------------------------------
. 2008-10-30 11:30:02.697 Session name: <username>@<IP address>
. 2008-10-30 11:30:02.697 Host name: <IP Address> (Port: 22)
. 2008-10-30 11:30:02.697 User name: <Username> (Password: Yes, Key file: No)
. 2008-10-30 11:30:02.697 Transfer Protocol: SFTP (SCP)
. 2008-10-30 11:30:02.697 SSH protocol version: 2; Compression: No
. 2008-10-30 11:30:02.697 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2008-10-30 11:30:02.697 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2008-10-30 11:30:02.697 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2008-10-30 11:30:02.697 SSH Bugs: -,-,-,-,-,-,-,-
. 2008-10-30 11:30:02.697 SFTP Bugs: -,-,-
. 2008-10-30 11:30:02.697 Proxy: none
. 2008-10-30 11:30:02.697 Return code variable: Autodetect; Lookup user groups: Yes
. 2008-10-30 11:30:02.697 Shell: default, EOL: 0
. 2008-10-30 11:30:02.697 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-10-30 11:30:02.697 Cache directory changes: Yes, Permanent: Yes
. 2008-10-30 11:30:02.697 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2008-10-30 11:30:02.697 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2008-10-30 11:30:02.697 --------------------------------------------------------------------------
. 2008-10-30 11:30:02.697 Looking up host "<IP Address>"
. 2008-10-30 11:30:02.697 Connecting to <IP Address> port 22
. 2008-10-30 11:30:02.900 Server version: SSH-2.0-OpenSSH_4.7
. 2008-10-30 11:30:02.900 We claim version: SSH-2.0-WinSCP_release_3.8.2
. 2008-10-30 11:30:02.900 Using SSH protocol version 2
. 2008-10-30 11:30:03.072 Doing Diffie-Hellman group exchange
. 2008-10-30 11:30:03.322 Doing Diffie-Hellman key exchange
. 2008-10-30 11:30:03.650 Host key fingerprint is:
. 2008-10-30 11:30:03.650 ssh-rsa 2048 e8:6e:e2:43:95:a4:e1:df:b3:ee:7d:6e:fc:11:c9:79
. 2008-10-30 11:30:03.666 Initialised AES-256 client->server encryption
. 2008-10-30 11:30:03.666 Initialised HMAC-SHA1 client->server MAC algorithm
. 2008-10-30 11:30:03.666 Initialised AES-256 server->client encryption
. 2008-10-30 11:30:03.666 Initialised HMAC-SHA1 server->client MAC algorithm
! 2008-10-30 11:30:03.884 Using username "<Username>".
. 2008-10-30 11:30:03.962 Keyboard-interactive authentication refused
. 2008-10-30 11:30:03.962 Session password prompt (<Username>@<IP Address>'s password: )
. 2008-10-30 11:30:03.962 Using stored password.
! 2008-10-30 11:30:03.962 Authenticating with pre-entered password.
. 2008-10-30 11:30:03.962 Sent password
! 2008-10-30 11:30:04.259 Access denied.
. 2008-10-30 11:30:04.259 Access denied
. 2008-10-30 11:30:04.259 Session password prompt (<Username>@<IP Address>'s password: )
. 2008-10-30 11:30:04.259 Asking user for password.
. 2008-10-30 11:30:05.931 Unable to authenticate
. 2008-10-30 11:30:05.931 Attempt to close connection due to fatal exception:
* 2008-10-30 11:30:05.931 Unable to authenticate
. 2008-10-30 11:30:05.931 Closing connection.
* 2008-10-30 11:30:05.946 (ESshFatal) Authentication failed.
* 2008-10-30 11:30:05.946 Authentication log (see session log for details):
* 2008-10-30 11:30:05.946 Using username "<Username>".
* 2008-10-30 11:30:05.946 Authenticating with pre-entered password.
* 2008-10-30 11:30:05.946 Access denied.
* 2008-10-30 11:30:05.946
* 2008-10-30 11:30:05.946 Unable to authenticate
________________________________________________________________________________

Thanks in advance!

Jamie