execute ssh <admin_username@FGT_IPaddress> <port>
diagnose sys tcpsock | grep -n 22 (if 22 is the listening port).Output:
0.0.0.0:22->0.0.0.0:0->state=listen err=0 sockflag=0x1 rma=0 wma=0 fma=0 tma=0
FGT # get system global
admin-concurrent : enable
admin-console-timeout: 0
admin-port : 80
admin-sport : 443
admin-ssh-grace-time: 120
admin-ssh-port : 22
admin-telnet-port : 23
FGT # get system admin status
username: admin
login local: console <----- indicate from where the user is logged in
login device: N/A
login remote: :0
login vdom: root
login access profile: super_admin
login started: 2017-01-18 13:27:07
current time: 2017-01-18 13:27:19
FGT # execute ssh test@7.7.7.7
test@7.7.7.7's password:
Note that the ‘$’ prompt replaced the ‘#’ because ‘test’ user belongs to ‘prof_admin’ profile.
FGT $ get system admin status
username: test
login local: ssh
login device: internal:7.7.7.7:22
login remote: 7.7.7.7:1379
login vdom: root
login access profile: prof_admin
login started: 2017-01-18 13:21:48
current time: 2017-01-18 13:21:57
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.