automatic login by using ssh but with out creating public key
Hi,
I want to connect to anothere server from my current server through SSH command.
when I am using the command in the terminal like-- ssh username@ip
it is asking me to give password. This is working fine in the terminal. but I want to do it automatic through a shell script.
How can I be able to provide userid and password through shell script??
I was trying to achieve it by creating a public key and copy it to the destination .ssh file. but I dont have the permission to create any file in the destination server.
please any help in this regard...
|