-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not able to connect with sftp server #79
Comments
Hey @vikaskumr, it's been a while, but do you still need help? On my first gaze I can see that you tried to use port 990 (FTPS) for an SFTP server (which are hosted on port 22 most of the time). |
I would like to reopen this issue with my problem if this is possible. My problem is the same as it mentioned above, i attach the code what i use:
The error message is : Fatal error: max-retries exceeded Any help would appreciate. |
Hey @mynameiszsofia Could you try to debug your problem using the LFTP command directly in your CLI? I also had some issues with certificates in the past by the way. One way to solve that was to manually download the certificate from the server and adding it to the certificate storage of my OS. |
Thank you so much for the fast reply, i will try to debug, and i will report what i found even if i could fix or not, for the future interest |
@MichielMag i returned with the debug message, i need some help because it's not really tell me something: any help would appreciate, thank you! |
Is LFTP running om the same device as your FileZilla? |
actually no because the lftp is running in docker container but we checked the sftp connection via FileZilla in a local computer |
Can you ping the server from that docker container? Can you use the SSH command from that container to connect to your SSH server? It sounds to me like it actually is a network issue. |
@MichielMag thank you so much for your time and sorry for the interrupt, our problem was with proxy so yes it was a network issue. |
FTP {
options:
{ host: 'host',
username: 'username',
password: 'password',
port: 990,
escape: true,
retries: 1,
timeout: 10,
retryInterval: 5,
retryIntervalMultiplier: 1,
requiresPassword: true,
protocol: 'sftp',
autoConfirm: true,
cwd: '',
additionalLftpCommands: 'set ssl-allow true;set ssl:verify-certificate no;set passive-mode yes',
requireSSHKey: false,
sshKeyPath: '' },
cmds: [] }
I am trying to connect my sftp server with this configuration but I am always getting
{ error: 'ls: Fatal error: max-retries exceeded\n', data: '' }
The text was updated successfully, but these errors were encountered: