Quick SSH Configuration

If you find yourself SSHing into the various Freeside machines a lot, then an SSH configuration file can make the whole experience a lot more pleasurable. Paste this on the end of your ~/.ssh/config:

Host fs-web02
	Hostname freeside.co.uk
	User YOUR_USERNAME
	
	PreferredAuthentications	password,keyboard-interactive
Host fs-storage
	Hostname 150.237.94.147
	User root
	
	PreferredAuthentications	password,keyboard-interactive
Host fs-docker
	Hostname 150.237.94.41
	User YOUR_USERNAME
	
	PreferredAuthentications	password,keyboard-interactive
Host fs-docker2
	Hostname	150.237.94.53
	User		YOUR_USERNAME
	
	PreferredAuthentications	password,keyboard-interactive
Host fs-ipa
	Hostname 150.237.94.146
	User YOUR_USERNAME
	
	PreferredAuthentications	password,keyboard-interactive


Host fs-desktop-01
	Hostname 150.237.94.40
	User YOUR_USERNAME
	
	PreferredAuthentications	password,keyboard-interactive
Host fs-desktop-02
	Hostname 150.237.94.3
	User YOUR_USERNAME
	
	PreferredAuthentications	password,keyboard-interactive
Host fs-desktop-03
	Hostname 150.237.94.30
	User YOUR_USERNAME
	
	PreferredAuthentications	password,keyboard-interactive
Host fs-desktop-04
	Hostname 150.237.94.39
	User YOUR_USERNAME
	
	PreferredAuthentications	password,keyboard-interactive

# See the following posts:
# Desktop Infrastructure: https://forums.freeside.co.uk/t/desktop-infrastructure/149
# Server Infrastructure: https://forums.freeside.co.uk/t/server-infrastructure/103

If ~/.ssh/config doesn’t exist, create it (and potentially the ~/ssh directory too).

Don’t forget to replace YOUR_USERNAME with your Freeside account name!

If you get a “bad owner” permissions error, you need to update the permissions on the config file:

sudo chown 0600 ~/.ssh/config