Sometimes you may face error when try to access SecurePlatform via Win SCP. This user is needed when we want to copy some files into Checkpoint or upload some files from our Checkpoint
Well, below are the steps to access via WinSCP:
1. Create new user from Web GUI, let say adminscp
2. Login to your SecurePlatform CLI
3. Enter to Expert Mode
4. Type :
cat > /etc/scpusers <cr>
adminscp <cr>
<Ctrl-D>
5. Edit /etc/passwd and change “cpshell” to “bash” at the end of user line, for example:
change line
adminscp:x:0:0::/home/winscp:/bin/cpshell
to
adminscp:x:0:0::/home/winscp:/bin/bash
6. Change in the /etc/group and add the user to the appropiated groups such below:
root:x:0:root,adminscp