Setup public authentication for "admin" user (host -> switch passwordless)
1) Run "sshutil importpubkey" command to import public key from host into switch
ushpwbmscsp100-san05a:admin> sshutil showuser
admin
ushpwbmscsp100-san05a:admin> sshutil importpubkey
Enter user name for whom key is imported:admin
Enter IP address:165.89.12.156 # remote host ip
Enter remote directory:/u01/app/oracle/.ssh
Enter public key name(must have .pub suffix):id_rsa.pub
Enter login name:oracle
Password:
public key is imported successfully.
2) Test the setup
-bash-4.1$ ssh admin@ushpwbmscsp100-san05a version
Kernel: 2.6.14.2
Fabric OS: v7.0.1b
Made on: Wed May 9 17:27:08 2012
Flash: Tue May 7 18:43:49 2013
BootProm: 1.0.9