Find the answer to your Linux question:
Results 1 to 2 of 2
I've checked to make sure sshd is run on level 2,3,4, and 5 when the system start. If i physically at the server and log into a local user then ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    3

    can't ssh into server unless a local user is logged in. Please help.

    I've checked to make sure sshd is run on level 2,3,4, and 5 when the system start. If i physically at the server and log into a local user then i can ssh into the server. As soon as i log out (at log in screen or just reboot the machine), i cant ssh into it.

    My server is a fresh install of FC14. I think openssh is installed with FC14 by default so all i have to do is start it. I am looking for "headless" server (no monitor, keyboard, and mouse) setup. The server will be turn off/restart often so i really need to be able to ssh into it without having to physically be there to log in first.


    There has to be a way to setup this way. Please help on this. Thank in advance.

  2. #2
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    623
    That's very strange. You mean if you log in at the console, you can go to another machine and ssh into the server, but once you log out at the console, you can't get in from the other machine any more? The console session should really have no bearing on that.

    Or do you mean that from the console session you can ssh into the machine, but not from anywhere else? If that's the case, do
    service iptables stop
    and try. If you get in, your problem is the firewall setup. Run
    system-config-firewall and check whether ssh is checked as a trusted service. And don't forget to restart iptables.

    Otherwise, post your /etc/ssh/sshd_config and we can perhaps help. If there are any Internet-routable IP addresses in it, it's fine to change them to something like 192.168.0.100 for posting purposes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...