<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get bash to Cluster member from Management in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Get-bash-to-Cluster-member-from-Management/m-p/197715#M36934</link>
    <description>&lt;P&gt;It's not the transmission of data that's an issue, it's the interactive nature of using a shell as you're doing.&lt;BR /&gt;Like I said, not sure how that will work over cprid in every case, but it is clever.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2023 15:27:39 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2023-11-10T15:27:39Z</dc:date>
    <item>
      <title>Get bash to Cluster member from Management</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Get-bash-to-Cluster-member-from-Management/m-p/197479#M36899</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is my seccond post. Enjoy!!&lt;/P&gt;&lt;P&gt;This procedure is for accessing a firewall from the Management, using rshell with&lt;/P&gt;&lt;PRE&gt;cprid_util &lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Tested&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in R81, R81.10.&lt;/P&gt;&lt;P&gt;Not test in R80.XX, but i think will be work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Prerequisites&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;- Access to Management&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt;&amp;nbsp;Access via SSH to Management.&lt;/P&gt;&lt;P&gt;Execute the script rshell.sh attached&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mnocciolino_0-1699462354828.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/23120iF262C93E9956012C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mnocciolino_0-1699462354828.png" alt="mnocciolino_0-1699462354828.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the 1st field put the Management IP&lt;/P&gt;&lt;P&gt;In the 2nd field put the Gateway IP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt;&amp;nbsp;After entering the 2 IPs, you will get access to the Gateway without password as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;admin&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;user.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mnocciolino_1-1699462354990.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/23122i584570E7E21F32BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mnocciolino_1-1699462354990.png" alt="mnocciolino_1-1699462354990.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a not bash console, to jump bash you need put the detail commands.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;script /dev/null -c bash&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;PRESS -&amp;gt; "&lt;STRONG&gt;CTRL+Z&lt;/STRONG&gt;"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;stty raw -echo; fg&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;reset xterm&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mnocciolino_2-1699462354833.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/23121iF4D1701788077E1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mnocciolino_2-1699462354833.png" alt="mnocciolino_2-1699462354833.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3)&lt;/STRONG&gt;&amp;nbsp;After entering the commands, you will have access to the Gateway. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mnocciolino_3-1699462354967.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/23123i290EA36C7763AE17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mnocciolino_3-1699462354967.png" alt="mnocciolino_3-1699462354967.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4)&amp;nbsp;After you finish using, and try to exit, you will get the following (broken terminal):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mnocciolino_4-1699462355105.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/23124iF5E65E58F7FF0432/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mnocciolino_4-1699462355105.png" alt="mnocciolino_4-1699462355105.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to mitigate this, enter the command: "&lt;EM&gt;reset xterm"&lt;/EM&gt;&amp;nbsp;or close the terminal and open a new one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-----------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any suggestions or comments are welcome&lt;/P&gt;&lt;P&gt;mnocciolino&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 16:55:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Get-bash-to-Cluster-member-from-Management/m-p/197479#M36899</guid>
      <dc:creator>mnocciolino</dc:creator>
      <dc:date>2023-11-08T16:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get bash to Cluster member from Management</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Get-bash-to-Cluster-member-from-Management/m-p/197518#M36900</link>
      <description>&lt;P&gt;cprid has been there for quite some time (going back to at least R5x days).&lt;BR /&gt;It also works on SMB appliances, though be aware of this:&amp;nbsp;&lt;A href="https://community.checkpoint.com/t5/SMB-Gateways-Spark/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168096#M8066" target="_blank"&gt;https://community.checkpoint.com/t5/SMB-Gateways-Spark/Output-of-cprid-truncated-after-receiving-60001-bytes/m-p/168096#M8066&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;However, I'm pretty sure it's not meant for interactive use, only executing specific commands.&lt;BR /&gt;Therefore, you might find some issues that result from using it in this manner.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 22:17:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Get-bash-to-Cluster-member-from-Management/m-p/197518#M36900</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-11-08T22:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get bash to Cluster member from Management</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Get-bash-to-Cluster-member-from-Management/m-p/197699#M36929</link>
      <description>&lt;P&gt;Hi PhoneBoy,&lt;/P&gt;&lt;P&gt;I only use cprid to execute the "rshell" command, I do not use cprid to transmit data.&lt;/P&gt;&lt;P&gt;I used this to reset the admin password, because they didn't remember the password.&lt;BR /&gt;I also used it once because there was no way to reach the management ip, and I logged in to see what the problem might be.&lt;/P&gt;&lt;P&gt;thank you for your reply.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 12:56:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Get-bash-to-Cluster-member-from-Management/m-p/197699#M36929</guid>
      <dc:creator>mnocciolino</dc:creator>
      <dc:date>2023-11-10T12:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get bash to Cluster member from Management</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Get-bash-to-Cluster-member-from-Management/m-p/197715#M36934</link>
      <description>&lt;P&gt;It's not the transmission of data that's an issue, it's the interactive nature of using a shell as you're doing.&lt;BR /&gt;Like I said, not sure how that will work over cprid in every case, but it is clever.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 15:27:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Get-bash-to-Cluster-member-from-Management/m-p/197715#M36934</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-11-10T15:27:39Z</dc:date>
    </item>
  </channel>
</rss>

