title: Jenkins slave set-up - both master and slave nodes are Linux machines
body: <p>I want to set up a Linux node as a slave to the Jenkins master. I was going through <a href="https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds" rel="nofollow noreferrer">the tutorial</a> on setting it up for a Linux machine.</p>
  
  <blockquote>
    <p>Have master launch slave agent via SSH</p>
    
    <p>Jenkins has a built-in SSH client implementation that it can use to
    talk to remote sshd and start a slave agent. This is the most
    convenient and preferred method for Unix slaves, which normally has
    sshd out-of-the-box. Click Manage Jenkins, then Manage Nodes, then
    click "New Node." In this set up, you'll supply the connection
    information (the slave host name, user name, and ssh credential). Note
    that the slave will need the master's public ssh key copied to
    ~/.ssh/authorized_keys.</p>
  </blockquote>
  
  <p>When it says <code>~/.ssh/authorized_keys</code> does it mean that I need to have the public key in this location on the node when logged in as a <code>jenkins</code> user (which is the username that the Master uses to log into the slaves)?</p>
  
  <p>What does <code>~</code> signify? Which user's home directory are we talking about?</p>