Hi!
i want to ssh between master and slave node without pass word . i made following changes
on both master and slave node /etc/hosts file have
ON Master node /etc/hosts
192.168.0.2 masternode master
192.168.0.1 slavenode slave
127.0.0.1 localdomain
.shosts file
masternode master
slavenode slave
/etc/ssh/shosts.equiv
masternode
slavenode
after this i do these steps
ssh-keygen -t dsa -f .ssh/idenity
cd .ssh
scp identity.pub
root@slavenode:~/.ssh/idenity.pub
on the slave node i do
cat idenity.pub >> authorized_keys
chmod go-rwx authorized_keys
rm idemtity.pub
On master node when i run
ssh slave ls
IT STILL ASK FOR PASSWORD
Pls, help me to solve this problem
ON slave node
/etc/hosts
192.168.0.1 slavenode slave
192.168.0.2 masternode master
127.0.0.1 localdomain
also slavenode have another lan card eth1 that connect to internet
Thanks