logfile=$SSH_LOGDIR/${login+"$login@"}"$host"${port+":$port"}.log
if ! "$REAL_SSH" -Ocheck \
${port+-p$port} ${login+"$login@"}"$host" \
logfile=$SSH_LOGDIR/${login+"$login@"}"$host"${port+":$port"}.log
if ! "$REAL_SSH" -Ocheck \
${port+-p$port} ${login+"$login@"}"$host" \