ReleaseEngineering/How To/Adjust SSH keys on a slave: Difference between revisions

Jump to navigation Jump to search
Line 60: Line 60:
To test that a try slave is set up properly, you must be able to run the following commands '''without needing to answer any questions''':
To test that a try slave is set up properly, you must be able to run the following commands '''without needing to answer any questions''':
  ssh -i ~/.ssh/trybld_dsa trybld@stage.mozilla.org hostname
  ssh -i ~/.ssh/trybld_dsa trybld@stage.mozilla.org hostname
ssh -i ~/.ssh/b2gtry_dsa b2gtry@pvtbuilds.pvt.build.mozilla.org hostname
ssh -i ~/.ssh/b2gtry_dsa b2gtry@pvtbuilds2.dmz.scl3.mozilla.com hostname


Steps for Windows (from SSH):
Steps for Windows (from SSH):
Line 65: Line 68:
rm -rf .ssh
rm -rf .ssh
mkdir .ssh
mkdir .ssh
scp cltbld@bld-centos6-hp-024.build.mozilla.org:~/.ssh/* .ssh
scp cltbld@b-linux64-hp-0001.build.mozilla.org:~/.ssh/* .ssh
# You will have to answer 'yes' and enter the cltbld password
# You will have to answer 'yes' and enter the cltbld password
ssh -i ~/.ssh/trybld_dsa trybld@stage.mozilla.org hostname
ssh -i ~/.ssh/trybld_dsa trybld@stage.mozilla.org hostname
ssh -i ~/.ssh/b2gtry_dsa b2gtry@pvtbuilds.pvt.build.mozilla.org hostname
ssh -i ~/.ssh/b2gtry_dsa b2gtry@pvtbuilds2.dmz.scl3.mozilla.com hostname
rm -rf /c/builds/moz2_slave
rm -rf /c/builds/moz2_slave
</pre>
</pre>
Line 79: Line 84:
# You will have to answer 'yes' and enter the cltbld password
# You will have to answer 'yes' and enter the cltbld password
ssh -i ~/.ssh/trybld_dsa trybld@stage.mozilla.org hostname
ssh -i ~/.ssh/trybld_dsa trybld@stage.mozilla.org hostname
ssh -i ~/.ssh/b2gtry_dsa b2gtry@pvtbuilds.pvt.build.mozilla.org hostname
ssh -i ~/.ssh/b2gtry_dsa b2gtry@pvtbuilds2.dmz.scl3.mozilla.com hostname
rm -rf /c/builds/moz2_slave
rm -rf /c/builds/moz2_slave
</pre>
</pre>
Confirmed users
4,293

edits

Navigation menu