Re: SSH question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 12, 2014 at 07:29:00PM -0400, Fred Smith wrote:
> On Fri, Jun 13, 2014 at 06:31:39AM +0800, Ed Greshko wrote:
> > On 06/13/14 06:12, Fred Smith wrote:
> > > Hi all!
> > >
> > > I feel dumb having to ask this, I feel I should know the answer, but
> > > can't dredge it up.
> > >
> > > I've recently installed F20 on my old eeepc, where it seems to run fine,
> > > btw, but I can't for the life of me figure out how to connect to it from
> > > another system with ssh.
> > >
> > > I've made sure that sshd is installed, and "systemctl list-unit-files"
> > > shows it as enabled. As far as I can figure out how to use the relatively
> > > new firewall app (and I have to admit some hesitance there since I'm
> > > not sure I really DO understand it...) the necessary ports are open.
> > >
> > > however when I attempt to connect to it with ssh from another box I get
> > > I get an instantaneous "ssh: connect to host 192.168.2.117 port 22:
> > > connection refused".  And when I attempt to connect back to itself:
> > > "ssh -X fredex@localhost" I get the same thing.
> > >
> > > If someone can give me a whack on the head (designed to joggle my brains
> > > a bitg--in a good way) I'd appreciate the guidance.
> > >
> > 
> > Just a bit of information.....
> > 
> > If you see "No route to host" on an ssh connection it would indicate the port is closed.
> > When you see "connection refused" it means there is no process bound to the open port.
> > 
> > So you should see....
> > 
> > [egreshko@meimei ~]$ netstat --tcp -ap | grep ssh
> > (Not all processes could be identified, non-owned process info
> >  will not be shown, you would have to be root to see it all.)
> > tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN      -                  
> > tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      -
> > 
> > and ....
> > 
> > [egreshko@meimei ~]$ ps -eaf | grep sshd
> > root      1269     1  0 Jun12 ?        00:00:00 /usr/sbin/sshd -D
> > 
> > and ...
> > 
> > [egreshko@meimei ~]$ systemctl status sshd.service
> > sshd.service - OpenSSH server daemon
> >    Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)
> >    Active: active (running) since Thu 2014-06-12 08:48:39 CST; 21h ago
> >  Main PID: 1269 (sshd)
> >    CGroup: /system.slice/sshd.service
> >            └─1269 /usr/sbin/sshd -D
> > 
> 

Oh duh, please ignore this. too many keyboards sitting in front of me,
I ran it on the wrong one.

I'll get back later with info from the right one.

Fred
> Thanks... Yeah, all three of those commands give the output you show.
> 
> Any further thoughts?
> 
> -- 
> ---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx -----------------------------
>     "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
>      heaven, but only he who does the will of my Father who is in heaven."
> ------------------------------ Matthew 7:21 (niv) -----------------------------
> -- 
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org

-- 
---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx -----------------------------
   "For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
              it judges the thoughts and attitudes of the heart."  
---------------------------- Hebrews 4:12 (niv) ------------------------------
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux