WinSCP " Connection has been unexpectedly closed" while accessing your checkpoint firewall.
For WinSCP to work, change shell to “BASH”
When you get the below error logging into WinSCP, you
know what is the problem. You need to change the shell to BASH.
WinSCP needs bash.
Here is how to fix it?
1. Login to your gateway/firewall using admin/or the username that you are using while logging into WinSCP.
2. Go to Expert mode
3. Chsh –s /bin/bash
You can also visit:
How to verify the current shell for checkpoint?
How to change Shell in checkpoint? / How to change shell to bash and then back to clish?
I hope this has been helpful to you. Please care to share using below social media icons.
https://tools.zscaler.com/upload/
Password - Z9VEp5NCVxpLdFU