You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yah - as it's throwing an exception you'd need to catch it.
That said, if you want to understand why it's not connecting, enabling logging by doing define('NET_SSH2_LOGGING', 2); at the top and echo $ssh->getLog(); after the error would be helpful. Then post the output here and I can take a look.
I had this error happening once:
Here's the function:
The text was updated successfully, but these errors were encountered: