I am trying to implement the script to copy or transfer dump or config files from altavault to another location. I am able to login to the altavault from linux machine using ssh command.But when I try to ssh to connect to altavault using script it is giving error as "ssh remote command is not allowed ". Please guide or show the way to get access and ssh login to altavault using script.
I discussed this topic further, and the expectation is you should be able to use advanced scripting (expect, perl, python, etc) to accomplish this. There shouldn't be any reason that the SSH session should not be allowed assuming the script awaits response, and then responds accordingly.
I already tried the all languages. I found on some riverbed steelstore community that in some versions there is a restriction to .I am not sure wether it is right or not.Anyway I already found the work around.We can execute ssh commands from script if we keep all commands of altavault in one text file and then execute that text file from script then we are able to get the result.
Solution Example :
$cli ='ssh firstname.lastname@example.org<sh.txt';
sh.txt file will contain commands of altavault which you want to execute from remote machine.....