Doesn't work with possible uses of Include keyword
Closed this issue · 3 comments
kapsh commented
sshto
doesn't use configuration files included in .ssh/config
.
Example setup:
❯ cat ~/.ssh/config
Include ananas/config
Include github/config
# blah-blah
/tmp
❯ cat ~/.ssh/github/config
# vim: filetype=sshconfig:
Host github.com
User git
IdentityFile ~/.ssh/github/kapsh_github
When all hosts (except default options for Host *
) are configured in this way, sshto just shows nothing and exits.
kapsh commented
I saw the readme, but (looking at code) sshto
does not read Include
in fact but only lists .ssh/config*
.
vaniacer commented
Exactly, that is why included config files have to be in ~/.ssh dir, and start from 'config', example:
Include config_*
vaniacer commented
I saw the readme, but (looking at code)
sshto
does not readInclude
in fact but only lists.ssh/config*
.
But you'r right. So i've changed the info in readme. Thanks)