Hi , Thanks for replying!
I'm using the latest version of winSCP and OPENSSH as server
Here is the log file.
My main problem is that i'm getting the error:
"server refused public-key signature despite accepting key!"
and i think that the reason for that is that i'm not able to change permissions for this folder/file as neccesary. (and describe in winSCP guides)
I created the public key for OPENSSH (one line , starting with ssh-rsa...)
I was trying to set "requires pudding on ssh-2 .." = ON ,
but nothing changes, still got the same error.
I understand for a lot of search in this forum that this is Server-side problem , but cant figure it out yet.
. 2016-01-20 09:56:01.144 --------------------------------------------------------------------------
. 2016-01-20 09:56:01.144 WinSCP Version 5.7.6 (Build 5874) (OS 6.3.9600 - Windows Server 2012 R2 Datacenter)
. 2016-01-20 09:56:01.144 Configuration: C:\Users\dvir\Desktop\WinSCP.ini
. 2016-01-20 09:56:01.144 Log level: Normal
. 2016-01-20 09:56:01.144 Local account: PARADIGMA\dvir
. 2016-01-20 09:56:01.144 Working directory: C:\Users\dvir\Desktop
. 2016-01-20 09:56:01.144 Process ID: 240
. 2016-01-20 09:56:01.144 Command-line: "C:\Users\dvir\Desktop\WinSCP.exe"
. 2016-01-20 09:56:01.144 Time zone: Current: GMT+2, Standard: GMT+2 (Jerusalem Standard Time), DST: GMT+3 (Jerusalem Daylight Time), DST Start: 25/03/2016, DST End: 30/10/2016
. 2016-01-20 09:56:01.144 Login time: יום רביעי 20 ינואר 2016 09:56:01
. 2016-01-20 09:56:01.144 --------------------------------------------------------------------------
. 2016-01-20 09:56:01.144 Session name: dvir@paradigma@127.0.0.1 (Ad-Hoc site)
. 2016-01-20 09:56:01.144 Host name: 127.0.0.1 (Port: 22)
. 2016-01-20 09:56:01.144 User name: dvir@paradigma (Password: Yes, Key file: Yes)
. 2016-01-20 09:56:01.144 Tunnel: No
. 2016-01-20 09:56:01.144 Transfer Protocol: SFTP (SCP)
. 2016-01-20 09:56:01.144 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2016-01-20 09:56:01.144 Disable Nagle: No
. 2016-01-20 09:56:01.144 Proxy: none
. 2016-01-20 09:56:01.144 Send buffer: 262144
. 2016-01-20 09:56:01.144 SSH protocol version: 2; Compression: No
. 2016-01-20 09:56:01.144 Bypass authentication: No
. 2016-01-20 09:56:01.144 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2016-01-20 09:56:01.144 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2016-01-20 09:56:01.144 KEX: dh-gex-sha1,dh-group14-sha1,dh-group1-sha1,rsa,WARN
. 2016-01-20 09:56:01.144 SSH Bugs: A,A,A,A,A,+,A,A,A,A,A,A
. 2016-01-20 09:56:01.144 Simple channel: Yes
. 2016-01-20 09:56:01.144 Return code variable: Autodetect; Lookup user groups: A
. 2016-01-20 09:56:01.144 Shell: default
. 2016-01-20 09:56:01.144 EOL: 0, UTF: 2
. 2016-01-20 09:56:01.144 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2016-01-20 09:56:01.144 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2016-01-20 09:56:01.144 SFTP Bugs: A,A
. 2016-01-20 09:56:01.144 SFTP Server: default
. 2016-01-20 09:56:01.144 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2016-01-20 09:56:01.144 Cache directory changes: Yes, Permanent: Yes
. 2016-01-20 09:56:01.144 DST mode: 1
. 2016-01-20 09:56:01.144 --------------------------------------------------------------------------
. 2016-01-20 09:56:01.237 Looking up host "127.0.0.1"
. 2016-01-20 09:56:01.237 Connecting to 127.0.0.1 port 22
. 2016-01-20 09:56:01.362 Server version: SSH-2.0-OpenSSH_7.1p1 Microsoft_Win32_port_with_VS
. 2016-01-20 09:56:01.362 We believe remote version has SSH-2 RSA padding bug
. 2016-01-20 09:56:01.362 Using SSH protocol version 2
. 2016-01-20 09:56:01.362 We claim version: SSH-2.0-WinSCP_release_5.7.6
. 2016-01-20 09:56:01.362 Doing Diffie-Hellman group exchange
. 2016-01-20 09:56:01.378 Doing Diffie-Hellman key exchange with hash SHA-256
. 2016-01-20 09:56:02.675 Verifying host key rsa2 0x10001,0xc4bcbcec0d0cee52 5608cf2bfbc17296 5ee730fda470afb5 8490a866b387bd19 92de0dbb9df081b0 fbd8c47b22806520 3033489f3b93d268 96a41c4a60952be9 8dd97b205eeb24e0 84ef015ba77fe1dd 3af92cb6878ee1a5 f8c33adffa41b172 fb80d8e06b453a83 564aa1d56e701153 82a9e9fb8db43624 1ef14741cc627397 048420039bf39d0e f86b331c5a57fddc 5c8a7099038e614b 4121165f5dd2398e 46298bead85f0ddc 7815b26c4c8daa31 ff79a794deaa8d9a 9a1520831ae1c4ba 7277cf30ac18345b 2eb21d3c90d7238f 70c11436f9d377b8 8dcb447398663aac 2b707c0374be8e7d 58c18bd3f49ae162 f05b98cd34d4c133 d4eacb53ee4cf8cb with fingerprint ssh-rsa 2048 76:b6:b4:92:dc:07:3d:da:ce:28:ae:ee:75:1c:d4:eb
. 2016-01-20 09:56:02.691 Host key matches cached key
. 2016-01-20 09:56:02.691 Host key fingerprint is:
. 2016-01-20 09:56:02.691 ssh-rsa 2048 76:b6:b4:92:dc:07:3d:da:ce:28:ae:ee:75:1c:d4:eb
. 2016-01-20 09:56:02.691 Initialised AES-256 SDCTR client->server encryption
. 2016-01-20 09:56:02.691 Initialised HMAC-SHA-256 client->server MAC algorithm
. 2016-01-20 09:56:02.691 Initialised AES-256 SDCTR server->client encryption
. 2016-01-20 09:56:02.691 Initialised HMAC-SHA-256 server->client MAC algorithm
. 2016-01-20 09:56:02.691 Reading private key file "C:\OpenSSH\ppk.ppk"
! 2016-01-20 09:56:02.691 Using username "dvir@paradigma".
. 2016-01-20 09:56:02.753 Offered public key
. 2016-01-20 09:56:02.753 Offer of public key accepted
! 2016-01-20 09:56:02.753 Authenticating with public key "rsa-key-20160119"
. 2016-01-20 09:56:02.816 Prompt (passphrase, "SSH key passphrase", <no instructions>, "Passphrase for key "rsa-key-20160119": ")
. 2016-01-20 09:56:06.922 Sent public key signature
! 2016-01-20 09:56:06.922 Server refused public-key signature despite accepting key!
. 2016-01-20 09:56:06.967 Server refused public-key signature despite accepting key!
. 2016-01-20 09:56:06.967 Attempting keyboard-interactive authentication
. 2016-01-20 09:56:06.967 Server refused keyboard-interactive authentication
. 2016-01-20 09:56:06.967 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2016-01-20 09:56:06.967 Using stored password.
. 2016-01-20 09:56:07.030 Sent password
. 2016-01-20 09:56:07.108 Access granted
. 2016-01-20 09:56:07.108 Opening session as main channel
. 2016-01-20 09:56:07.108 Opened main channel
. 2016-01-20 09:56:07.139 Started a shell/command
. 2016-01-20 09:56:07.170 --------------------------------------------------------------------------
. 2016-01-20 09:56:07.170 Using SFTP protocol.
. 2016-01-20 09:56:07.170 Doing startup conversation with host.
> 2016-01-20 09:56:07.223 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2016-01-20 09:56:07.223 Type: SSH_FXP_VERSION, Size: 150, Number: -1
. 2016-01-20 09:56:07.223 SFTP version 3 negotiated.
. 2016-01-20 09:56:07.223 Unknown server extension posix-rename@openssh.com="1"
. 2016-01-20 09:56:07.223 Supports statvfs@openssh.com extension version "2"
. 2016-01-20 09:56:07.223 Unknown server extension fstatvfs@openssh.com="2"
. 2016-01-20 09:56:07.223 Supports hardlink@openssh.com extension version "1"
. 2016-01-20 09:56:07.223 Unknown server extension fsync@openssh.com="1"
. 2016-01-20 09:56:07.223 We believe the server has signed timestamps bug
. 2016-01-20 09:56:07.223 We will use UTF-8 strings until server sends an invalid UTF-8 string as with SFTP version 3 and older UTF-8 string are not mandatory
. 2016-01-20 09:56:07.223 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2016-01-20 09:56:07.223 Getting current directory name.
. 2016-01-20 09:56:07.223 Getting real path for '.'
> 2016-01-20 09:56:07.223 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2016-01-20 09:56:07.223 Type: SSH_FXP_NAME, Size: 47, Number: 16
. 2016-01-20 09:56:07.223 Real path is 'C:/Users/dvir'
. 2016-01-20 09:56:07.473 Listing directory "C:/Users/dvir".
> 2016-01-20 09:56:07.473 Type: SSH_FXP_OPENDIR, Size: 22, Number: 267
< 2016-01-20 09:56:07.473 Type: SSH_FXP_HANDLE, Size: 13, Number: 267
> 2016-01-20 09:56:07.473 Type: SSH_FXP_READDIR, Size: 13, Number: 524
< 2016-01-20 09:56:07.473 Type: SSH_FXP_NAME, Size: 3741, Number: 524
> 2016-01-20 09:56:07.473 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2016-01-20 09:56:07.658 Type: SSH_FXP_STATUS, Size: 28, Number: 780
< 2016-01-20 09:56:07.658 Status code: 1
> 2016-01-20 09:56:07.658 Type: SSH_FXP_CLOSE, Size: 13, Number: 1028
. 2016-01-20 09:56:07.658 .ssh;D;0;2016-01-19T14:51:23.000Z;"" [0];"" [0];rwxrwxrwx;3
. 2016-01-20 09:56:07.658 AppData;D;0;2015-12-24T08:16:17.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:07.658 Application Data;D;0;2016-01-19T14:45:43.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:07.658 Contacts;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 Cookies;D;0;2016-01-04T10:32:09.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:07.658 Desktop;D;0;2016-01-19T14:47:17.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 Documents;D;0;2016-01-19T14:50:08.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 Downloads;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 Favorites;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 Links;D;0;2015-12-24T08:16:36.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 Local Settings;D;0;2016-01-04T10:40:20.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:07.658 Music;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 My Documents;D;0;2016-01-19T14:50:08.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 NetHood;D;0;2013-08-22T15:39:30.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:07.658 NTUSER.DAT;-;524288;2016-01-20T07:13:29.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:07.658 ntuser.dat.LOG1;-;614400;2015-12-24T08:16:17.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:07.658 ntuser.dat.LOG2;-;77824;2015-12-24T08:16:17.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:07.658 NTUSER.DAT{d044f67b-ae7e-11e3-80bf-b8ca3aeed8ca}.TM.blf;-;65536;2016-01-04T10:40:25.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:07.658 NTUSER.DAT{d044f67b-ae7e-11e3-80bf-b8ca3aeed8ca}.TMContainer00000000000000000001.regtrans-ms;-;524288;2016-01-04T10:40:25.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:07.658 NTUSER.DAT{d044f67b-ae7e-11e3-80bf-b8ca3aeed8ca}.TMContainer00000000000000000002.regtrans-ms;-;524288;2016-01-04T10:40:25.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:07.658 ntuser.ini;-;20;2015-12-24T08:16:17.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:07.658 ntuser.pol;-;652;2016-01-10T12:43:35.000Z;"" [0];"" [0];r--r--r--;0
. 2016-01-20 09:56:07.658 Pictures;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 PrintHood;D;0;2013-08-22T15:39:30.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:07.658 Recent;D;0;2016-01-20T07:55:44.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 Saved Games;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 Searches;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 SendTo;D;0;2015-12-24T08:16:36.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 sftp-server.log;-;20551;2016-01-20T07:56:07.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:07.658 Start Menu;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.658 Templates;D;0;2013-08-22T15:39:30.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:07.658 Videos;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:07.779 Startup conversation with host finished.
. 2016-01-20 09:56:17.503 Changing properties of ".ssh" (No)
. 2016-01-20 09:56:17.503 - mode: "u+rwx-s,g-rwxs,o-rwxt"
> 2016-01-20 09:56:17.519 Type: SSH_FXP_LSTAT, Size: 27, Number: 1287
< 2016-01-20 09:56:17.519 Type: SSH_FXP_STATUS, Size: 24, Number: 1028
. 2016-01-20 09:56:17.519 Discarding reserved response
< 2016-01-20 09:56:17.519 Type: SSH_FXP_ATTRS, Size: 37, Number: 1287
> 2016-01-20 09:56:17.519 Type: SSH_FXP_SETSTAT, Size: 35, Number: 1545
< 2016-01-20 09:56:17.519 Type: SSH_FXP_STATUS, Size: 24, Number: 1545
< 2016-01-20 09:56:17.519 Status code: 0
. 2016-01-20 09:56:17.519 Listing directory "C:/Users/dvir".
> 2016-01-20 09:56:17.519 Type: SSH_FXP_OPENDIR, Size: 22, Number: 1803
< 2016-01-20 09:56:17.519 Type: SSH_FXP_HANDLE, Size: 13, Number: 1803
> 2016-01-20 09:56:17.519 Type: SSH_FXP_READDIR, Size: 13, Number: 2060
< 2016-01-20 09:56:17.534 Type: SSH_FXP_NAME, Size: 3741, Number: 2060
> 2016-01-20 09:56:17.534 Type: SSH_FXP_READDIR, Size: 13, Number: 2316
< 2016-01-20 09:56:17.534 Type: SSH_FXP_STATUS, Size: 28, Number: 2316
< 2016-01-20 09:56:17.534 Status code: 1
> 2016-01-20 09:56:17.534 Type: SSH_FXP_CLOSE, Size: 13, Number: 2564
. 2016-01-20 09:56:17.534 .ssh;D;0;2016-01-19T14:51:23.000Z;"" [0];"" [0];rwxrwxrwx;3
. 2016-01-20 09:56:17.534 AppData;D;0;2015-12-24T08:16:17.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:17.534 Application Data;D;0;2016-01-19T14:45:43.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:17.534 Contacts;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 Cookies;D;0;2016-01-04T10:32:09.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:17.534 Desktop;D;0;2016-01-19T14:47:17.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 Documents;D;0;2016-01-19T14:50:08.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 Downloads;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 Favorites;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 Links;D;0;2015-12-24T08:16:36.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 Local Settings;D;0;2016-01-04T10:40:20.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:17.534 Music;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 My Documents;D;0;2016-01-19T14:50:08.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 NetHood;D;0;2013-08-22T15:39:30.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:17.534 NTUSER.DAT;-;524288;2016-01-20T07:13:29.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:17.534 ntuser.dat.LOG1;-;614400;2015-12-24T08:16:17.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:17.534 ntuser.dat.LOG2;-;77824;2015-12-24T08:16:17.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:17.534 NTUSER.DAT{d044f67b-ae7e-11e3-80bf-b8ca3aeed8ca}.TM.blf;-;65536;2016-01-04T10:40:25.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:17.534 NTUSER.DAT{d044f67b-ae7e-11e3-80bf-b8ca3aeed8ca}.TMContainer00000000000000000001.regtrans-ms;-;524288;2016-01-04T10:40:25.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:17.534 NTUSER.DAT{d044f67b-ae7e-11e3-80bf-b8ca3aeed8ca}.TMContainer00000000000000000002.regtrans-ms;-;524288;2016-01-04T10:40:25.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:17.534 ntuser.ini;-;20;2015-12-24T08:16:17.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:17.534 ntuser.pol;-;652;2016-01-10T12:43:35.000Z;"" [0];"" [0];r--r--r--;0
. 2016-01-20 09:56:17.534 Pictures;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 PrintHood;D;0;2013-08-22T15:39:30.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:17.534 Recent;D;0;2016-01-20T07:55:44.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 Saved Games;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 Searches;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 SendTo;D;0;2015-12-24T08:16:36.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 sftp-server.log;-;21590;2016-01-20T07:56:08.000Z;"" [0];"" [0];rw-rw-rw-;1
. 2016-01-20 09:56:17.534 Start Menu;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:17.534 Templates;D;0;2013-08-22T15:39:30.000Z;"" [0];"" [0];rwxrwxrwx;1
. 2016-01-20 09:56:17.534 Videos;D;0;2015-12-24T08:16:35.000Z;"" [0];"" [0];r-xr-xr-x;0
. 2016-01-20 09:56:23.519 Closing connection.
. 2016-01-20 09:56:23.519 Sending special code: 12
. 2016-01-20 09:56:23.535 Sent EOF message