cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

CISCO SWITCHES FOR SMALL and MEDIUM BUSINESS

Introducing the next generation of Cisco Small and Medium Business Switches. Cisco is refreshing its SMB Switch portfolio. Click here  to learn more.


177
Views
0
Helpful
0
Replies
Highlighted
Beginner

SG300-28P - Multiple SSH public keys per user account

I wish to use SSH public key authentication between my computers and a specific user account on the switch. This works fine from my laptop - I just add my laptop user's public RSA key to the switch's user account via the Web interface.

 

The problem comes when I try to add a second public key, this time from my desktop user, to the same user account on the switch. It tells me there is already a key associated with the account and will fail to add a second. Is this switch limited to a single key per user account!? If so, that really seems like a crappy design choice.

 

I understand I can create additional user accounts on the switch and assign different keys to each but that's far from ideal for my use case. I wish to periodically run scripts, and potentially Ansible automation, from various machines, and would like them to all use the same user account on the switch, with their own unique public key.