Difference between revisions of "Setup Mac for ssh into synology"

From rbachwiki
Jump to navigation Jump to search
(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>")
 
Line 18: Line 18:


</pre>
</pre>
==[[ Backup_script_on_mac_config_and_setup| Mac Setup]] [[Bash| Bash menu]]-[[Main_Page| Home]]==
[[Category:Bash]]

Revision as of 18:35, 24 April 2026

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


Mac Setup Bash menu- Home