Test connections to ssh