server side
You need ~/.rhosts file with this line:
192.168.1.5 codept
OR you can write this line in /etc/hosts.equiv
client terminal
$ rsh remotehost date
WARNING! RSH is not secure.
192.168.1.5 codept
$ rsh remotehost date
$ ssh-keygen -t rsa
$ scp ~/.ssh/id_rsa.pub servername:
$ ssh-agent $SHELL
$ ssh servername
Unsupported local hostname
--------------------------
The current hostname is resolved as follows:
Hostname: frog.pond
Aliases: frog
Host Address(es): 127.0.1.1
It is not supported for a Grid Engine installation that the local hostname contains the hostname "localhost" and/or the IP address "127.0.x.x" of the loopback interface. The "localhost" hostname should be reserved for the loopback interface ("127.0.0.1") and the real hostname should be assigned to one of the physical or logical network interfaces of this machine.
Installation failed.
TERM="vt100"; export TERM