www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: example ssh2: failed to connect

Re: example ssh2: failed to connect

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 24 May 2012 18:00:31 +0200 (CEST)

On Thu, 24 May 2012, Jamie Lahowetz wrote:

> I have tried running the example ssh2. When I do I get a failed to connect
> error which is triggered by the connect() method. How can I fix this? thank
> you.

connect() is called even before libssh2 is used. You probably entered the
wrong IP address or use the wrong port number?

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-05-24

the libssh2 team