fix auto-copy-ssh-id
This commit is contained in:
parent
d2c18372f4
commit
23827f2d1d
|
@ -22,8 +22,8 @@ ssh_do() {
|
||||||
ssh \
|
ssh \
|
||||||
-o PasswordAuthentication=no \
|
-o PasswordAuthentication=no \
|
||||||
-o LogLevel=ERROR \
|
-o LogLevel=ERROR \
|
||||||
-o BatchMode \
|
-o BatchMode=yes \
|
||||||
-o ConnectionTimeout=2 \
|
-o ConnectTimeout=2 \
|
||||||
-ttn \
|
-ttn \
|
||||||
"${USER:+${USER}@}${HOST}" -- "${@:3}" \
|
"${USER:+${USER}@}${HOST}" -- "${@:3}" \
|
||||||
|| (printf '\n'; printf 'Exit code: %s\n' "$?" >&2)
|
|| (printf '\n'; printf 'Exit code: %s\n' "$?" >&2)
|
||||||
|
|
Loading…
Reference in New Issue