Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
jefazo92
Contributor

How verify SSH version running on a Fortigate?

Hi, I would like to know if there is a command to find the SSH version running on my Fortigate.

4 REPLIES 4
AEK
SuperUser
SuperUser

Hi Jefazo

Try this command from your laptop:

$ nmap -p22 -sV <IP-address-of-your-FG>

 

AEK
AEK
arahman
Staff
Staff
jbernabe
Staff
Staff

Dear jefazo92,

To verify the SSH version running on a FortiGate, you can use the following command in the CLI:

1. Log in to the FortiGate CLI.

2. Enter the command: ``` get system info admin ssh ```

3. Look for the output that specifies the SSH version. It will typically indicate if SSH v2 is enabled and the port number it is running on.

This command will display information about the SSH configuration on the FortiGate unit, including the SSH version and port number.

Best Regards,
Jef

boneyard
Valued Contributor

Is there a specific reason you want to know it? Perhaps due to CVE-2024-6387 / RegreSSHion?

 

Then look here: https://community.fortinet.com/t5/Support-Forum/CVE-2024-6387-RegreSSHion/td-p/324182

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors