mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-15 01:44:06 +00:00
SSH2: ping tweaks
This commit is contained in:
parent
71aa8165fa
commit
69a11136ae
@ -414,7 +414,7 @@ class SFTP extends SSH2
|
|||||||
*/
|
*/
|
||||||
public function login($username, ...$args)
|
public function login($username, ...$args)
|
||||||
{
|
{
|
||||||
$this->auth[] = $args;
|
$this->auth[] = array_merge([$username], $args);
|
||||||
if (!$this->sublogin($username, ...$args)) {
|
if (!$this->sublogin($username, ...$args)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -971,7 +971,7 @@ class SSH2
|
|||||||
* @var string|false
|
* @var string|false
|
||||||
* @access private
|
* @access private
|
||||||
*/
|
*/
|
||||||
var $preferred_signature_format = false;
|
protected $preferred_signature_format = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Authentication Credentials
|
* Authentication Credentials
|
||||||
@ -979,7 +979,7 @@ class SSH2
|
|||||||
* @var array
|
* @var array
|
||||||
* @access private
|
* @access private
|
||||||
*/
|
*/
|
||||||
var $auth = [];
|
protected $auth = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default Constructor.
|
* Default Constructor.
|
||||||
|
Loading…
Reference in New Issue
Block a user