I use libssh2 just fine with both IPv6 & IPv4. Your program is the one that has to establish the actual socket connection so it's up to you to support it in you program.
-- Jeremy Knope / Software Developer / Ambrosia Software, Inc. -- http://www.AmbrosiaSW.com/ On Dec 18, 2009, at 8:11 AM, Kumar, Ashish wrote: > Can you please tell me if libssh2 supports IPv6 ssh ? > > acm-suse9:/proc # lsof -i :22 > COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME > sshd 4972 root 3u IPv6 7480 TCP *:ssh (LISTEN) > sshd 25032 root 4u IPv6 287309 TCP acm-suse9.ca.com:ssh->kumas09-xp.ca.com:dsdn (ESTABLISHED) > sshd 25348 root 4u IPv6 288321 TCP acm-suse9.ca.com:ssh->kumas09-xp.ca.com:gv-us (ESTABLISHED) > > “while ((rc = libssh2_userauth_password(session, username, password)) == LIBSSH2_ERROR_EAGAIN);” > > this method is always returning -1 . > > Thanks & Regards, > Ashish Kumar > > > _______________________________________________ > libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-12-18