title: How to get the IP address from $SSH_CLIENT
body: <p>$SSH_CLIENT has IP address with some port info, and echo $SSH_CLIENT gives me '10.0.40.177 52335 22', and Running</p>
  
  <p><code>
  if [ -n "$SSH_CONNECTION" ] ;
  then
    for i in $SSH_CLIENT
    do
        echo $i
    done
  fi
  </code></p>
  
  <p>gives me </p>
  
  <ul>
  <li>10.0.40.177</li>
  <li>52335</li>
  <li>22</li>
  </ul>
  
  <p>And I see the first element is the IP address. </p>
  
  <p>Q : How can I get the first element of $SSH_CLIENT?
  ${SSH_CLIENT[0]} doesn't work. </p>