Are there any script examples using ssh from a unix ( aix ) server to run the useradmin command on multiple FAS250's running OnTAP 7.2.6.1?
I've cobbled together something using SSH and Expect, but it appears that OnTAP is only seeing the first two command I pass and truncating the rest.
If I simply run ssh from a prompt, I get an error
root@myserver:>ssh caseyd@filerserv01.domain.com useradmin user add jsmith -g administrators
caseyd@filerserv01.domain.com's password:
Could not add user <jsmith>. Error: Invalid parameter