<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Need remote access to Altavault using script.Unable to run ssh commands from script on Altavault in NetApp Console</title>
    <link>https://community.netapp.com/t5/NetApp-Console/Need-remote-access-to-Altavault-using-script-Unable-to-run-ssh-commands-from/m-p/108802#M121</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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 "&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;ssh remote command is not allowed&lt;/STRONG&gt;&lt;/FONT&gt; ". Please guide or show the way to get access and ssh login to altavault using script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#99CC00"&gt;Script:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;USERNAME="admin"&lt;BR /&gt;HOST="10.216.50.25"&lt;BR /&gt;ssh -o StrictHostKeyChecking=no -l $USERNAME $HOST "pwd; ls"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#99CC00"&gt;Execution on Linux machine:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;[root@GTheGandalf ~]# ./slogin.sh&lt;BR /&gt;NetApp SteelStore&lt;BR /&gt;admin@10.216.50.25's password:&lt;BR /&gt;NetApp ssh: ssh remote command is not allowed.&lt;BR /&gt;[root@GTheGandalf ~]#&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 23:30:37 GMT</pubDate>
    <dc:creator>Rutul</dc:creator>
    <dc:date>2025-06-04T23:30:37Z</dc:date>
    <item>
      <title>Need remote access to Altavault using script.Unable to run ssh commands from script on Altavault</title>
      <link>https://community.netapp.com/t5/NetApp-Console/Need-remote-access-to-Altavault-using-script-Unable-to-run-ssh-commands-from/m-p/108802#M121</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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 "&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;ssh remote command is not allowed&lt;/STRONG&gt;&lt;/FONT&gt; ". Please guide or show the way to get access and ssh login to altavault using script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#99CC00"&gt;Script:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;USERNAME="admin"&lt;BR /&gt;HOST="10.216.50.25"&lt;BR /&gt;ssh -o StrictHostKeyChecking=no -l $USERNAME $HOST "pwd; ls"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#99CC00"&gt;Execution on Linux machine:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;[root@GTheGandalf ~]# ./slogin.sh&lt;BR /&gt;NetApp SteelStore&lt;BR /&gt;admin@10.216.50.25's password:&lt;BR /&gt;NetApp ssh: ssh remote command is not allowed.&lt;BR /&gt;[root@GTheGandalf ~]#&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 23:30:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/NetApp-Console/Need-remote-access-to-Altavault-using-script-Unable-to-run-ssh-commands-from/m-p/108802#M121</guid>
      <dc:creator>Rutul</dc:creator>
      <dc:date>2025-06-04T23:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need remote access to Altavault using script.Unable to run ssh commands from script on Altavault</title>
      <link>https://community.netapp.com/t5/NetApp-Console/Need-remote-access-to-Altavault-using-script-Unable-to-run-ssh-commands-from/m-p/108842#M122</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please take a look at the AltaVault CLI guide, which can help address your question. I'll take a further look and get back to you if I find anything else.&lt;/P&gt;&lt;P&gt;&lt;A href="http://mysupport.netapp.com/documentation/docweb/index.html?productID=62033&amp;amp;language=en-US" target="_blank"&gt;http://mysupport.netapp.com/documentation/docweb/index.html?productID=62033&amp;amp;language=en-US&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christopher&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2015 14:42:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/NetApp-Console/Need-remote-access-to-Altavault-using-script-Unable-to-run-ssh-commands-from/m-p/108842#M122</guid>
      <dc:creator>chriswong</dc:creator>
      <dc:date>2015-08-19T14:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need remote access to Altavault using script.Unable to run ssh commands from script on Altavault</title>
      <link>https://community.netapp.com/t5/NetApp-Console/Need-remote-access-to-Altavault-using-script-Unable-to-run-ssh-commands-from/m-p/108930#M123</link>
      <description>&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Christopher&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2015 16:25:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/NetApp-Console/Need-remote-access-to-Altavault-using-script-Unable-to-run-ssh-commands-from/m-p/108930#M123</guid>
      <dc:creator>chriswong</dc:creator>
      <dc:date>2015-08-20T16:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need remote access to Altavault using script.Unable to run ssh commands from script on Altavault</title>
      <link>https://community.netapp.com/t5/NetApp-Console/Need-remote-access-to-Altavault-using-script-Unable-to-run-ssh-commands-from/m-p/108932#M124</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#99CC00"&gt;Solution Example :&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;#!/usr/bin/perl&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;$cli ='ssh admin@10.216.50.25&amp;lt;sh.txt';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;$execute=`$cli`;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;print $execute;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#003366"&gt;sh.txt file will contain commands of altavault which you want to execute from remote machine.....&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was executed successfully with result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rutul&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2015 17:04:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/NetApp-Console/Need-remote-access-to-Altavault-using-script-Unable-to-run-ssh-commands-from/m-p/108932#M124</guid>
      <dc:creator>Rutul</dc:creator>
      <dc:date>2015-08-20T17:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need remote access to Altavault using script.Unable to run ssh commands from script on Altavault</title>
      <link>https://community.netapp.com/t5/NetApp-Console/Need-remote-access-to-Altavault-using-script-Unable-to-run-ssh-commands-from/m-p/125726#M125</link>
      <description>&lt;P&gt;Rutul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A here document&amp;nbsp;has worked well for me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;/P&gt;&lt;P&gt;host="altavaulthostname"&lt;/P&gt;&lt;P&gt;ssh -tt -l admin ${host} &amp;lt;&amp;lt; EOF 2&amp;gt;/dev/null&lt;BR /&gt;en&lt;BR /&gt;show version all&lt;BR /&gt;show info&lt;BR /&gt;exit&lt;BR /&gt;EOF&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 18:41:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/NetApp-Console/Need-remote-access-to-Altavault-using-script-Unable-to-run-ssh-commands-from/m-p/125726#M125</guid>
      <dc:creator>tcm10</dc:creator>
      <dc:date>2016-11-28T18:41:56Z</dc:date>
    </item>
  </channel>
</rss>

