ssh configuration for c-mode NetApp
If ssh keys exists, no need to create a new one. If not, you need to create a key.
If ssh keys exists, no need to create a new one. If not, you need to create a key.
- Create the user with a public key authentication method.
netapp::> security login create -username monitor -application ssh -authmethod publickey -profile admin
- Copy the public key contents of the
id_rsa.pub
and place it between quotes in thesecurity login publickey create
command. (take caution not to add carriage returns or other data that modifies the keystring, leave it in one line)netapp::> security login publickey create -username monitor -index 1 -publickey "ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAQEA5s4vVbwEO1sOsq7r64V5KYBRXBDb2I5mtGmt0+3p1jjPJrXx4/
IPHFLalXAQkG7LhV5Dyc5jyQiGKVawBYwxxSZ3GqXJNv1aORZHJEuCd0zvSTBGGZ09vra5uCfxkpz8nwaTeiAT232LS2lZ6RJ4dsCz+
GAj2eidpPYMldi2z6RVoxpZ5Zq68MvNzz8b15BS9T7bvdHkC2OpXFXu2jndhgGxPHvfO2zGwgYv4wwv2nQw4tuqMp8e+
z0YP73Jg0T3jV8NYraXO951Rr5/9ZT8KPUqLEgPZxiSNkLnPC5dnmfTyswlofPGud+qmciYYr+cUZIvcFaYRG+Z6DM/HInX7w== monitor@eeadmin"Alternatively, you can use the load-from-uri function to bring the public key from another source.
netapp::> security login publickey load-from-uri -username monitor -uri http://bjacobs-lnx/
id_rsa.pub
Verify creation. netapp::> security login publickey show -username monitor
UserName: monitor Index: 1
Public Key:
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA5s4vVbwEO1sOsq7r64V5KYBRXBDb2I5mtGmt0+3p1jjPJrXx4/
IPHFLalXAQkG7LhV5Dyc5jyQiGKVawBYwxxSZ3GqXJNv1aORZHJEuCd0zvSTBGGZ09vra5uCfxkpz8nwaTeiAT232LS2lZ6RJ4dsCz+
GAj2eidpPYMldi2z6RVoxpZ5Zq68MvNzz8b15BS9T7bvdHkC2OpXFXu2jndhgGxPHvfO2zGwgYv4wwv2nQw4tuqMp8e+
z0YP73Jg0T3jV8NYraXO951Rr5/9ZT8KPUqLEgPZxiSNkLnPC5dnmfTyswlofPGud+qmciYYr+cUZIvcFaYRG+Z6DM/HInX7w== monitor@eeadmin
Fingerprint:
fd:cf:9e:06:50:4d:8c:19:5a:c6:36:0f:0f:9b:ef:bb
Bubblebabble fingerprint:
xunep-misif-magug-maryp-hikig-hycun-hisob-mymim-riryv-ryvam-toxox
Comment:- Test access from the host.
monitor@eeadmin:~$ ssh 10.61.64.150
The authenticity of host '10.61.64.150 (10.61.64.150)' can't be established.
DSA key fingerprint is d9:15:cf:4b:d1:7b:a9:67:4d:b0:a9:20:e4:fa:f4:69.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.61.64.150' (DSA) to the list of known hosts.
netapp::>
Nice post, thanks
ReplyDeleteNice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updatingHadoop Admin Online Training Bangalore
ReplyDeleteLog in to the NetApp cluster via the Command Line Interface. Use the command security key gen -t rsa to generate RSA keys. Why Bad Games Specify the key size (e.g., -s 2048 for a 2048-bit key).
ReplyDelete