Lines Matching full:ssh
27 # Also creates the ssh configuration files needed for these tests.
97 my $idnum = 1; # default ssh daemon instance number
98 my $proto = 'ssh'; # protocol the ssh daemon speaks
103 my $pidfile; # ssh daemon pid file
196 # Default ssh daemon pid file name & directory
209 # ssh and sftp server log file names
211 $sshdlog = server_logfilename($logdir, 'ssh', $ipvnum, $idnum);
216 # Logging level for ssh server and client
225 $error = 'Will not run ssh server without a user name';
228 $error = 'Will not run ssh server as root to mitigate security risks';
237 # Find out ssh daemon canonical file name
247 # Find out ssh daemon version info
251 # Not an OpenSSH or SunSSH ssh daemon
256 logmsg "ssh server found $sshd is $sshdverstr\n" if($verbose);
260 # ssh daemon command line options we might use and version support
278 # Verify minimum ssh daemon version
310 # Find out ssh keygen canonical file name
317 logmsg "ssh keygen found $sshkeygen\n" if($verbose);
321 # Find out ssh client canonical file name
323 my $ssh = find_ssh();
324 if(!$ssh) {
331 # Find out ssh client version info
333 my ($sshid, $sshvernum, $sshverstr, $ssherror) = sshversioninfo($ssh);
335 # Not an OpenSSH or SunSSH ssh client
340 logmsg "ssh client found $ssh is $sshverstr\n" if($verbose);
344 # ssh client command line options we might use and version support
347 # -F: ssh config file : OpenSSH 2.9.9 and later
352 # -V: ssh version info : OpenSSH 1.2.1 and later
355 # -F: ssh config file : SunSSH 1.0.0 and later
360 # -V: ssh version info : SunSSH 1.0.0 and later
364 # Verify minimum ssh client version
374 # ssh keygen command line options we actually use and version support
398 # Make sure all files are gone so ssh-keygen doesn't complain
469 # ssh daemon configuration file options we might use and version support
547 # [3] Option not used in our ssh server config file
553 logmsg "generating ssh server config file...\n" if($verbose);
583 push @cfgarr, 'HostKeyAlgorithms +ssh-rsa';
584 push @cfgarr, 'PubkeyAcceptedKeyTypes +ssh-rsa';
641 # ssh daemon supports command line options -t -f and -o
647 # ssh daemon supports command line options -t and -f
806 # Generate ssh client host key database file for curl's tests
809 logmsg "generating ssh client known hosts file...\n" if($verbose);
815 print $knownhostsh "$listenaddr ssh-rsa $rsahostkey[1]\n";
860 # ssh client configuration file options we might use and version support
933 # [3] Option not used in our ssh client config file
937 # Initialize ssh config with options actually supported in OpenSSH 2.9.9
939 logmsg "generating ssh client config file...\n" if($verbose);
942 push @cfgarr, "# $sshverstr ssh client configuration file for curl testing";
993 # Options supported in ssh client newer than OpenSSH 2.9.9
1093 # Write out resulting ssh client configuration file for curl's tests
1145 # Prepare command line of ssh server daemon
1152 # Start the ssh server daemon on Windows without forking it
1155 # Fake pidfile for ssh server on Windows.
1176 # Start the ssh server daemon without forking it