Are you boring with entering password every times logging in to linux via ssh? The followings are time saving and secure without storing user password in clear text.
HOST_SRC = Your system.
HOST_DEST = The system you want to login.
1. On HOST_SRC
-generating key (/.ssh/id_rsa.pub) when you are prompted to enter pass pharse just press enter.
$ssh-keygen -t rsa
-transfer id_rsa.pub to HOST_DEST use scp.
$scp ~/.ssh/id_rsa.pub username@ip:/home/username/
(this will be the last time you enter password :) )
2. On HOST_DEST
$ cat id_rsa.pub >>~/.ssh/authorized_keys
$ chmod 700 ~/.ssh/authorized_keys
refer: https://blogs.oracle.com/jkini/entry/how_to_scp_scp_and