add -x (encrypt) option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16160 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -57,6 +57,7 @@ extern int debug; /* debugging level */
|
|||||||
extern int bell; /* ring bell on cmd completion */
|
extern int bell; /* ring bell on cmd completion */
|
||||||
extern int doglob; /* glob local file names */
|
extern int doglob; /* glob local file names */
|
||||||
extern int autologin; /* establish user account on connection */
|
extern int autologin; /* establish user account on connection */
|
||||||
|
extern int doencrypt;
|
||||||
extern int proxy; /* proxy server connection active */
|
extern int proxy; /* proxy server connection active */
|
||||||
extern int proxflag; /* proxy connection exists */
|
extern int proxflag; /* proxy connection exists */
|
||||||
extern int sunique; /* store files on server with unique name */
|
extern int sunique; /* store files on server with unique name */
|
||||||
|
@@ -15,6 +15,7 @@ int lineedit; /* use line-editing */
|
|||||||
int debug; /* debugging level */
|
int debug; /* debugging level */
|
||||||
int bell; /* ring bell on cmd completion */
|
int bell; /* ring bell on cmd completion */
|
||||||
int doglob; /* glob local file names */
|
int doglob; /* glob local file names */
|
||||||
|
int doencrypt; /* try to use encryption */
|
||||||
int autologin; /* establish user account on connection */
|
int autologin; /* establish user account on connection */
|
||||||
int proxy; /* proxy server connection active */
|
int proxy; /* proxy server connection active */
|
||||||
int proxflag; /* proxy connection exists */
|
int proxflag; /* proxy connection exists */
|
||||||
|
@@ -69,6 +69,8 @@ struct getargs getargs[] = {
|
|||||||
"verbosity", NULL},
|
"verbosity", NULL},
|
||||||
{ NULL, 'K', arg_negative_flag, &use_kerberos,
|
{ NULL, 'K', arg_negative_flag, &use_kerberos,
|
||||||
"Disable kerberos authentication", NULL},
|
"Disable kerberos authentication", NULL},
|
||||||
|
{ "encrypt", 'x', arg_flag, &doencrypt,
|
||||||
|
"Encrypt command and data channel if possible" },
|
||||||
{ "version", 0, arg_flag, &version_flag },
|
{ "version", 0, arg_flag, &version_flag },
|
||||||
{ "help", 'h', arg_flag, &help_flag },
|
{ "help", 'h', arg_flag, &help_flag },
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user