ssh only after login

Matthew Saltzman mjs at clemson.edu
Thu Apr 3 13:54:28 UTC 2008


On Thu, 2008-04-03 at 13:00 +0200, Christoph Höger wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Konstantin Svist schrieb:
> > Christoph Hger wrote:
> >> I'm seeing something really strange on my F8 notebook.
> >>
> >> When I use it as a secondary computer (ca. 1m away on my desk) I'm just
> >> too lazy to go to it for doing something.
> >> So in common I just ssh over to it. But when I do that now, I got "no
> >> route to host" if I'm not logged in locally.
> >> As soon as I log in, everything works.
> >> Is that some kind of NM-configuration bug?
> >> I would suppose ssh to work, when no one is logged in already, as that
> >> is, what I tend to do: log in.
> >>   
> > 
> > I've disabled "Activate device when computer starts" for my eth0, in
> > favor of using NM, instead. In this case, the network adapter will not
> > be enabled until you log in. NM should work just fine if you leave that
> > enabled, but the laptop might take more time during bootup to get an IP
> > from DHCP (that is, if the cable is not plugged in, it will wait until
> > it times out)
> > 
> 
> Hi,
> 
> I did not disable the Network startup in the boot process (at least I
> see the "error no cable connected" message often).

You should, if you are using NM.  Or disable NM if you are using the
network service.

> I also think that NM is startet via /etc/init.d/NetworkManager and
> should run without me logged in.
> 
> So why is my if blocked?

The NM daemon runs at boot, but all configuration information is stored
in the user's directory, so no connection is made until a user logs in.
Connections are controlled through nm-applet or its KDE equivalent.

Boot-time connection configuration for NM is supposed to be ready for
F9, IIRC.

> 
> 
-- 
                Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs




More information about the fedora-list mailing list