aboutsummaryrefslogtreecommitdiff
path: root/libssh/client.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2005-08-10 13:22:52 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2005-08-10 13:22:52 +0000
commit96a99bab7853998ec8c23da6bcb9ffb10855705d (patch)
tree25a79efb0fbcddb346fb65a4cdb554e78c7bec3b /libssh/client.c
parent5c26ae735483d140f802d58b1872b2fe9468d219 (diff)
downloadlibssh-96a99bab7853998ec8c23da6bcb9ffb10855705d.tar.gz
libssh-96a99bab7853998ec8c23da6bcb9ffb10855705d.tar.xz
libssh-96a99bab7853998ec8c23da6bcb9ffb10855705d.zip
The kex works, the client authentifies (with password) then it's possible to choose a subsystem. The channels don't completely work.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@7 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/client.c')
-rw-r--r--libssh/client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libssh/client.c b/libssh/client.c
index 9411d5ec..42b10414 100644
--- a/libssh/client.c
+++ b/libssh/client.c
@@ -210,7 +210,6 @@ int ssh_connect(SSH_SESSION *session){
ssh_say(2,"banner : %s\n",session->serverbanner);
/* here we analyse the different protocols the server allows */
if(ssh_analyze_banner(session,&ssh1,&ssh2)){
- ssh_disconnect(session);
return -1;
}
/* here we decide which version of the protocol to use */