|host||The hostname to connect to (a scalar string). Either this or connection_params must be supplied.|
|user||The name of the user account to log into (a scalar string). If not given, no user will be supplied to ssh (this typically means it will use the current user as default).|
|port||The port to connect to (a positive scalar integer; ssh will default to 22 if this is not specificed).|
|password||The password to connect with (a scalar string). This is only required if authentication will be performed, either on log-in or when sudoing.|
CW$obj->host =head2 CW$obj->user =head2 CW$obj->password =head2 CW$obj->portThese are all read-write accessors for the attribute parameters accepted by the constructor.
CW$cmd = $obj->ssh_cmdThis constructs the ssh command to invoke. If you need something different, you can create a subclass which overrides this method, and pass that via the connection_params parameter to Net::SSH::Mechanize->new().
Nick Stokoe <firstname.lastname@example.org>
Copyright (c) 2011, Nick Stokoe <email@example.com>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
|perl v5.20.3||NET::SSH::MECHANIZE::CONNECTPARAMS (3)||2016-04-03|