computer 'a'  $ sudo ufw status verbose
[sudo] password for bmike1: 
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
computer 'a' $ ip addr
    inet 192.168.0.14/24 brd 192.168.0.255 scope global eth0
 
computer 'b' $  sudo ufw status verbose
[sudo] password for bmike1: 
Status: inactive
.
..
...
....
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.


:-)~MIKE~(-:

On Fri, Oct 31, 2014 at 3:14 PM, sean <sean.a.ritzler@gmail.com> wrote:
So the server is running on both.

What about the output of:
sudo ufw status verbose
on both computers?
As well as:
ip addr
? Make sure you're trying to connect to the right address.

On Fri, Oct 31, 2014 at 3:08 PM, Michael Havens <bmike1@gmail.com> wrote:
> my distro is mint and the error is connection refused.
>
> computer a $ sudo netstat -tpan | grep LISTEN
> [sudo] password for bmike1:
> tcp        0      0 127.0.1.1:53            0.0.0.0:*               LISTEN
> 1592/dnsmasq
> tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
> 1378/sshd
> tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN
> 15181/cupsd
> tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN
> 800/smbd
> tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN
> 1518/mysqld
> tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN
> 800/smbd
> tcp6       0      0 :::22                   :::*                    LISTEN
> 1378/sshd
> tcp6       0      0 ::1:631                 :::*                    LISTEN
> 15181/cupsd
> tcp6       0      0 :::445                  :::*                    LISTEN
> 800/smbd
> tcp6       0      0 :::139                  :::*                    LISTEN
> 800/smbd
> tcp6       0      0 :::80                   :::*                    LISTEN
> 29995/apache2
>
>
> computer b $ sudo netstat -tpan | grep LISTEN
> tcp        0      0 127.0.1.1:53            0.0.0.0:*               LISTEN
> 1688/dnsmasq
> tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
> 1261/sshd
> tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN
> 1958/cupsd
> tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN
> 648/smbd
> tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN
> 1439/mysqld
> tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN
> 648/smbd
> tcp6       0      0 :::22                   :::*                    LISTEN
> 1261/sshd
> tcp6       0      0 ::1:631                 :::*                    LISTEN
> 1958/cupsd
> tcp6       0      0 :::445                  :::*                    LISTEN
> 648/smbd
> tcp6       0      0 :::139                  :::*                    LISTEN
> 648/smbd
> tcp6       0      0 :::80                   :::*                    LISTEN
> 1856/apache2
>
>
> :-)~MIKE~(-:
>
> On Fri, Oct 31, 2014 at 3:00 PM, sean <sean.a.ritzler@gmail.com> wrote:
>>
>> You need to give more details.
>>
>> Why can't you ssh from b to a? What's the error? What distributions?
>>
>> 1 - install ssh server
>> 2 - start the service
>> 3 - deal with firewalls
>> 4 - ssh with a valid user
>>
>> What's the output of:
>> netstat -tpan | grep LISTEN
>> on both computers?
>>
>> On Fri, Oct 31, 2014 at 2:55 PM, Michael Havens <bmike1@gmail.com> wrote:
>> > I didn't modify the firewall or the ssh port.
>> >
>> > :-)~MIKE~(-:
>> >
>> > On Fri, Oct 31, 2014 at 2:52 PM, Sesso <sesso@djsesso.com> wrote:
>> >>
>> >> What do your firewall rules look like? Are you allowing in and out on
>> >> port
>> >> 22?
>> >>
>> >> Sent from my iPhone
>> >>
>> >> > On Oct 31, 2014, at 2:44 PM, Michael Havens <bmike1@gmail.com> wrote:
>> >> >
>> >> > 'openssh-server' is installed on both computers
>> >> > 'ssh localhost' works on both computers
>> >> > I can only scp from computer 'a' to computer 'b' not computer 'b' to
>> >> > computer 'a'.
>> >> > Would someone help me to get it to work computer 'b'to computer 'a'?
>> >> > :-)~MIKE~(-:
>> >> > ---------------------------------------------------
>> >> > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>> >> > To subscribe, unsubscribe, or to change your mail settings:
>> >> > http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>> >> ---------------------------------------------------
>> >> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>> >> To subscribe, unsubscribe, or to change your mail settings:
>> >> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>> >
>> >
>> >
>> > ---------------------------------------------------
>> > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>> > To subscribe, unsubscribe, or to change your mail settings:
>> > http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss