Please
create another domain for your local ssh authentication, like this, then use
username@domain to login in the switch
#
domain
local
authentication
lan-access local
authorization
lan-access none
accounting
lan-access none
#
#
local-user
admin class manage
password
hash
$h$6$wdQtT0xgikmuNNuj$L4yfSaE32k7nMuEYIPdmcqaz5qZKZWlgaKu7lmVJOtnFaoYKm2W6o5Smqx5ROgoKAO91RCm9yaqaJxwe+c27Pg==
service-type
ftp
service-type
ssh telnet http https
authorization-attribute
user-role network-admin
#
So
you can login with admin@local to ssh to switch