* Patch from Frédéric Moulins adding options to authorized_keys.

Needs review.

--HG--
branch : pubkey-options
extra : convert_revision : 26872f944d79ddacff1070aab32115a6d726392c
This commit is contained in:
Matt Johnston
2008-09-08 15:14:02 +00:00
parent f90f64b5c1
commit c0ce2a6a97
11 changed files with 375 additions and 15 deletions

View File

@@ -33,6 +33,7 @@
#include "channel.h"
#include "packet.h"
#include "buffer.h"
#include "auth.h"
#define X11BASEPORT 6000
#define X11BINDBASE 6010
@@ -47,6 +48,10 @@ int x11req(struct ChanSess * chansess) {
int fd;
if (!svr_pubkey_allows_x11fwd()) {
return DROPBEAR_FAILURE;
}
/* we already have an x11 connection */
if (chansess->x11listener != NULL) {
return DROPBEAR_FAILURE;