How do i execute a custom script remotely on a HMC using SSH?
I have set up a trusted ssh key exchange between HMC and client LPAR which works. For example, the below works:
remote mach> ssh -l hscroot 192.167.12.11 uname -a
When i attemp to run a script:
remote mach> ssh -l hscroot 192.167.12.11 ./scriptname
it complains about the use of "/" in the restricted shell.
How do i get round this to execute the custom script?
I have set up a trusted ssh key exchange between HMC and client LPAR which works. For example, the below works:
remote mach> ssh -l hscroot 192.167.12.11 uname -a
When i attemp to run a script:
remote mach> ssh -l hscroot 192.167.12.11 ./scriptname
it complains about the use of "/" in the restricted shell.
How do i get round this to execute the custom script?