Rev 2730 Rev 2787
Line 1... Line 1...
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2   2  
3 ssh -o "BatchMode yes" meteor@neptun.avc-cvut.cz "exit" 3 ssh -o StrictHostKeyChecking=no -o BatchMode=yes meteor@neptun.avc-cvut.cz "exit"
4   4  
5 [[ "$?" -eq 0 ]] && exit 0 || exit 1 5 [[ "$?" -eq 0 ]] && exit 0 || exit 1
6 6