NVIDIA NVOS User Manual for InfiniBand Switches v25.02.7002

SSH Commands

nv show system ssh-server

Show SSH server configurations.

Syntax Description

N/A

Default

N/A

History

25.02.2002

25.02.3000 Updated command output

Example

Copy
Copied!
            

admin@nvos:~$ nv show system ssh-server operational applied ---------------------- ----------- -------- authentication-retries 6 6 login-timeout 120 120 inactive-timeout 15 15 login-record-period 1 1 max-sessions 100 100 pka-only disabled disabled [port] 22 22

REST API

GET https://<ip>/nvue_v1/system/ssh-server

Related Commands

nv show system ssh-server

Notes

Applied for new connections only.

nv show system ssh-server port

Show TCP port numbers for to listen for incoming SSH sessions.

Syntax Description

N/A

Default

N/A

History

25.02.3000

Example

Copy
Copied!
            

admin@nvos:~$ nv show system ssh-server port Ports ----- 22

REST API

GET https://<ip>/nvue_v1/system/ssh-server/port

Related Commands

nv show system ssh-server

Notes

Applied for new connections only.

nv set/unset system ssh-server inactive-timeout [<integer time>]

Configure inactive timeout for ssh connections in minutes <0-35000>.

Syntax Description

integer time

Number of minutes: 0–35000 minutes

Default

15 minutes

History

25.02.2002

25.02.5002 Updated command syntax

Example

Copy
Copied!
            

admin@nvos:~$ nv set system ssh-server inactive-timeout 300

REST API

PATCH https://<ip>/nvue_v1/system/ssh-server/inactive-timeout

Related Commands

nv show system ssh-server

Notes

Applied for new connections only.

nv set/unset system ssh-server max-sessions [<integer sessions>]

Configuring the maximum number of ssh connections <3–100>.

Syntax Description

integer sessions

Number of sessions: 3–100 sessions

Default

100

History

25.02.2002

Example

Copy
Copied!
            

admin@nvos:~$ nv set system ssh-server max-sessions 10

REST API

PATCH https://<ip>/nvue_v1/system/ssh-server/max-sessions

Related Commands

nv show system ssh-server

Notes

Applied for new connections only.

nv set/unset system ssh-server port

Configure the ports for the systems ssh-server.

Syntax Description

N/A

Default

22

History

25.02.2002

25.02.5002 Updated command syntax

Example

Copy
Copied!
            

admin@nvos:~$ nv set system ssh-server port

REST API

PATCH https://<ip>/nvue_v1/system/ssh-server/port

Related Commands

nv show system ssh-server

Notes

Multiple ports can be configured. By default, port 22 is used. Any user configuration will remove the default, the user need to configure port 22 explicitly.

© Copyright 2026, NVIDIA. Last updated on Feb 23, 2026