Install Jenkins --> Server1
Install Java --> Server2
Generate SSH Key with in Master server Login to Jenkins user
su -s /bin/bash jenkins
Generate SSH key
ssh-keygen
Copy public key to node server at "/root/.ssh/authorized_keys"
Check connectivity between two servers:

Goto Jenkins Master --> Manage Jenkins --> Manage Credentials
Click on Jenkins
Click on "Global credentials (unrestricted)"
Click on "Add Credentials"
Click on "OK"
Goto Jenkins Master --> Manage Jenkins --> Manage Nodes and Cloud
Click on "New Node"
Click on "OK"
Click on "save"
Create new job and provide slave
Click on "Save" and Click on "Build now"











