7000 automatic login to systemshell

1. Make sure autologin is set up correctly

2. run the following command:

# ssh -t 192.168.4.130 confirm shell
(where 192.168.4.130 is the appliance)

3. example: query zpools

# ssh -t 192.168.4.130 confirm shell zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
p1 59.6G 250M 59.4G 0% 1.00x ONLINE -
system 49.8G 3.48G 46.3G 6% 1.00x ONLINE -

4. example: create a filesystem and snapshot

# ssh -t root@192.168.4.130 confirm shell zfs create p1/local/ora/newzfs1 \; zfs snapshot p1/local/ora/newzfs1@recent0

This entry was posted in solaris. Bookmark the permalink.

Comments are closed.