Lines Matching refs:ssh
25 # Also creates the ssh configuration files needed for these tests.
87 my $idnum = 1; # dafault ssh daemon instance number
88 my $proto = 'ssh'; # protocol the ssh daemon speaks
92 my $pidfile; # ssh daemon pid file
176 # Default ssh daemon pid file name
184 # ssh, socks and sftp server log file names
186 $sshdlog = server_logfilename($logdir, 'ssh', $ipvnum, $idnum);
192 # Logging level for ssh server and client
201 $error = 'Will not run ssh server without a user name';
204 $error = 'Will not run ssh server as root to mitigate security risks';
213 # Find out ssh daemon canonical file name
223 # Find out ssh daemon version info
227 # Not an OpenSSH or SunSSH ssh daemon
232 logmsg "ssh server found $sshd is $sshdverstr" if($verbose);
236 # ssh daemon command line options we might use and version support
254 # Verify minimum ssh daemon version
286 # Find out ssh keygen canonical file name
293 logmsg "ssh keygen found $sshkeygen" if($verbose);
297 # Find out ssh client canonical file name
299 my $ssh = find_ssh();
300 if(!$ssh) {
307 # Find out ssh client version info
309 my ($sshid, $sshvernum, $sshverstr, $ssherror) = sshversioninfo($ssh);
311 # Not an OpenSSH or SunSSH ssh client
316 logmsg "ssh client found $ssh is $sshverstr" if($verbose);
320 # ssh client command line options we might use and version support
323 # -F: ssh config file : OpenSSH 2.9.9 and later
328 # -V: ssh version info : OpenSSH 1.2.1 and later
331 # -F: ssh config file : SunSSH 1.0.0 and later
336 # -V: ssh version info : SunSSH 1.0.0 and later
340 # Verify minimum ssh client version
350 # ssh keygen command line options we actually use and version support
372 # Make sure all files are gone so ssh-keygen doesn't complain
404 # ssh daemon configuration file options we might use and version support
485 # [3] Option not used in our ssh server config file
491 logmsg 'generating ssh server config file...' if($verbose);
560 # ssh daemon supports command line options -t -f and -o
566 # ssh daemon supports command line options -t and -f
728 # Generate ssh client host key database file for curl's tests
731 logmsg 'generating ssh client known hosts file...' if($verbose);
737 print KNOWNHOSTS "$listenaddr ssh-rsa $rsahostkey[1]\n";
774 # ssh client configuration file options we might use and version support
848 # [3] Option not used in our ssh client config file
852 # Initialize ssh config with options actually supported in OpenSSH 2.9.9
854 logmsg 'generating ssh client config file...' if($verbose);
857 push @cfgarr, "# $sshverstr ssh client configuration file for curl testing";
900 # Options supported in ssh client newer than OpenSSH 2.9.9
1004 # Write out resulting ssh client configuration file for curl's tests
1057 # Start the ssh server daemon without forking it