Configure your SSH client on Apple

You may ease up the use of SSHing to your server by configuring your SSH client.  To do so, simply follow this quick HowTo:

1. Create a config file using your prefered text editor and paste the following in it:

For this HowTo and for simplicity sake, we'll use the following values:
Application server: app.exemple.com
Key name: exemple.key
Username: integrator

So, the following block to paste is the following (and make sure to adjust the values accordingly to your setup:

Host app.exemple.com
Hostname app.exemple.com
User integrator
IdentityFile ~/.ssh/exemple.key


2. Save the file in ~/.ssh/ and test it by accessing it using a terminal:
ssh app.exemple.com


Congrats!
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to create a SSH key set

If your SSH server is visible over the Internet, you should use public key authentication instead...

Configure your SSH for GIT

You may ease up the use of SSHing to your git repo by configuring your SSH.  To do so,...

Force your SSH client to use password authentification

From time to time, you may need to force SSH client to use password authentication instead of...

How to authorize your SSH key on cPanel

Login to cPanel and search for SSH : or scroll down and find the 'SSH Access' option:...