To set a default user for each ssh connection, I would normally adjust my
.ssh/config file to
I am now using Chef. The knife tool does not read from .ssh/config. So how can I set default usernames based on host?
One solution I do NOT want is to create a default "chef" user with full admin rights on every server and then use that user for batch server processes. There are many reasons I am hoping for a more optimal answer.