diff --git a/frontend/classes/class.sshconnector.php b/frontend/classes/class.sshconnector.php index 5bc93ad..0e46d3d 100644 --- a/frontend/classes/class.sshconnector.php +++ b/frontend/classes/class.sshconnector.php @@ -78,6 +78,8 @@ class SshConnector extends CPHPBaseClass public function Connect() { + /* TODO: Use fsockopen with a timeout to determine if the node and SSHd are reachable before attempting to connect. */ + $options = array( 'hostkey' => $this->keytype );