👌 IMPROVE: add SSH port as possible parameter
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
This commit is contained in:
@@ -156,14 +156,14 @@ SSH
|
||||
Authenticates users via SSH. You can use any SSH2 server, but it must accept password authentication.
|
||||
|
||||
### Configuration
|
||||
The only supported parameter is the hostname of the remote machine.
|
||||
The supported parameters are the hostname and the port (default `22`) of the remote machine.
|
||||
|
||||
Add the following to your `config.php`:
|
||||
|
||||
'user_backends' => array(
|
||||
array(
|
||||
'class' => 'OC_User_SSH',
|
||||
'arguments' => array('127.0.0.1'),
|
||||
'arguments' => array('127.0.0.1', '22'),
|
||||
),
|
||||
),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user