[ssh.c]
     Request roaming to be enabled if UseRoaming is true and the server
     supports it.
     ok markus@
This commit is contained in:
Darren Tucker 2010-01-08 16:54:59 +11:00
parent e730118bf4
commit f1de4e5228
2 changed files with 10 additions and 1 deletions

View File

@ -25,6 +25,11 @@
Most code from Martin Forssen, maf at appgate dot com. Some changes by Most code from Martin Forssen, maf at appgate dot com. Some changes by
me and markus@ me and markus@
ok markus@ ok markus@
- andreas@cvs.openbsd.org 2009/10/24 11:23:42
[ssh.c]
Request roaming to be enabled if UseRoaming is true and the server
supports it.
ok markus@
20091226 20091226
- (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1 - (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1

6
ssh.c
View File

@ -1,4 +1,4 @@
/* $OpenBSD: ssh.c,v 1.326 2009/07/02 02:11:47 dtucker Exp $ */ /* $OpenBSD: ssh.c,v 1.327 2009/10/24 11:23:42 andreas Exp $ */
/* /*
* Author: Tatu Ylonen <ylo@cs.hut.fi> * Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -100,6 +100,7 @@
#include "match.h" #include "match.h"
#include "msg.h" #include "msg.h"
#include "uidswap.h" #include "uidswap.h"
#include "roaming.h"
#include "version.h" #include "version.h"
#ifdef SMARTCARD #ifdef SMARTCARD
@ -1222,6 +1223,9 @@ ssh_session2(void)
fatal("daemon() failed: %.200s", strerror(errno)); fatal("daemon() failed: %.200s", strerror(errno));
} }
if (options.use_roaming)
request_roaming();
return client_loop(tty_flag, tty_flag ? return client_loop(tty_flag, tty_flag ?
options.escape_char : SSH_ESCAPECHAR_NONE, id); options.escape_char : SSH_ESCAPECHAR_NONE, id);
} }