Let's troubleshoot... We also do trainings .. Checkout our training page https://asame2.blogspot.com/p/we-also-deliver-trainings.html

Featured Post

How to generate a CSR on Cisco ASA using CLI? CSR- (Certificate signing request)

First thing we need is an RSA key pair:   crypto key generate rsa label SSL-Key modulus 1024 noconfirm Create a trust-point crypto ca...

Recent Comments

Recent Post

Monday 22 April 2019

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

 

 


How to verify the current shell for checkpoint?


Do you need to know what shell your checkpoint firewall currently has?


Login to your gateway using admin
Go to Expert mode


You can use the below command to check what the current shell mode is:
egrep admin /etc/passwd

The output will be like this:
 

I hope this has been helpful to you. Please care to share using below social media icons.