summaryrefslogtreecommitdiff
path: root/auth/ssh.php
diff options
context:
space:
mode:
Diffstat (limited to 'auth/ssh.php')
-rw-r--r--auth/ssh.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/auth/ssh.php b/auth/ssh.php
index bce82ab..e870861 100644
--- a/auth/ssh.php
+++ b/auth/ssh.php
@@ -48,6 +48,7 @@ final class SSH extends Authentication {
public function connect() {
$this->connection = new Net_SSH2($this->config['host'], $this->port);
+ $this->connection->setTimeout($this->config['timeout']);
$success = false;
if ($this->config['auth'] == 'ssh-password') {