/*
sshconnect.c
Author: Tatu Ylonen <ylo@cs.hut.fi>
Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
All rights reserved
Created: Sat Mar 18 22:15:47 1995 ylo
Code to connect to a remote host, and to perform the client side of the
login (authentication) dialog.
*/
#include "includes.h"
RCSID("$Id: sshconnect.c,v 1.1 1999/10/27 03:42:45 damien Exp $");
#include <openssl/bn.h>
#include "xmalloc.h"
#include "rsa.h"
#include "ssh.h"
#include "packet.h"
#include "authfd.h"
#include "cipher.h"
#include "mpaux.h"
#include "uidswap.h"
#include "compat.h"
#include <openssl/md5.h>
/* Session id for the current session. */
unsigned char session_id[16];
/* Connect to the given ssh server using a proxy command. */
int
ssh_proxy_co