Hi! I get this error from version 2.80 "Failure requesting identities from ssh-agent!"
This specific error is shown when connecting to ssh-agent with libssh2_agent_connect works, but then a call to libssh2_agent_list_identities fails.
I don't see a specific reason why this call would fail, maybe the list of certificates in Agent is damaged. Try clearing the list and re-adding the certificates (only those you really need).
There was a problem. I am using Serv-U server. After copying files from the server, they become hidden on the server. Before copying, the file has attribute 666, after copying 000. What could be the problem?
TC v10.0 & SFTP plugin v2.90
Please check in the connection settings (Alt+Enter on connection name), there is an option (separately for files and folders) to set the permissions on upload.
That doesn't make any sense, downloading should never have any effect on the source files.
Could you enable logging for FTP in Total Commander (Configuration - Options - FTP)? This will also log plugin operations.
Maybe we can see something in the logs.
----------
Connect to: (01.12.2021 9:46:02)
hostname=192.168.200.23
username=1
startdir=
192.168.200.23=192.168.200.23
220 Serv-U FTP Server v15.2.4 ready...
USER 1
331 User name okay, need password.
PASS ***********
230 User logged in, proceed.
SYST
215 UNIX Type: L8
FEAT
211-Extensions supported
UTF8
OPTS MODE;MLST;UTF8
CLNT
CSID Name; Version;
HOST domain
SITE PSWD;SET;ZONE;CHMOD;MSG;EXEC;HELP
AUTH TLS;SSL;TLS-C;TLS-P;
PBSZ
PROT
CCC
SSCN
RMDA directoryname
DSIZ
AVBL
EPRT
EPSV
MODE Z
THMB BMP|JPEG|GIF|TIFF|PNG max_width max_height pathname
REST STREAM
SIZE
MDTM
MDTM YYYYMMDDHHMMSS[+-TZ];filename
MFMT
MFCT
MFF Create;Modify;
XCRC filename;start;end
XMD5 filename;start;end
XSHA1 filename;start;end
XSHA256 filename;start;end
XSHA512 filename;start;end
COMB target;source_list
MLST Type*;Size*;Create;Modify*;Perm;Win32.ea;Win32.dt;Win32.dl
211 End (for details use "HELP commmand" where command is the command of interest)
CLNT Total Commander (UTF-8)
200 Noted.
OPTS UTF8 ON
200 OPTS UTF8 is set to ON.
Connect ok!
PWD
257 "/" is current directory.
Чтение каталога...
TYPE A
200 Type set to A.
PORT 192,168,200,22,229,118
500 PORT/EPRT (Active Mode/Extended Active Mode) is not supported. Use PASV/EPSV instead of this
PASV
227 Entering Passive Mode (192,168,200,23,175,204)
Server reports local IP -> Redirect to: 192.168.200.23
Connected to PASV port
MLSD
150 Opening BINARY mode data connection for MLSD.
Загрузка
Ожидание ответа сервера...
226 Transfer complete. 725 bytes transferred. 0,71 KB/sec.
TYPE I
200 Type set to I.
PASV
227 Entering Passive Mode (192,168,200,23,175,200)
Server reports local IP -> Redirect to: 192.168.200.23
Connected to PASV port
RETR Setup_MySQL.msi
150 Opening BINARY mode data connection for Setup_MySQL.msi (58895360 Bytes).
Загрузка
Ожидание ответа сервера...
226 Transfer complete. 58 895 360 bytes transferred. 9 414,80 KB/sec.
Copied (01.12.2021 9:46:11): ftp://192.168.200.23//Setup_MySQL.msi -> C:\Temp\Setup_MySQL.msi 58 895 360 байт, 9 295 Кб/с
QUIT
221 Goodbye, closing session.
Here is the tcftp.log of connection via SFTP. The file on the server becomes hidden.
Spoiler
There is nothing in the server log regarding Setup_MySQL.msi which would explain why it gets hidden. The SFTP plugin log also only shows
Get directory
Download file
Get directory.
I would try a different SFTP program like FileZilla to check whether the problem is on the server side.
1. Which encryption method does your public key use, e.g. RSA?
2. Is it encrypted?
3. What's the first lines of the key file? It should be a description of the content, e.g.
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,4BEA34950A87808B
Here it works with RSA public key starting with:
-----BEGIN OPENSSH PRIVATE KEY-----
I have updated to the new version and it crashes TCMD 10.5 before even showing any connection attempt.
I use ed25519. I have reverted to v2.7 and it's fine.
2kfft
Thanks, I was able to reproduce it - the flag for ed25519 was set to "disabled", so it wasn't compiled into the dll. I have now uploaded a fixed version.
2JOUBE
Did you use an ed25519 key? If yes, does the update to 3.01 fix it?