Configuring Authentication for SRC User Accounts (SRC CLI)
You can configure user accounts by using the following methods:
Configuring a Plain Text Password
To configure a plain text password for a user account:
- At the [edit system user user-name ] hierarchy, enter the set authentication plain text-password command. For example:[edit system user JASmith]user@host# set authentication plain-text-password New password: type password here Retype new password: retype password here
Configuring SSH Authentication
Before you configure SSH authentication, obtain the contents of SSH key files. You can copy the contents of an SSH keys file into a CLI session:
- On a management machine such as a PC or personal workstation,
create an ssh-rsa key:> ssh-keygen (provide input)> cat ~/.ssh/id_rsa.pub
- On the C Series Controller enter the set system login
user testuser authentication ssh-authorized-key command,
and paste in the SSH key:user@host# set system login user testuser authentication ssh-authorized-key “ pasted content of id_rsa.pub ”
For example:
user@host# set system login user testuser authentication ssh-authorized-key "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAvSqAWNdMTQJS9eqG1eqRANI3ML4hH+u7WX/HP0W82gDSPpjghnt1e5de3D8U
kuIIEUBf1obgy/7AKc98FqAIvVp5onCiMg8ELD6RYkgOgo7U6zERB25qy3sK1Rn9NzrB20qLzbvAcZW1
NIePmf1R99d/Rge7KB/5k6fq3NOG0fc= id@server" "ssh-rsa AAAA
B3NzaC1yc2EAAAABIwAAAIEAxlwe9HfZ78vbdfq1+AY0uCF79yGPxgGuwGZd9QVdT+dniwGh/4HwLITvKd8SYrhmJsyhz5dWuZm
94JSwQosm9BVhJwREt39NYIkLWOjGIMkk8Cxw4TkpFfeIz1cSbeFxtFBFVaBbo4YkEv5ItbuxwvbTWURkvsQa
2VJXAqIs7z8= id2@server2eriand" "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAwwOo
UD4m+SazgzF2kRIq5Y2+Ix2zQbCxqBSD1rmW92eLPOQIBv/sEy2d8UNeHpoKot9Px8q9ABriOyO
Nc7vqNsSVnAMyicQB786uHoabSErVIYscapTYvIGg+olbdhKySbSxOoXMehhgoQS0JZxHCbxsQJip7/7vJ
PCjRGU8Xq0= id@server3" ];