Update conn.sh

v2.0
* Added a new function to check from groups (line starting with #)
* Made the code simpler
* Added a new function to use an ssh-agent on the computer.