Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I've recently reinstalled CentOS onto a computer of mine. I have OpenSSH Server on it now, as did I before I reinstalled the operating system.

Here's the difference: Before, SSH started without even having to login to an account. Now, it seems like I have to login to an account on the machine before being able to remotely connect via SSH.

Can anyone help? I tried using chkconfig, but that didn't appear to do anything differently.

share|improve this question
Does your computer connect via wireless? Perhaps managed by gnome-network-manager ? –  Shutupsquare Aug 1 '12 at 11:14
@shutupsquare - yes, actually that's the only difference. This install it's wireless, before it was a wired internet connection. I am still connecting from another computer on the network though. What do you suggest I do? –  DannyF247 Aug 1 '12 at 11:15
answered below pal. –  Shutupsquare Aug 1 '12 at 11:18
@DannyF247 if you go to network manager on your desktop session and edit the wireless connection, is the checkbox "available for all users" checked? It might be needed for your purpose. –  tripledes Aug 1 '12 at 11:19

1 Answer 1

up vote 4 down vote accepted

Your wirless will be managed by Gnome Network manager, this will only start at login, You would be much better using wpa_supplicant to start your wireless at init. There is a nice tutorial here

share|improve this answer
Firstly, thanks. I did that all successfully, except Edit /etc/sysconfig/network-scripts/ifcfg-*. There were no existing files in /network-scripts/ that ended with eth0, eth1, or wlan0 (I need wlan0 in my case). Any help? –  DannyF247 Aug 1 '12 at 11:33
If there is none just create it for your interface. –  Shutupsquare Aug 1 '12 at 11:38
Alright, done. Still not connecting - when I ping it returns destination host unreachable. Is there any way I can "debug" this and see if its giving any error at startup? –  DannyF247 Aug 1 '12 at 11:48
What runlevel do you start in, do you boot straight to GUI login? –  Shutupsquare Aug 1 '12 at 11:54
Anyways you need to paste me the output of dmesg tail the last 100 lines –  Shutupsquare Aug 1 '12 at 11:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.