Lines Matching refs:ssh
35 # as using scp & ssh, rsync & telnet, or using a NFS shared directory
36 # and ssh.
247 my $sshdid; # for socks server, ssh daemon version id
248 my $sshdvernum; # for socks server, ssh daemon version number
249 my $sshdverstr; # for socks server, ssh daemon version string
250 my $sshderror; # for socks server, ssh daemon version error
360 for my $proto (('tftp', 'sftp', 'socks', 'ssh', 'rtsp', 'gopher', 'httptls')) {
413 # Ugly hack but ssh client and gnutls-serv don't support pid files
508 # my $out = system("ssh $CLIENTIP cd \'$pwd\' \\; \'$cmd\'");
521 # my @out = `ssh $CLIENTIP cd \'$pwd\' \\; \'$cmd\'`;
663 # given a socks server, also kill ssh underlying one
664 push @killservers, "ssh${2}";
666 elsif($server =~ /^(ssh)((\d*)(-ipv6|))$/) {
667 # given a ssh server, also kill socks piggybacking one
915 # Verify that the ssh server has written out its pidfile, recovering
929 # if we have a pid it is actually our ssh server,
955 # Find out ssh client canonical file name
956 my $ssh = find_ssh();
957 if(!$ssh) {
963 my $cmd = "$sftp -b $sftpcmds -F $sftpconfig -S $ssh $ip > $sftplog 2>&1";
1092 # Retry over several seconds before giving up. The ssh server in
1112 'ssh' => \&verifyssh,
1831 # Start the ssh (scp/sftp) server
1838 my $proto = 'ssh';
1889 # ssh server verification allows some extra time for the server to start up
1903 # once it is known that the ssh server is alive, sftp server verification
1907 $sshdlog = server_logfilename($LOGDIR, 'ssh', $ipvnum, $idnum);
1964 # The ssh server must be already running
1965 if(!$run{'ssh'}) {
1971 # Find out ssh daemon canonical file name
1979 # Find out ssh daemon version info
1982 # Not an OpenSSH or SunSSH ssh daemon
1988 logmsg "ssh server found $sshd is $sshdverstr\n" if($verbose);
1990 # Find out ssh client canonical file name
1991 my $ssh = find_ssh();
1992 if(!$ssh) {
1998 # Find out ssh client version info
1999 my ($sshid, $sshvernum, $sshverstr, $ssherror) = sshversioninfo($ssh);
2001 # Not an OpenSSH or SunSSH ssh client
2008 # Verify minimum ssh client version
2011 logmsg "ssh client found $ssh is $sshverstr\n";
2016 logmsg "ssh client found $ssh is $sshverstr\n" if($verbose);
2018 # Verify if ssh client and ssh daemon versions match
2021 logmsg "Warning: version mismatch: sshd $sshdverstr - ssh $sshverstr\n"
2025 # Config file options for ssh client are previously set from sshserver.pl
2035 my $cmd="$ssh -N -F $sshconfig $ip > $sshlog 2>&1";
2050 # Ugly hack but ssh doesn't support pid files. PID is from fake pidfile.
3487 # Test harness ssh server does not have this synchronization mechanism,
3488 # this implies that some ssh server based tests might need a small delay
3520 # given a socks server, also kill ssh underlying one
3521 push @killservers, "ssh${2}";
3523 elsif($server =~ /^(ssh)((\d*)(-ipv6|))$/) {
3524 # given a ssh server, also kill socks piggybacking one
4348 if(!$run{'ssh'}) {
4353 printf ("* pid ssh => %d %d\n", $pid, $pid2) if($verbose);
4354 $run{'ssh'}="$pid $pid2";
4368 # Not an OpenSSH or SunSSH ssh daemon