<div dir="ltr"><div>computer 'a' $ sudo ufw status verbose</div><div>[sudo] password for bmike1: </div><div>Status: active</div><div>Logging: on (low)</div><div>Default: deny (incoming), allow (outgoing), disabled (routed)</div><div>New profiles: skip</div><div>computer 'a' $ ip addr</div><div><div> inet <a href="http://192.168.0.14/24" target="_blank">192.168.0.14/24</a> brd 192.168.0.255 scope global eth0</div><div> </div></div><div>computer 'b' $ sudo ufw status verbose</div><div>[sudo] password for bmike1: </div><div>Status: inactive</div><div>.</div><div>..</div><div>...</div><div>....</div><div>You figured it out! I had ufw active on one of the computers. Thanks. I just needed to add a rule to ufw and that fixed it. thanks for your help Sesso and Sean. Sesso....I had forgotten I activated the firewall.</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">:-)~MIKE~(-:</div></div>
<br><div class="gmail_quote">On Fri, Oct 31, 2014 at 3:14 PM, sean <span dir="ltr"><<a href="mailto:sean.a.ritzler@gmail.com" target="_blank">sean.a.ritzler@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So the server is running on both.<br>
<br>
What about the output of:<br>
sudo ufw status verbose<br>
on both computers?<br>
As well as:<br>
ip addr<br>
? Make sure you're trying to connect to the right address.<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Oct 31, 2014 at 3:08 PM, Michael Havens <<a href="mailto:bmike1@gmail.com">bmike1@gmail.com</a>> wrote:<br>
> my distro is mint and the error is connection refused.<br>
><br>
> computer a $ sudo netstat -tpan | grep LISTEN<br>
> [sudo] password for bmike1:<br>
> tcp 0 0 <a href="http://127.0.1.1:53" target="_blank">127.0.1.1:53</a> 0.0.0.0:* LISTEN<br>
> 1592/dnsmasq<br>
> tcp 0 0 <a href="http://0.0.0.0:22" target="_blank">0.0.0.0:22</a> 0.0.0.0:* LISTEN<br>
> 1378/sshd<br>
> tcp 0 0 <a href="http://127.0.0.1:631" target="_blank">127.0.0.1:631</a> 0.0.0.0:* LISTEN<br>
> 15181/cupsd<br>
> tcp 0 0 <a href="http://0.0.0.0:445" target="_blank">0.0.0.0:445</a> 0.0.0.0:* LISTEN<br>
> 800/smbd<br>
> tcp 0 0 <a href="http://127.0.0.1:3306" target="_blank">127.0.0.1:3306</a> 0.0.0.0:* LISTEN<br>
> 1518/mysqld<br>
> tcp 0 0 <a href="http://0.0.0.0:139" target="_blank">0.0.0.0:139</a> 0.0.0.0:* LISTEN<br>
> 800/smbd<br>
> tcp6 0 0 :::22 :::* LISTEN<br>
> 1378/sshd<br>
> tcp6 0 0 ::1:631 :::* LISTEN<br>
> 15181/cupsd<br>
> tcp6 0 0 :::445 :::* LISTEN<br>
> 800/smbd<br>
> tcp6 0 0 :::139 :::* LISTEN<br>
> 800/smbd<br>
> tcp6 0 0 :::80 :::* LISTEN<br>
> 29995/apache2<br>
><br>
><br>
> computer b $ sudo netstat -tpan | grep LISTEN<br>
> tcp 0 0 <a href="http://127.0.1.1:53" target="_blank">127.0.1.1:53</a> 0.0.0.0:* LISTEN<br>
> 1688/dnsmasq<br>
> tcp 0 0 <a href="http://0.0.0.0:22" target="_blank">0.0.0.0:22</a> 0.0.0.0:* LISTEN<br>
> 1261/sshd<br>
> tcp 0 0 <a href="http://127.0.0.1:631" target="_blank">127.0.0.1:631</a> 0.0.0.0:* LISTEN<br>
> 1958/cupsd<br>
> tcp 0 0 <a href="http://0.0.0.0:445" target="_blank">0.0.0.0:445</a> 0.0.0.0:* LISTEN<br>
> 648/smbd<br>
> tcp 0 0 <a href="http://127.0.0.1:3306" target="_blank">127.0.0.1:3306</a> 0.0.0.0:* LISTEN<br>
> 1439/mysqld<br>
> tcp 0 0 <a href="http://0.0.0.0:139" target="_blank">0.0.0.0:139</a> 0.0.0.0:* LISTEN<br>
> 648/smbd<br>
> tcp6 0 0 :::22 :::* LISTEN<br>
> 1261/sshd<br>
> tcp6 0 0 ::1:631 :::* LISTEN<br>
> 1958/cupsd<br>
> tcp6 0 0 :::445 :::* LISTEN<br>
> 648/smbd<br>
> tcp6 0 0 :::139 :::* LISTEN<br>
> 648/smbd<br>
> tcp6 0 0 :::80 :::* LISTEN<br>
> 1856/apache2<br>
><br>
><br>
> :-)~MIKE~(-:<br>
><br>
> On Fri, Oct 31, 2014 at 3:00 PM, sean <<a href="mailto:sean.a.ritzler@gmail.com">sean.a.ritzler@gmail.com</a>> wrote:<br>
>><br>
>> You need to give more details.<br>
>><br>
>> Why can't you ssh from b to a? What's the error? What distributions?<br>
>><br>
>> 1 - install ssh server<br>
>> 2 - start the service<br>
>> 3 - deal with firewalls<br>
>> 4 - ssh with a valid user<br>
>><br>
>> What's the output of:<br>
>> netstat -tpan | grep LISTEN<br>
>> on both computers?<br>
>><br>
>> On Fri, Oct 31, 2014 at 2:55 PM, Michael Havens <<a href="mailto:bmike1@gmail.com">bmike1@gmail.com</a>> wrote:<br>
>> > I didn't modify the firewall or the ssh port.<br>
>> ><br>
>> > :-)~MIKE~(-:<br>
>> ><br>
>> > On Fri, Oct 31, 2014 at 2:52 PM, Sesso <<a href="mailto:sesso@djsesso.com">sesso@djsesso.com</a>> wrote:<br>
>> >><br>
>> >> What do your firewall rules look like? Are you allowing in and out on<br>
>> >> port<br>
>> >> 22?<br>
>> >><br>
>> >> Sent from my iPhone<br>
>> >><br>
>> >> > On Oct 31, 2014, at 2:44 PM, Michael Havens <<a href="mailto:bmike1@gmail.com">bmike1@gmail.com</a>> wrote:<br>
>> >> ><br>
>> >> > 'openssh-server' is installed on both computers<br>
>> >> > 'ssh localhost' works on both computers<br>
>> >> > I can only scp from computer 'a' to computer 'b' not computer 'b' to<br>
>> >> > computer 'a'.<br>
>> >> > Would someone help me to get it to work computer 'b'to computer 'a'?<br>
>> >> > :-)~MIKE~(-:<br>
>> >> > ---------------------------------------------------<br>
>> >> > PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
>> >> > To subscribe, unsubscribe, or to change your mail settings:<br>
>> >> > <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
>> >> ---------------------------------------------------<br>
>> >> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
>> >> To subscribe, unsubscribe, or to change your mail settings:<br>
>> >> <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > ---------------------------------------------------<br>
>> > PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
>> > To subscribe, unsubscribe, or to change your mail settings:<br>
>> > <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
>> ---------------------------------------------------<br>
>> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
>> To subscribe, unsubscribe, or to change your mail settings:<br>
>> <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
><br>
><br>
><br>
> ---------------------------------------------------<br>
> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
> To subscribe, unsubscribe, or to change your mail settings:<br>
> <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</div></div></blockquote></div><br></div>