scp/connection refused

Michael Havens bmike1 at gmail.com
Fri Oct 31 15:08:11 MST 2014


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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20141031/988f3d60/attachment.html>


More information about the PLUG-discuss mailing list