8.16 HP Utility Meter User's Guide (June 2010)

# chown -R root administrator
7. Create the administrator/.ssh directory:
# mkdir administrator/.ssh
8. On the VLS, change the permissions for the directories /home, /home/administrator and
/home/administrator/.ssh to 700:
# chmod 700 /home
# chmod 700 /home/administrator
# chmod 700 /home/administrator/.ssh
9. Use secure FTP to transfer the public key id_rsa.pub generated in Step 4 from the Utility Meter to
/home/administrator/.ssh on the VLS device.
10. On the VLS, add the public key of the Utility Meter to the file authorized_keys:
# cd /home/administrator/.ssh
# cat id_rsa.pub >> authorized_keys
11. On the VLS, change the permissions of authorized_keys to 600:
# chmod 600 /home/administrator/.ssh/authorized_keys
12. Exit from the VLS.
13. On the Utility Meter (still logged on as user umeter), run ssh to the VLS and answer yes at the prompt
about continuing to connect so that the known_hosts file will be updated:
$ ssh administrator@myvls1.myco.com
The authenticity of host myvls1.myco.com (11.22.33.44)' can't be established.
RSA key fingerprint is 0f:76:e2:0f:81:1c:e9:0a:25:20:8b:47:e5:32:5d:4f.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'myvls1.myco.com,
16.56.172.221' (RSA) to the list of known hosts.
Last login: Mon May 10 19:01:50 2010 from mymeter.myco.com
System ( /usr/java/jre/bin/java -Ds2xmgr.home=/S2100/s2xmgr_java -cp
/S2100/s2xmgr_java/s2xcli.jar com.sepaton.s2xmgr.cli.acorn -clishell -jx
/S2100/s2xmgr_java/bin/jexec -u administrator -o
/S2100/s2xmgr_java/cli_administrator.log -c continueOnError -c connect )
administrator@myvls1>
14. Test the password-less login from the Utility Meter (still logged on as user umeter) by rerunning ssh
to the VLS to verify that the umeter user is not prompted to enter a password for accessing the VLS.
Type quit at the VLS CLI command prompt to exit the SSH connection.
$ ssh administrator@myvls1.myco.com
Last login: Tue May 11 01:39:23 2010 from mymeter.myco.com
System ( /usr/java/jre/bin/java -Ds2xmgr.home=/S2100/s2xmgr_java -cp
/S2100/s2xmgr_java/s2xcli.jar com.sepaton.s2xmgr.cli.acorn -clishell -jx
/S2100/s2xmgr_java/bin/jexec -u administrator -o
/S2100/s2xmgr_java/cli_administrator.log -c continueOnError -c connect )
administrator@myvls1> quit
Connection to myvls1.hp.com closed.
2.10 URS Cisco SAN Switch Only – Enabling the CIM Server
If any of the metered devices are URS Cisco SAN switches, then you must enable the CIM server on the
switch. Consult the
Cisco MDS 9000 Family SMI-S Programming Reference
for how to enable the CIM server.
34 Installing and Configuring the Utility Meter Software