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
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
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
3) After entering the commands, you will have access to the Gateway.
mnocciolino_3-1699462354967.png
4) After you finish using, and try to exit, you will get the following (broken terminal):
mnocciolino_4-1699462355105.png
to mitigate this, enter the command: "reset xterm" or close the terminal and open a new one.
-----------
Any suggestions or comments are welcome
mnocciolino