summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshconnect.h
blob: 13d395fd634ddb1144258305438bb45599b04c11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef SSHCONNECT_H
#define SSHCONNECT_H

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_userauth(const char* local_user, const char* server_user, char *host,
    int host_key_valid, RSA *own_host_key);

void	ssh_kex2(char *host, struct sockaddr *hostaddr);
void	ssh_userauth2(const char *server_user, char *host);

#endif