Description | This article describes the easy way to verify the running SSH server version in the FortiManager/FortiAnalyzer. Please take note that the shell access is removed and not applicable anymore in version 7.2.6 and 7.4.4 onward. See, https://docs.fortinet.com/document/fortimanager/7.4.4/release-notes/519207 |
Scope | FortiManager/FortiAnalyzer <7.2.6, <7.4.4 |
Solution |
From Windows or Linux machine, it is simply possible to run a Telnet to the port number TCP/22 to verify this, the Telnet session will return the version information.
For example, as follows, the SSH server is running as SSH version 2.0 as the return information of SSH-2.0.
Replace the IP address with the real FortiManager/FortiAnalyzer IP address when performing the Telnet.
C:\Users\PC>telnet <FortiManager/FortiAnalyzer IP address> 22 SSH-2.0-OpenSSH_9.0
root@ubt01:/home/fortinet# telnet <FortiManager/FortiAnalyzer IP address> 22
Enable shell access:
FAZVM64 # config sys admin setting (setting)# set shell-access enable (setting)# end
Enter the shell:
FAZVM64 # exe shell
Enter the command ssh -V to see the version:
bash$ ssh -V
Disable shell access:
FAZVM64 # config sys admin setting (setting)# set shell-access disable (setting)# end |