ssh connection refused on Raspberry Pi
<p>I realize this question has already been asked in some different ways, however it doesn't seem like any of the ways I've come across have worked to fix this problem, so here it goes:</p>

<p>I'm trying to connect to my raspberry pi 3 raspbian setup via ssh on my laptop, but although I have the correct ip address, I keep getting the error: </p>

<pre><code>ssh: connect to host xxx.xxx.xx.x port 22: connection refused.
</code></pre>

<p>This is unusual because when I try to ping that address, it works fine. Is there anything I can try to figure out what's wrong? </p>

<p>Also keep in mind I am relatively inexperienced with bash in linux, so inclusion of any specific commands with a description of what they do would be greatly appreciated.</p>