silence ssh
This commit is contained in:
parent
9449c34a23
commit
af0e639e6d
|
@ -8,8 +8,8 @@ fi
|
||||||
|
|
||||||
for server in "germany.siasky.net" "us-east.siasky.net" "us-west.siasky.net" "helsinki.siasky.net" "siasky.dev";
|
for server in "germany.siasky.net" "us-east.siasky.net" "us-west.siasky.net" "helsinki.siasky.net" "siasky.dev";
|
||||||
do
|
do
|
||||||
echo "⌁ Connecting to ${server}"
|
echo "⌁ Blacklisting on ${server}"
|
||||||
ssh -t user@${server} 'curl -A Sia-Agent --user "":$(cat ~/.sia/apipassword) --data '"'"'{"add":["'$1'"]}'"'"' "localhost:9980/skynet/blacklist"'
|
ssh -q -t user@${server} 'curl -A Sia-Agent --user "":$(cat ~/.sia/apipassword) --data '"'"'{"add":["'$1'"]}'"'"' "localhost:9980/skynet/blacklist"'
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "✓ All portals succesfully blacklisted provided skylink"
|
echo "✓ All portals succesfully blacklisted provided skylink"
|
||||||
|
|
Reference in New Issue