Topic "stumped with win 7 permissions"

Author Message


Client is winscp ver 5.7.7 on win vista
Server is win 7 Pro 64 bit running freesshd 1.3.1

freesshd is configured with a single user "painter" and a digital certificate for access.
It is configured as a service, SSHCMD is cmd and user is enabled for shell and sftp. freesshd is run as a service with the user of ZZZZ (different than painter) which has admin privileges.

Putty 0.67 successfully reaches windows7 authenticating with user painter digital certificate and produces a cmd shell. changing folders and accessing everything is possible.

winscp is configured with the same digital certificate and user "painter".

winscp requests the digital cert passphrase and once provided displays the remote files BUT it pops up the error message dialog reporting:
Error changing directory to '/'.
Permission denied.
Error code: 3
Error message from server: Permission denied

In the winscp config for this host I have tried several user-password pairs for real users on the windows 7 remote host. Nothing helps.

The fresshd log shows:
04-23-2016 13:20:36 IP SSH connection attempt.
04-23-2016 13:20:53 IP SSH painter successfully logged on using p
ublic key.
04-23-2016 13:20:53 SFTP service granted to user painter.
04-23-2016 13:20:56 IP painter is listing / (\)
04-23-2016 13:21:22 IP SSH painter disconnected.

Attached are the winscp log and the freesshd.ini

I can provide specific sections of winscp.ini if you tell me which... I dont want to include the entire file because of the large number of hosts I use all with digital certs...

I am stumped in making this windows 7 file access work.

can anyone help me?
XXXXFreeSSHDService-ini.txt (1.1 KB) [Download]

Description: freesshd configuration

winscp-error.log (14.75 KB) [Download]

Description: winscp log

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
I do not think this has anything to do with WinSCP.

Did you try any other SFTP client?


martin wrote:
I do not think this has anything to do with WinSCP.

Did you try any other SFTP client?

Not yet. I have always used winscp for everything. being a unix guy I dont have any experience or can find guidelines on debugging win 7 issues like this.

Anyone else out there who has dealt with this?


You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License