SSH in unix shell scripting

How to hardcode a remote server’s password in my shell script ?As while using ssh command to connect to a remote server it prompts for the password, I am trying to automate the process so that it picks the password from my script. the ssh-keygen method did not work.


Source: shell

Leave a Reply