Lines Matching refs:ssh
25 # Also creates the ssh configuration files needed for these tests.
85 my $idnum = 1; # dafault ssh daemon instance number
86 my $proto = 'ssh'; # protocol the ssh daemon speaks
90 my $pidfile; # ssh daemon pid file
173 # Default ssh daemon pid file name
181 # ssh, socks and sftp server log file names
183 $sshdlog = server_logfilename($logdir, 'ssh', $ipvnum, $idnum);
189 # Logging level for ssh server and client
198 $error = 'Will not run ssh server without a user name';
201 $error = 'Will not run ssh server as root to mitigate security risks';
210 # Find out ssh daemon canonical file name
220 # Find out ssh daemon version info
224 # Not an OpenSSH or SunSSH ssh daemon
229 logmsg "ssh server found $sshd is $sshdverstr" if($verbose);
233 # ssh daemon command line options we might use and version support
251 # Verify minimum ssh daemon version
283 # Find out ssh keygen canonical file name
290 logmsg "ssh keygen found $sshkeygen" if($verbose);
294 # Find out ssh client canonical file name
296 my $ssh = find_ssh();
297 if(!$ssh) {
304 # Find out ssh client version info
306 my ($sshid, $sshvernum, $sshverstr, $ssherror) = sshversioninfo($ssh);
308 # Not an OpenSSH or SunSSH ssh client
313 logmsg "ssh client found $ssh is $sshverstr" if($verbose);
317 # ssh client command line options we might use and version support
320 # -F: ssh config file : OpenSSH 2.9.9 and later
325 # -V: ssh version info : OpenSSH 1.2.1 and later
328 # -F: ssh config file : SunSSH 1.0.0 and later
333 # -V: ssh version info : SunSSH 1.0.0 and later
337 # Verify minimum ssh client version
347 # ssh keygen command line options we actually use and version support
369 # Make sure all files are gone so ssh-keygen doesn't complain
385 # ssh daemon configuration file options we might use and version support
466 # [3] Option not used in our ssh server config file
472 logmsg 'generating ssh server config file...' if($verbose);
541 # ssh daemon supports command line options -t -f and -o
547 # ssh daemon supports command line options -t and -f
709 # Generate ssh client host key database file for curl's tests
712 logmsg 'generating ssh client known hosts file...' if($verbose);
718 print KNOWNHOSTS "$listenaddr ssh-dss $dsahostkey[1]\n";
742 # ssh client configuration file options we might use and version support
816 # [3] Option not used in our ssh client config file
820 # Initialize ssh config with options actually supported in OpenSSH 2.9.9
822 logmsg 'generating ssh client config file...' if($verbose);
825 push @cfgarr, "# $sshverstr ssh client configuration file for curl testing";
868 # Options supported in ssh client newer than OpenSSH 2.9.9
972 # Write out resulting ssh client configuration file for curl's tests
1025 # Start the ssh server daemon without forking it