Hi,
This is my seccond post. Enjoy!!
This procedure is for accessing a firewall from the Management, using rshell with
cprid_util
Tested in R81, R81.10.
Not test in R80.XX, but i think will be work
Prerequisites:
- Access to Management
1) Access via SSH to Management.
Execute the script rshell.sh attached
![mnocciolino_0-1699462354828.png mnocciolino_0-1699462354828.png](https://community.checkpoint.com/t5/image/serverpage/image-id/23120iF262C93E9956012C/image-size/medium?v=v2&px=400)
In the 1st field put the Management IP
In the 2nd field put the Gateway IP
2) After entering the 2 IPs, you will get access to the Gateway without password as admin user.
![mnocciolino_1-1699462354990.png mnocciolino_1-1699462354990.png](https://community.checkpoint.com/t5/image/serverpage/image-id/23122i584570E7E21F32BD/image-size/medium?v=v2&px=400)
This is a not bash console, to jump bash you need put the detail commands.
script /dev/null -c bash
PRESS -> "CTRL+Z"
stty raw -echo; fg
reset xterm
![mnocciolino_2-1699462354833.png mnocciolino_2-1699462354833.png](https://community.checkpoint.com/t5/image/serverpage/image-id/23121iF4D1701788077E1B/image-size/medium?v=v2&px=400)
3) After entering the commands, you will have access to the Gateway.
![mnocciolino_3-1699462354967.png mnocciolino_3-1699462354967.png](https://community.checkpoint.com/t5/image/serverpage/image-id/23123i290EA36C7763AE17/image-size/medium?v=v2&px=400)
4) After you finish using, and try to exit, you will get the following (broken terminal):
![mnocciolino_4-1699462355105.png mnocciolino_4-1699462355105.png](https://community.checkpoint.com/t5/image/serverpage/image-id/23124iF5E65E58F7FF0432/image-size/medium?v=v2&px=400)
to mitigate this, enter the command: "reset xterm" or close the terminal and open a new one.
-----------
Any suggestions or comments are welcome
mnocciolino