Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Ashish_Ekka
Explorer

Hi Team,

 

What is the command to check the sshv2 on firewall ?

If we need to enable only shv2 for accessing firewall then how to do it?

1 Solution

Accepted Solutions
HeikoAnkenbrand
Champion Champion
Champion

More see here:

Check and config SSHv1 or SSHv2 on GAIA

If you want to check what SSH protocol version are supported by a local OpenSSH server, you can refer to /etc/ssh/sshd_config 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.

If it shows the following, it means that OpenSSH server supports SSH2 only.

Protocol 2

If it displays the following instead, OpenSSH server supports both SSH1 and SSH2.

Protocol 1,2

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips

View solution in original post

3 Replies
PhoneBoy
Admin
Admin
Pretty sure SSHv2 only is the default and you have to exercise extra steps to enable SSHv1.
You can make extra sure by using the ssh_version_2 service in your rulebase to permit access to the Security Gateway.
JozkoMrkvicka
Mentor
Mentor

How to check SSH protocol version on Linux

Kind regards,
Jozko Mrkvicka
0 Kudos
HeikoAnkenbrand
Champion Champion
Champion

More see here:

Check and config SSHv1 or SSHv2 on GAIA

If you want to check what SSH protocol version are supported by a local OpenSSH server, you can refer to /etc/ssh/sshd_config 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.

If it shows the following, it means that OpenSSH server supports SSH2 only.

Protocol 2

If it displays the following instead, OpenSSH server supports both SSH1 and SSH2.

Protocol 1,2

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events