Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ipremota=($SSH_CLIENT)
- alias ipactual='dig +short dev.sistravel.net @resolver1.opendns.com'
- if [ $(ipactual) == ${ipremota[0]} ]; then
- echo "Bienvenido Maestro."
- else
- exit;
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement