Improving login-remote.sh... currently i'm a stuck a bit in a try and error
routine :(