<?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 Check and config SSHv1 or SSHv2 on GAIA in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Check-and-config-SSHv1-or-SSHv2-on-GAIA/m-p/58156#M4370</link>
    <description>&lt;H2&gt;&lt;FONT size="4"&gt;Check and config supported SSH protocol version.&lt;/FONT&gt;&lt;/H2&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Method One&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;If you want to check what SSH protocol version are supported by a local OpenSSH server, you can refer to&amp;nbsp;/etc/ssh/sshd_config&amp;nbsp;file. Open /etc/ssh/sshd_config with a vi editor and look for "Protocol" field. You can also config the version over this parameter. If you change the paarameter so you should restart sshd.&lt;/P&gt;
&lt;P&gt;If it shows the following, it means that OpenSSH server supports SSH2 only.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Protocol 2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV id="highlighter_307720" class="syntaxhighlighter  plain"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;If it displays the following instead, OpenSSH server supports both SSH1 and SSH2.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Protocol 1,2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV id="highlighter_167611" class="syntaxhighlighter  plain"&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Method Two&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you cannot access /etc/ssh/sshd_config because OpenSSH server is running on a remote server, you can test its SSH protocol support by using SSH client program called&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;TT&gt;ssh&lt;/TT&gt;. More specifically, we force&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;TT&gt;ssh&lt;/TT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to use a specific SSH protocol, and see how the remote SSH server responds.&lt;/P&gt;
&lt;P&gt;T&lt;SPAN&gt;he following command will force&amp;nbsp;&lt;/SPAN&gt;&lt;TT&gt;ssh&lt;/TT&gt;&lt;SPAN&gt;&amp;nbsp;command to use SSH1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#&amp;nbsp;ssh &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;-1&lt;/FONT&gt;&lt;/STRONG&gt; user@remote_server&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the remote SSH server supports SSH2 only, the first command with "-1" option will fails with an error message like this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#&amp;nbsp;ssh &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;-2&lt;/STRONG&gt;&lt;/FONT&gt; user@remote_server&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Sun, 14 Jul 2019 19:01:57 GMT</pubDate>
    <dc:creator>HeikoAnkenbrand</dc:creator>
    <dc:date>2019-07-14T19:01:57Z</dc:date>
    <item>
      <title>Check and config SSHv1 or SSHv2 on GAIA</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Check-and-config-SSHv1-or-SSHv2-on-GAIA/m-p/58156#M4370</link>
      <description>&lt;H2&gt;&lt;FONT size="4"&gt;Check and config supported SSH protocol version.&lt;/FONT&gt;&lt;/H2&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Method One&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;If you want to check what SSH protocol version are supported by a local OpenSSH server, you can refer to&amp;nbsp;/etc/ssh/sshd_config&amp;nbsp;file. Open /etc/ssh/sshd_config with a vi editor and look for "Protocol" field. You can also config the version over this parameter. If you change the paarameter so you should restart sshd.&lt;/P&gt;
&lt;P&gt;If it shows the following, it means that OpenSSH server supports SSH2 only.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Protocol 2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV id="highlighter_307720" class="syntaxhighlighter  plain"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;If it displays the following instead, OpenSSH server supports both SSH1 and SSH2.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Protocol 1,2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV id="highlighter_167611" class="syntaxhighlighter  plain"&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Method Two&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you cannot access /etc/ssh/sshd_config because OpenSSH server is running on a remote server, you can test its SSH protocol support by using SSH client program called&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;TT&gt;ssh&lt;/TT&gt;. More specifically, we force&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;TT&gt;ssh&lt;/TT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to use a specific SSH protocol, and see how the remote SSH server responds.&lt;/P&gt;
&lt;P&gt;T&lt;SPAN&gt;he following command will force&amp;nbsp;&lt;/SPAN&gt;&lt;TT&gt;ssh&lt;/TT&gt;&lt;SPAN&gt;&amp;nbsp;command to use SSH1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#&amp;nbsp;ssh &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;-1&lt;/FONT&gt;&lt;/STRONG&gt; user@remote_server&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the remote SSH server supports SSH2 only, the first command with "-1" option will fails with an error message like this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#&amp;nbsp;ssh &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;-2&lt;/STRONG&gt;&lt;/FONT&gt; user@remote_server&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 14 Jul 2019 19:01:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Check-and-config-SSHv1-or-SSHv2-on-GAIA/m-p/58156#M4370</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2019-07-14T19:01:57Z</dc:date>
    </item>
  </channel>
</rss>

