Multi Commander > Support and Feedback
SFTP Connection fails
mrapi:
Hi
is there any special setting to do? I've put host,user and password,but it is not working,got:
--- Code: ---Failed to connect
Failed to initialize socket - Cannot connect to server
Connection... Failed!
--- End code ---
it works fine in total commander
thanks
--- Quote from: Mathias (Author) on January 24, 2025, 18:28:52 ---Let me know any issue you have with the SFTP/SCP extension.
Normal UserName/Password login should work
--- End quote ---
Mathias (Author):
--- Quote from: mrapi on September 18, 2025, 17:27:15 ---Hi
is there any special setting to do? I've put host,user and password,but it is not working,got:
--- Code: ---Failed to connect
Failed to initialize socket - Cannot connect to server
Connection... Failed!
--- End code ---
it works fine in total commander
thanks
--- Quote from: Mathias (Author) on January 24, 2025, 18:28:52 ---Let me know any issue you have with the SFTP/SCP extension.
Normal UserName/Password login should work
--- End quote ---
--- End quote ---
I Use SFTP(SSH) daily without issue.
Sure IP and port are correct ? Maybe FW issue. maybe have outbound block on. and MC need to be allowed allowed to connect out ?
Try enable higher loglevel in Core settings. might output something more.
mrapi:
hi,tuned off firewall and defender,still not working,that is the full log got:
--- Code: ---2025-09-19 08:48:37 Codepage not set. Will try to auto-detect if UTF-8 is supported
2025-09-19 08:48:37 No text format conversions will be done for text file transfers
2025-09-19 08:48:37 Connecting to ftps://....:22
2025-09-19 08:48:37 Connecting failed (GetAddrInfo) : 11001
2025-09-19 08:48:37 Key exchange method : (null)
2025-09-19 08:48:37 Host key method : (null)
2025-09-19 08:48:37 Encryption method (client to server) : (null)
2025-09-19 08:48:37 Encryption method (server to client) : (null)
2025-09-19 08:48:37 MAC (message authentication code) method (client to server) : (null)
2025-09-19 08:48:37 MAC (message authentication code) method (server to client) : (null)
2025-09-19 08:48:37 Authentication handshake failed : No method negotiated
2025-09-19 08:48:37 Closing Session...
2025-09-19 08:48:38 Session closed
2025-09-19 08:48:38 Failed to connect to server
2025-09-19 08:48:38 Connection... Failed!
--- End code ---
Mathias (Author):
GetAddrInfo fails with 11001 . and that is HOST_NOT_FOUND.
It fails to resolve IP address
So check your host address.
Mathias (Author):
You do not need to specify protocol like ftps://
Just enter host name in hostname field
Also you have ftps://
that are normally for FTP with SSL/TLS. Then you need to use the FTP device in MC
sftp:// is used for FileTransfer over SSH. Then you connect to a SSH connection and do filetransfer using that.
Navigation
[0] Message Index
[#] Next page
Go to full version