Documentation for ssh:connect() says: {connect_timeout, Milliseconds | infinity} Sets the default timeout when trying to connect to. however the actual option is 'timeout'. anton