I created a shell script which which uses ssh and it connects to many servers, I wanted my script to save the password of the servers in my script itself and connect to the servers automatically without any prompts, I am not concerned of security as of now.
I tried ssh -o PubkeyAuthentication=no -o PreferredAuthentications=Mypassword username@hostname
Its throwing an error Permission denied (gssapi-keyex,gssapi-with-mic,pubkey, password,keyboard-interactive)
I am using sun solaris UNIX server, I don't have privilege to install keygen or any changes in ssh files.
Thanks in advance.