mirror of
https://github.com/letic/Shell-Scripts.git
synced 2024-09-28 05:56:04 +00:00
Update scp-remote-to-local.sh
This commit is contained in:
parent
44fe5d9ba2
commit
f3fc1698b9
@ -78,9 +78,7 @@ do
|
|||||||
|
|
||||||
if [ "$status" = "current" ]; then
|
if [ "$status" = "current" ]; then
|
||||||
ssh_success=true
|
ssh_success=true
|
||||||
printf "\n"
|
printf "\n\nssh access granted for instance $(($n + 1)): $instance_id ($instance_ip)\n\n"
|
||||||
echo "ssh access granted for instance $(($n + 1)): $instance_id ($instance_ip)"
|
|
||||||
printf "\n"
|
|
||||||
elif [ "$status" = "failed" ]; then
|
elif [ "$status" = "failed" ]; then
|
||||||
failed_access+=("$instance_id - $instance_ip - $launch_time")
|
failed_access+=("$instance_id - $instance_ip - $launch_time")
|
||||||
failed=true
|
failed=true
|
||||||
|
Loading…
Reference in New Issue
Block a user