Networking NVIDIA NVOS User Manual for InfiniBand Switches

SSH for Remote Access Commands

nv show system ssh-server trusted-ca-keys


nv show system ssh-server trusted-ca-keys

Shows the trusted CA keys.

Syntax Description

N/A


Default

N/A

History


25.02.7002


Example

admin@nvos:~$ nv show system ssh-server trusted-ca-keys
Trusted CA Key Name  Key string  Key Type
-------------------  ----------  --------
k1                   *           ssh-rsa


REST API

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

Related Commands

nv show system ssh-server trusted-ca-keys <key-id>

Notes


nv show system ssh-server trusted-ca-keys id


nv show system ssh-server trusted-ca-keys <key-id>

Shows the configuration of a trusted CA key.

Syntax Description

key-id

The ID of the trusted CA key.

Default

N/A

History


25.02.7002


Example

admin@nvos:~$ nv show system ssh-server trusted-ca-keys k1
      operational  applied
----  -----------  -------
key   *
type  ssh-rsa


REST API

GET https://<ip>/nvue_v1/system/ssh-server/trusted-ca-keys/<key-id>

Related Commands

nv set system ssh-server trusted-ca-keys <key-id> key <key-value>
nv show system ssh-server trusted-ca-keys

Notes


nv set system ssh-server trusted-ca-keys key


nv set system ssh-server trusted-ca-keys <key-id> key <key-value>

Sets the key string (the base64-encoded public key) of a trusted CA key.

Syntax Description

key-id

The ID of the trusted CA key.

key-value

The base64-encoded public key of the CA (string).

Default

N/A

History


25.02.7002


Example

admin@nvos:~$ nv set system ssh-server trusted-ca-keys k1 key AAAAB3NzaC1yc2EAAAADA..

REST API

PATCH https://<ip>/nvue_v1/system/ssh-server/trusted-ca-keys/<key-id>/key

Related Commands

nv show system ssh-server trusted-ca-keys <key-id>
nv set system ssh-server trusted-ca-keys <key-id> type <key-type>

Notes


nv set system ssh-server trusted-ca-keys type


nv set system ssh-server trusted-ca-keys <key-id> type <key-type>

Sets the type of a trusted CA key.

Syntax Description

key-id

The ID of the trusted CA key.

key-type

ssh-rsa | ecdsa-sha2-nistp256 | ecdsa-sha2-nistp384 | ecdsa-sha2-nistp521 | ssh-ed25519 

Default

ssh-rsa

History


25.02.7002


Example

admin@nvos:~$ nv set system ssh-server trusted-ca-keys k1 type ssh-rsa


REST API

PATCH https://<ip>/nvue_v1/system/ssh-server/trusted-ca-keys/<key-id>/type

Related Commands

nv show system ssh-server trusted-ca-keys <key-id>
nv set system ssh-server trusted-ca-keys <key-id> key <key-value>

Notes


nv show system aaa user ssh cert-auth principals


nv show system aaa user <user-id> ssh cert-auth principals

Shows the certificate principals of a user.

Syntax Description

user-id

The user name.

Default

N/A

History


25.02.7002


Example

admin@nvos:~$ nv show system aaa user test ssh cert-auth principals
Certificate Principal
---------------------
admin
admin2


REST API

GET https://<ip>/nvue_v1/system/aaa/user/<user-id>/ssh/cert-auth/principals

Related Commands

nv set system aaa user <user-id> ssh cert-auth principals <principal>

Notes



nv show system aaa user ssh cert-auth


nv show system aaa user <user-id> ssh cert-auth

Shows the certificate authentication configuration of a user.

Syntax Description

user-id

The user name.

Default

N/A

History


25.02.7002


Example

admin@nvos:~$ nv show system aaa user test ssh cert-auth
              operational  applied  pending
------------  -----------  -------  -------
state         enabled      enabled  enabled
[principals]  admin        admin    admin


REST API

GET https://<ip>/nvue_v1/system/aaa/user/<user-id>/ssh/cert-auth

Related Commands

nv set system aaa user <user-id> ssh cert-auth state <enabled | disabled>
nv set system aaa user <user-id> ssh cert-auth principals <principal>

Notes



nv set system aaa user ssh cert-auth principals


nv set system aaa user <user-id> ssh cert-auth principals <principal>

Adds a certificate principal for a user.

Syntax Description

user-id

The user name.

principal

The principal name (string). Add one principal per command.

Default

N/A

History


25.02.7002


Example

admin@nvos:~$ nv set system aaa user admin ssh cert-auth principals test

REST API

PATCH https://<ip>/nvue_v1/system/aaa/user/<user-id>/ssh/cert-auth/principals/<principal>

Related Commands

nv show system aaa user <user-id> ssh cert-auth principals

Notes



nv set system aaa user ssh cert-auth state


nv set system aaa user <user-id> ssh cert-auth state <enabled | disabled>

Enables or disables SSH certificate authentication for a user.

Syntax Description

user-id

The user name.

state

enabled | disabled

Default

disabled

History


25.02.7002


Example

admin@nvos:~$ nv set system aaa user test ssh cert-auth state enabled

REST API

PATCH https://<ip>/nvue_v1/system/aaa/user/<user-id>/ssh/cert-auth/state

Related Commands

nv show system aaa user <user-id> ssh cert-auth

Notes



Last updated: