How to change Shell in checkpoint? / How to change shell to bash and then back to clish?
Hello there,
Changing shell in checkpoint is sometimes necessary. Let's see why and when
When you first login to your checkpoint it takes you to clish mode where you see something like this:
abc-mycheckpoint01>
Here you get option to go to "Expert" mode.
I was trying to copy a file from the disk via WinSCP. When I logged in via WinSCP it didn't like the shell and complained about it. See below pic:
Before I tell you how can you change the shell, let me first tell you how can you see what shell your gateway currently has:
If your username is admin, then this is the way for you to verify your shell:
Login as admin
in Expert mode:
For WinSCP to work, you will need "BASH" mode for shell.
How to change the shell to -bash?
How to change the shell to clish?
I hope this has been helpful to you. Please click on below social media icons to share it.
Changing shell in checkpoint is sometimes necessary. Let's see why and when
When you first login to your checkpoint it takes you to clish mode where you see something like this:
abc-mycheckpoint01>
Here you get option to go to "Expert" mode.
I was trying to copy a file from the disk via WinSCP. When I logged in via WinSCP it didn't like the shell and complained about it. See below pic:
Before I tell you how can you change the shell, let me first tell you how can you see what shell your gateway currently has:
If your username is admin, then this is the way for you to verify your shell:
Login as admin
in Expert mode:
egrep admin /etc/passwd
You can use the below command to view available shells
on gateway:
Cat /etc/shells
For WinSCP to work, you will need "BASH" mode for shell.
How to change the shell to -bash?
Chsh –s /bin/bash
Chsh –s /etc/cli.sh
0 comments:
Post a Comment