How do I configure SSH to run as a service on startup ?
Help
How do I configure SSH to run as a service on startup ?
Help
Hi
Normally it’s started by default?
sudo /sbin/chkconfig sshd on
Or if you need a GUI via YaST->System->System Services (runlevel)
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-pae
up 0:21, 1 user, load average: 0.05, 0.11, 0.28
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Agreed, and you can verify this a couple ways:
/sbin/chkconfig -l sshd
#(should return a line with ‘2, 3, 4, and 5’ highlighted as I recall
pgrep sshd
#should give you a process ID
netstat -anp | grep 'LISTEN ’ | grep 22
#should show you SSH listening on port 22
Good luck.
Malcolm wrote:
>
> Hi
> Normally it’s started by default?
>
> sudo /sbin/chkconfig sshd on
>
> Or if you need a GUI via YaST->System->System Services (runlevel)
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJZsio3s42bA80+9kRAmyyAJ9XngYvpepu7Ex5UeOl82Vdn57Y+gCfclpO
nnt0jpCFyKHm7F86XBo2C7M=
=QFWM
-----END PGP SIGNATURE-----
Also You could of course ssh to the localhost to check if the daemon has started.
Make sure to enable port 22 in the firewall.
netstat -an | grep ‘LISTEN’ | grep 22
should suffice to check if the system is listening. -p will give you the process ID, which is not of use in this instance.
ta