Re: scp/connection refused

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: sean
Date:  
To: Main PLUG discussion list
Subject: Re: scp/connection refused
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 <> 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 <> 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 <> wrote:
>> > I didn't modify the firewall or the ssh port.
>> >
>> > :-)~MIKE~(-:
>> >
>> > On Fri, Oct 31, 2014 at 2:52 PM, Sesso <> 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 <> 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 -
>> >> > To subscribe, unsubscribe, or to change your mail settings:
>> >> > http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>> >> ---------------------------------------------------
>> >> PLUG-discuss mailing list -
>> >> To subscribe, unsubscribe, or to change your mail settings:
>> >> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>> >
>> >
>> >
>> > ---------------------------------------------------
>> > PLUG-discuss mailing list -
>> > To subscribe, unsubscribe, or to change your mail settings:
>> > http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss