Answer the question
In order to leave comments, you need to log in
How to add multiple ssh keys for one host?
Hello. Can you please tell me how to correctly write ssh_config to use multiple keys for one host and then how to properly configure gulp-rsync?
This config doesn't work:
Host host
HostName host
User user1
IdentityFile /Users/User/.ssh/key1
Host host2
HostName host
User user2
IdentityFile /Users/User/.ssh/key2
Host *
IdentitiesOnly=yes
to the config causes the pass to be requested. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question