From a5255536e66959224a72b5bd448c677cfc59424a Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 16 Dec 2012 20:24:12 +0100 Subject: [PATCH] Add another TODO note. --- frontend/classes/class.sshconnector.php | 2 ++ 1 file changed, 2 insertions(+) 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 );