Connecting to a server

Let's look at some practical scripts that we can use to connect to servers. Firstly, we will look at ping, and in the second script we will look at prompting for SSH credentials.