version 1.211, 2015/04/27 01:52:30 |
version 1.212, 2015/05/01 07:10:01 |
|
|
logit("Connection closed by %.200s", ssh_remote_ipaddr(ssh)); |
logit("Connection closed by %.200s", ssh_remote_ipaddr(ssh)); |
cleanup_exit(255); |
cleanup_exit(255); |
case SSH_ERR_CONN_TIMEOUT: |
case SSH_ERR_CONN_TIMEOUT: |
logit("Connection to %.200s timed out while " |
logit("Connection to %.200s timed out", ssh_remote_ipaddr(ssh)); |
"waiting to write", ssh_remote_ipaddr(ssh)); |
|
cleanup_exit(255); |
cleanup_exit(255); |
|
case SSH_ERR_DISCONNECTED: |
|
logit("Disconnected from %.200s", |
|
ssh_remote_ipaddr(ssh)); |
|
cleanup_exit(255); |
|
case SSH_ERR_SYSTEM_ERROR: |
|
if (errno == ECONNRESET) { |
|
logit("Connection reset by %.200s", |
|
ssh_remote_ipaddr(ssh)); |
|
cleanup_exit(255); |
|
} |
|
/* FALLTHROUGH */ |
default: |
default: |
fatal("%s%sConnection to %.200s: %s", |
fatal("%s%sConnection to %.200s: %s", |
tag != NULL ? tag : "", tag != NULL ? ": " : "", |
tag != NULL ? tag : "", tag != NULL ? ": " : "", |