Re: SSH question

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

 



2014-06-13 1:12 GMT+03:00 Fred Smith <fredex@xxxxxxxxxxxxxxxxxxxxxx>:
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.

thanks!



"connection refused" by receiving RST packet means port is closed, and no process listens on port as Ed said

look through
a) if it runs on correct port (22) and interfaces

egrep "^Port|ListenAddress" /etc/ssh/sshd_config && netstat -ntlp | grep sshd

b) check again for running firewall rules to filter inbound traffic with tcp-reset option (I doubt, because "ssh -X fredex@localhost" fails too)

c) test manually

nc -4vi1 localhost 22

from remote pc
nc -4vi1 192.168.2.117 22

try to restart service, then and check logs

journalctl -xb _COMM=sshd
 
-------------------------------------------------------------------------------
 .----    Fred Smith   /
( /__  ,__.   __   __ /  __   : /
 /    /  /   /__) /  /  /__) .+'           Home: fredex@xxxxxxxxxxxxxxxxxxxxxx
/    /  (__ (___ (__(_ (___ / :__                                 781-438-5471
-------------------------------- Jude 1:24,25 ---------------------------------
--
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

-- 
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