3 # @(#) $Id: ssh_nopass.exp,v 1.3 2009/06/24 17:06:21 dcid Exp $
6 # Copyright (C) 2009 Trend Micro Inc.
9 # This program is a free software; you can redistribute it
10 # and/or modify it under the terms of the GNU General Public
11 # License (version 3) as published by the FSF - Free Software
15 "WARNING: REMOTE HOST" {
16 send_user "\nERROR: RSA host key for '$hostname' has changed. Unable to access.\n"
19 "*sure you want to continue connecting*" {
24 "ssh: connect to host*" {
25 send_user "\nERROR: Unable to connect to remote host: $hostname .\n"
28 "no address associated with name" {
29 send_user "\nERROR: Unable to connect to remote host: $hostname .\n"
32 "*Connection refused*" {
33 send_user "\nERROR: Unable to connect to remote host: $hostname .\n"
36 "*Connection closed by remote host*" {
37 send_user "\nERROR: Unable to connect to remote host: $hostname .\n"
41 send_user "\nERROR: Public key authentication failed to host: $hostname .\n"
45 send_user "\nINFO: Started.\n"
48 send_user "\nINFO: Started.\n"
51 send_user "\nERROR: Timeout while connecting to host: $hostname . \n"