setup ssh on remote host more elegantly