diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-08-03 17:26:56 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-08-03 17:26:56 +0000 |
commit | 7cdad3c2006070097d65a2c4d3737c6eac0b63e6 (patch) | |
tree | 6cfc76554e2e7284f7697ba5c499cae22d87b642 /svr-session.c | |
parent | 7a854cb1f8ffb4ec8f81b8ec50cc42c165839ff3 (diff) |
Pubkey auth is mostly there for the client. Something strange with
remote hostkey verification though.
--HG--
extra : convert_revision : 8635abe49e499e16d44a8ee79d474dc35257e9cc
Diffstat (limited to 'svr-session.c')
-rw-r--r-- | svr-session.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/svr-session.c b/svr-session.c index c9aed49..e63ba32 100644 --- a/svr-session.c +++ b/svr-session.c @@ -46,14 +46,13 @@ static void svr_remoteclosed(); struct serversession svr_ses; /* GLOBAL */ static const packettype svr_packettypes[] = { - /* TYPE, AUTHREQUIRED, FUNCTION */ - {SSH_MSG_SERVICE_REQUEST, recv_msg_service_request}, // server - {SSH_MSG_USERAUTH_REQUEST, recv_msg_userauth_request}, //server - {SSH_MSG_KEXINIT, recv_msg_kexinit}, - {SSH_MSG_KEXDH_INIT, recv_msg_kexdh_init}, // server - {SSH_MSG_NEWKEYS, recv_msg_newkeys}, {SSH_MSG_CHANNEL_DATA, recv_msg_channel_data}, {SSH_MSG_CHANNEL_WINDOW_ADJUST, recv_msg_channel_window_adjust}, + {SSH_MSG_USERAUTH_REQUEST, recv_msg_userauth_request}, /* server */ + {SSH_MSG_SERVICE_REQUEST, recv_msg_service_request}, /* server */ + {SSH_MSG_KEXINIT, recv_msg_kexinit}, + {SSH_MSG_KEXDH_INIT, recv_msg_kexdh_init}, /* server */ + {SSH_MSG_NEWKEYS, recv_msg_newkeys}, {SSH_MSG_GLOBAL_REQUEST, recv_msg_global_request_remotetcp}, {SSH_MSG_CHANNEL_REQUEST, recv_msg_channel_request}, {SSH_MSG_CHANNEL_OPEN, recv_msg_channel_open}, |