Revert "Fixed a bug where the no ssh connection would be established for any distro other than Fedora 33"
This reverts commit 48547865e1760de198bf482fa53799d0b6fc79b7.
This commit is contained in:
parent
f5ece2ce25
commit
2d1536557c
@ -100,8 +100,10 @@ ssh_cmd() {
|
|||||||
VER=$VERSION_ID
|
VER=$VERSION_ID
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$OS" == "Fedora" ] && [ "$VER" == "33" ]; then
|
if [ "$OS" == "Fedora" ]; then
|
||||||
|
if [ "$VER" == "33" ]; then
|
||||||
ssh -o ConnectTimeout=1 -o PasswordAuthentication=no "remarkable" "$@"
|
ssh -o ConnectTimeout=1 -o PasswordAuthentication=no "remarkable" "$@"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
ssh -o ConnectTimeout=1 -o PasswordAuthentication=no "root@$remarkable" "$@"
|
ssh -o ConnectTimeout=1 -o PasswordAuthentication=no "root@$remarkable" "$@"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user