mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 11:37:33 +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)
|
||||
{
|
||||
$this->auth[] = $args;
|
||||
$this->auth[] = array_merge([$username], $args);
|
||||
if (!$this->sublogin($username, ...$args)) {
|
||||
return false;
|
||||
}
|
||||
|
@ -971,7 +971,7 @@ class SSH2
|
||||
* @var string|false
|
||||
* @access private
|
||||
*/
|
||||
var $preferred_signature_format = false;
|
||||
protected $preferred_signature_format = false;
|
||||
|
||||
/**
|
||||
* Authentication Credentials
|
||||
@ -979,7 +979,7 @@ class SSH2
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
var $auth = [];
|
||||
protected $auth = [];
|
||||
|
||||
/**
|
||||
* Default Constructor.
|
||||
|
Loading…
Reference in New Issue
Block a user