cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
218
Views
0
Helpful
0
Replies

Passwordless scp or sftp for backup of NX9K switch (NX-OS v9.3.12)

CherryPie666
Level 1
Level 1

I am trying to accomplish scp or sftp backup using a user with a keypair. on a NX9K switch with NX-OS version 9.3.12.

I am using this procedure: https://www.cisco.com/c/en/us/support/docs/switches/nexus-9000-series-switches/215025-configure-ssh-passwordless-file-copy-for.html

When I use this command in bash to put the user in the network-admin role: usermod -a -G network-admin sftp_networkbck in the NX-OS cli the user is in the network-operator role

#>sh user-account sftp_networkbck
user:sftp_networkbck
this user account has no expiry date
roles:network-operator
no password set. Local login not allowed
Remote login through RADIUS/TACACS+ is possible

Has anybody encountered this issue ?

The problem is for some reason I cannot get the user to use the public key for an sftp upload.

0 Replies 0

Review Cisco Networking for a $25 gift card