On 06/13/14 07:57, Bill Oliver wrote:
On Thu, 12 Jun 2014, 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.
>
> thanks!
>
>
Here are the things that have kept sshd from working on new installations for me in the
past. I don't know which, if any, would apply to Fedora 20 today.
1) As I remember, some ssh setups come configured so that they will only talk to
localhost (though that may be ftp, not ssh).
I think you're mixing that up with sendmail. sshd will, by default, bind to all
interfaces on port 22.
2) For some reason, I commonly had a problem with SeLinux blocking ssh. I turn it off.
Never had a problem with ssh and selinux. Don't turn things off blindly. If you
think you have a selinux issue, investigate.
3) Sometimes I forget to set up the rsa keys and nothing will authenticate.
When the sshd is started for the first time, the server certs will be generated.
--
Do not condemn the judgment of another because it differs from your own. You may both be
wrong. -- Dandemis