Specifying password in .ssh/config file?

No, it is not possible. The configuration options are described in the manual page for ssh_config and there is no such option as Pass.

There are no patches (at least I didn’t see any during the years yet), because it is very insecure to store passwords in plain text. Using some obfuscated method will not make it any more secure and real encryption would add here a lot of complexity (and a new encryption passphrase).

Really, use the SSH keys. They are cool, secure and easy to use. Just two commands to set up and third to use.

$ ssh-keygen -t rsa -P ""
$ ssh-copy-id server
$ ssh server

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)