Blogs

Scripting How-To: SSH session from within a SLAX script

By Erdem posted 08-09-2015 07:21

  

Overview

Script for use in Junos Space 13.2 and later. This applies to SLAX version 1.2 and higher.

Feature

 

This script explained at How to open an SSH session from within a SLAX script.


001	version 1.2;
002	 
003	/* Namespace declarations */
004	ns junos = "http://xml.juniper.net/junos/*/junos";
005	ns xnm = "http://xml.juniper.net/xnm/1.1/xnm";
006	ns jcs = "http://xml.juniper.net/junos/commit-scripts/1.0";
007	ns str = "http://exslt.org/strings";
008	ns func extension = "http://exslt.org/functions";
009	ns jspace = "http://jspace-utils/asharp@juniper.net";
010	 
011	/* Junos Space annotations */
012	/* @ISLOCAL = "true" */
013	/* 

#ssh
#Slax
#ScriptingHow-To
#JunosSpace
#How-To