Connecting from one server to another server often asks the password before making connection. Also it asks the password while copying the data using scp command.
This creates issue while automating the tasks using shell script. So to avoid the problem we need to configure the password less ssh login between the two servers/systems.
So let’s move on to the scenario.
Suppose we have got two systems
- kalwa1 ip 192.168.216.130
- kalwa2 ip 192.168.216.131
& the password less configuration need to perform for the user manmohan from the system kalwa1(192.168.216.130) to the system kalwa2(192.168.216.131). Then simply follow below steps:
1. login into the system kalwa1(192.168.216.130) using the user manmohan.