How to ssh to a remote server without typing your password Save yourself a few keystrokes. Follow the steps below: Run this Bash script on your laptop: #!/usr/bin/env bash The hostname of your remote server.