Add ssh2 protocol default ports, fixes #4835
parent
1edb228d81
commit
ae14e0f086
|
@ -1002,6 +1002,8 @@ class RemoteFilesystem
|
||||||
'ftp' => 21,
|
'ftp' => 21,
|
||||||
'http' => 80,
|
'http' => 80,
|
||||||
'https' => 443,
|
'https' => 443,
|
||||||
|
'ssh2.sftp' => 22,
|
||||||
|
'ssh2.scp' => 22,
|
||||||
);
|
);
|
||||||
|
|
||||||
$scheme = parse_url($url, PHP_URL_SCHEME);
|
$scheme = parse_url($url, PHP_URL_SCHEME);
|
||||||
|
|
Loading…
Reference in New Issue