Update porygon-management.sh
This commit is contained in:
@@ -26,7 +26,7 @@ read -p "enter the server's hostname: " HOSTNAME
|
|||||||
read -p "enter the server's IP: " IP
|
read -p "enter the server's IP: " IP
|
||||||
|
|
||||||
echo "trusting remote ssh host key"
|
echo "trusting remote ssh host key"
|
||||||
ssh-keyscan -H "$IP" >> /root/.ssh/known_hosts || {
|
ssh-keyscan -P "$PORT" -H "$IP" >> /root/.ssh/known_hosts || {
|
||||||
echo "failed to trust remote host key"
|
echo "failed to trust remote host key"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user