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

This site uses Akismet to reduce spam. Learn how your comment data is processed.