Hacker News new | ask | show | jobs
by hprotagonist 895 days ago
> (you cannot put your SSH password into ~/.ssh/config)

you can, however, use `ssh-agent` (and should!)

1 comments

Why 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...