Setup Mac for ssh into synology

From rbachwiki
Revision as of 17:56, 24 April 2026 by Bacchas (talk | contribs) (Created page with "=Create config file= '''Create a config file in the ~/.ssh/config''' ''' This file contains the host name and the path to the ssh keys''' <pre> Host wendy HostName 192.168.20.22 User myname IdentityFile ~/.ssh/keyidfile IdentitiesOnly yes #for tailscale Host wendy-tailscale HostName 1.1.1.1 User myname IdentityFile ~/.ssh/keyfile IdentitiesOnly yes </pre>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Create config file

Create a config file in the ~/.ssh/config This file contains the host name and the path to the ssh keys

Host wendy
	HostName 192.168.20.22
	User myname
	IdentityFile ~/.ssh/keyidfile
	IdentitiesOnly yes

#for tailscale

Host wendy-tailscale
	HostName 1.1.1.1
	User myname
	IdentityFile ~/.ssh/keyfile
        IdentitiesOnly yes