4 ms·
> (you cannot put your SSH password into ~/.ssh/config) you can, however, use `ssh-agent` (and should!)
by hprotagonist 3y ago
> (you cannot put your SSH password into ~/.ssh/config)
you can, however, use `ssh-agent` (and should!)
- crabbone 3y agoWhy do you believe anyone should use ssh-agent? Well, if we expand arbitrary the range of programs reading ~/.ssh/config, then we can put there whatever we want, can't we? The point was that SSH won't read the password from its config file. There's a good reason not to do that: this configuration file shouldn't contain sensitive information because it's a plain text file. But, maybe you can encrypt it -- something I've never explored...