Open Valerian-Marchioni opened 2 years ago
What is running the target server? Version of OpenSSH and OSSent from my iPhoneOn Sep 19, 2022, at 9:15 AM, Valerian-Marchioni @.***> wrote: Hi, I'm having issues to connect to a new SFTP server. I initially had the following error message when trying to connect using v.2.0.2: New-SFTPSession : Failed to negociate key exchange algorithm. I then upgraded to v3.0.6 and installed .net 4.8 and i now have a different error message and still unbale to connect: New-SFTPSession : The connection was closed by the server: Failed to read binary packet data! (ProtocolError). I'm able to connect with Putty's psftp tool. Any idea what could be wrong? Thank you very much. Regards, Val
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
I don't know, we don't own that server. Is there a way for me to find it out using other tools?
This is what i get when i run psftp in verbose mode. I hope this helps:
@Valerian-Marchioni, try to use ssh-keyscan -H hostname
against this server.
It shows ssh server version
@MVKozlov Here is what it shows:
Seems there is some incompatibility between ssh.net
library and GoAnywhere
like this https://github.com/iterate-ch/cyberduck/issues/12733
I'm afraid that nothing can be done with this module.
@MVKozlov Thanks for your reply. I'll use another library for this particular server then. I just got it working with the winscp library hopefully.
Will try to download their trial and replicate. It will take a while since I live in Puerto Rico and we got hot by a hurricane and Im without power Sent from my iPhoneOn Sep 19, 2022, at 10:14 AM, Valerian-Marchioni @.***> wrote: This is what i get when i run psftp in verbose mode. I hope this helps:
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
Hi Carlos,
Thank you. It’s not urgent for me anymore as I rewrote my script to use a different library. Good luck with the hurricane.
Regards, Val
Marchioni Valerian Sr IT Specialist
Afton Chemical SPRL Rue de Scoufflény, 50, 7191 Ecaussinnes-Lalaing,Belgium
Afton Chemical SPRL Registered in Belgium under registered number RPM 0866.161.993 Registered Office at Rue de Scoufflény, 50, 7191 Ecaussinnes-Lalaing, Belgium
Afton Chemical SPRL is a wholly owned subsidiary of NewMarket Corporation which has subsidiaries and affiliates worldwide.
Both the individual sending this e-mail and NewMarket Corporation intend that this electronic message be used exclusively by the individual or entity to which it is intended to be addressed. This message may contain information that is privileged, confidential and thereby exempt and protected from unauthorised disclosure under applicable law. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, be aware that any disclosure, dissemination, distribution or copying of this communication, or the use of its contents, is not authorised and is strictly prohibited. If you have received this communication and are not the intended recipient, please notify the sender immediately and permanently delete the original message from your e-mail system From: Carlos Perez @.> Sent: Tuesday, October 11, 2022 10:42 AM To: darkoperator/Posh-SSH @.> Cc: Marchioni, Valerian @.>; Mention @.> Subject: Re: [darkoperator/Posh-SSH] Failed to read binary data! (ProtocolError) (Issue #480)
----------- EXTERNAL EMAIL ----------- This email originated from outside of your organization. Do not click links or open attachments unless you recognize the source of this email and know the content is safe. If unsure report it to IT ServiceDesk.
Will try to download their trial and replicate. It will take a while since I live in Puerto Rico and we got hot by a hurricane and Im without power Sent from my iPhoneOn Sep 19, 2022, at 10:14 AM, Valerian-Marchioni @.***> wrote: This is what i get when i run psftp in verbose mode. I hope this helps:
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
— Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdarkoperator%2FPosh-SSH%2Fissues%2F480%23issuecomment-1274322000&data=05%7C01%7Cvalerian.marchioni%40aftonchemical.com%7Caa55d7e0a0fe47cd9c9608daab647624%7C623bad82f947477aab47ed8e32d9d7f2%7C0%7C0%7C638010745232687863%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=o4XYV1Gs59AckDZ2tgTqVKO%2BGSbM06PIq6A4EzebL8U%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA3D4YA3NOKT262YE55Z26JTWCUR5LANCNFSM6AAAAAAQQDC4VY&data=05%7C01%7Cvalerian.marchioni%40aftonchemical.com%7Caa55d7e0a0fe47cd9c9608daab647624%7C623bad82f947477aab47ed8e32d9d7f2%7C0%7C0%7C638010745232687863%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=shAY2cUnn%2BX5VPb4dCgJ2%2F6VNH2fM%2Fmjx7iYwpvBD4I%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>
Hi,
I'm having issues to connect to a new SFTP server. I initially had the following error message when trying to connect using v.2.0.2: New-SFTPSession : Failed to negociate key exchange algorithm.
I then upgraded to v3.0.6 and installed .net 4.8 and i now have a different error message and still unbale to connect: New-SFTPSession : The connection was closed by the server: Failed to read binary packet data! (ProtocolError).
I'm able to connect with Putty's psftp tool.
Any idea what could be wrong?
Thank you very much.
Regards, Val