NAME

Net::Appliance::Session::Transport::SSH

DESCRIPTION

This package sets up a new pseudo terminal, connected to an SSH client running in a spawned process, which is then bound into Net::Telnet for IO purposes.

CONFIGURATION

Via the call to connect, the following additional named arguments are available:

SHKC

Setting the value for this key to any False value will disable openssh's Strict Host Key Checking. See the openssh documentation for further details. This might be useful where you are connecting to appliances for which an entry does not yet exist in your known_hosts file, and you do not wish to be interactively prompted to add it.

$s->connect(
   Name     => 'username',
   Password => 'password',
   SHKC     => 0,
);

The default operation is to enable Strict Host Key Checking.

ACKNOWLEDGEMENTS

The SSH command spawning code was based on that in Expect.pm and is copyright Roland Giersig and/or Austin Schutz.

AUTHOR

Oliver Gorwits <oliver.gorwits@oucs.ox.ac.uk>

COPYRIGHT & LICENSE

Copyright (c) The University of Oxford 2006. All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA