3 # Display options for the automatic setting up of SSH for new users
5 require './sshd-lib.pl';
6 &ui_print_header(undef, $text{'sync_title'}, "");
8 print "$text{'sync_desc'}<p>\n";
9 print &ui_form_start("save_sync.cgi");
10 print &ui_table_start(undef, 2, 2);
12 # Create keys for new users
13 print &ui_table_row($text{'sync_create'},
14 &ui_yesno_radio("create", $config{'sync_create'}));
17 print &ui_table_row($text{'sync_auth'},
18 &ui_yesno_radio("auth", $config{'sync_auth'}));
20 # Use password as passphrase
21 print &ui_table_row($text{'sync_pass'},
22 &ui_yesno_radio("pass", $config{'sync_pass'}));
25 print &ui_table_row($text{'sync_type'},
26 &ui_select("type", $config{'sync_type'},
27 [ [ "", $text{'sync_auto'} ],
28 [ "rsa" ], [ "dsa" ], [ "rsa1" ] ]));
30 print &ui_table_end();
31 print &ui_form_end([ [ undef, $text{'save'} ] ]);
33 &ui_print_footer("", $text{'index_return'});