JUNOS::Access::ssh - Implements the ssh access method.


junoscript-perl documentation  | view source Contained in the junoscript-perl distribution.

Index


NAME

Top

JUNOS::Access::ssh - Implements the ssh access method.

SYNOPSIS

Top

This class is used internally to provide ssh access to a JUNOS::Access instance.

DESCRIPTION

Top

This is a subclass of JUNOS::Access that manages a ssh session with the destination host. The underlying mechanics for managing the ssh session is Net::SSH::Perl.

CONSTRUCTOR

Top

new($ARGS)

See the description of the constructor of the superclass JUNOS::Access. This class also reads the following ssh specific keys from the input hash table reference $ARGS.

    ssh-debug		turn on/off debug in Net::SSH::Perl.  The
			debug messages are displayed on STDOUT. 
			The value is 1 or 0.  By default, debug is
			off.

    ssh-interactive	turn on/off interactive mode for Net::SSH::Perl.
			The value is 1 or 0.  By default, interactive 
			mode is off.  If interactive mode is on, 
			Net::SSH::Perl will prompt the user (e.g.
			password, passphrase) for challenge response.

    ssh-compress	turn on/off compression for Net::SSH::Perl.
			The value is 1 or 0.  By default, compression
			is on.

SEE ALSO

Top

    Net::SSH::Perl
    JUNOS::Access
    JUNOS::Device

AUTHOR

Top

Juniper Junoscript Perl Team, send bug reports, hints, tips, and suggestions to support@juniper.net.

COPYRIGHT

Top


junoscript-perl documentation  | view source Contained in the junoscript-perl distribution.