summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh.h
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-04-06 08:55:23 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-04-06 08:55:23 +0000
commitba6fecc544a89dfac29a8954067ccf27c8132874 (patch)
treeee38218d1be673638e554409ddab61613f16efa8 /usr.bin/ssh/ssh.h
parent8aad4726dfbb92d8746782ea75c5d45dd6c396d3 (diff)
ssh2 server side, see README.openssh2; enable with 'sshd -2'
Diffstat (limited to 'usr.bin/ssh/ssh.h')
-rw-r--r--usr.bin/ssh/ssh.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.h b/usr.bin/ssh/ssh.h
index 0c55ef0faaf..c8db7daeb77 100644
--- a/usr.bin/ssh/ssh.h
+++ b/usr.bin/ssh/ssh.h
@@ -13,7 +13,7 @@
*
*/
-/* RCSID("$Id: ssh.h,v 1.35 2000/03/28 20:31:29 markus Exp $"); */
+/* RCSID("$Id: ssh.h,v 1.36 2000/04/06 08:55:22 markus Exp $"); */
#ifndef SSH_H
#define SSH_H
@@ -77,6 +77,7 @@
#define HOST_KEY_FILE ETCDIR "/ssh_host_key"
#define SERVER_CONFIG_FILE ETCDIR "/sshd_config"
#define HOST_CONFIG_FILE ETCDIR "/ssh_config"
+#define DSA_KEY_FILE ETCDIR "/ssh_dsa_key"
#define SSH_PROGRAM "/usr/bin/ssh"
@@ -461,6 +462,8 @@ void fatal_add_cleanup(void (*proc) (void *context), void *context);
/* Removes a cleanup function to be called at fatal(). */
void fatal_remove_cleanup(void (*proc) (void *context), void *context);
+/* ---- misc */
+
/*
* Expands tildes in the file name. Returns data allocated by xmalloc.
* Warning: this calls getpw*.
@@ -475,6 +478,7 @@ char *tilde_expand_filename(const char *filename, uid_t my_uid);
* program).
*/
void server_loop(int pid, int fdin, int fdout, int fderr);
+void server_loop2(void);
/* Client side main loop for the interactive session. */
int client_loop(int have_pty, int escape_char);