diff options
author | Brian Feldman <green@FreeBSD.org> | 2001-05-04 03:57:05 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 2001-05-04 03:57:05 +0000 |
commit | 1e8db6e2f63ea90b361b3bbc9ebe9990660cb596 (patch) | |
tree | 045b20ba592666b889ef56f853cd97afede5f566 /crypto/openssh/sshconnect.h | |
parent | 5b9b2fafd4d6d82af10bf630cbfc9393b8ed1d0a (diff) | |
download | src-test2-1e8db6e2f63ea90b361b3bbc9ebe9990660cb596.tar.gz src-test2-1e8db6e2f63ea90b361b3bbc9ebe9990660cb596.zip |
Notes
Diffstat (limited to 'crypto/openssh/sshconnect.h')
-rw-r--r-- | crypto/openssh/sshconnect.h | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/crypto/openssh/sshconnect.h b/crypto/openssh/sshconnect.h index 146a65baf276..6610401858d1 100644 --- a/crypto/openssh/sshconnect.h +++ b/crypto/openssh/sshconnect.h @@ -1,3 +1,5 @@ +/* $OpenBSD: sshconnect.h,v 1.9 2001/04/12 19:15:25 markus Exp $ */ + /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -24,16 +26,30 @@ #ifndef SSHCONNECT_H #define SSHCONNECT_H +int +ssh_connect(const char *host, struct sockaddr_storage * hostaddr, + u_short port, int connection_attempts, + int anonymous, struct passwd *pw, + const char *proxy_command); + +void +ssh_login(Key **keys, int nkeys, const char *orighost, + struct sockaddr *hostaddr, struct passwd *pw); + void check_host_key(char *host, struct sockaddr *hostaddr, Key *host_key, const char *user_hostfile, const char *system_hostfile); void ssh_kex(char *host, struct sockaddr *hostaddr); +void ssh_kex2(char *host, struct sockaddr *hostaddr); + void -ssh_userauth(const char* local_user, const char* server_user, char *host, - int host_key_valid, RSA *own_host_key); +ssh_userauth1(const char *local_user, const char *server_user, char *host, + Key **keys, int nkeys); +void +ssh_userauth2(const char *local_user, const char *server_user, char *host, + Key **keys, int nkeys); -void ssh_kex2(char *host, struct sockaddr *hostaddr); -void ssh_userauth2(const char *server_user, char *host); +void ssh_put_password(char *password); #endif |