← Back to team overview

sslug-teknik team mailing list archive

sshd_config

 

Et Slackware spørgsmål igen
Jeg har opsat regler for ssh i filen /etc/ssh/sshd_config
Men ikke rigtigt klar over hvordan jeg får ssh til at læse den nye konfigaration, jeg har prøvet følgende

root@drone:~# kill ´cat /var/run/sshd.pid´
-su: kill: ´cat: no such pid
-su: kill: /var/run/sshd.pid´: no such pid

og
root@drone:~# /etc/rc.d/rc.sshd restart
WARNING: killing listener process only. To kill every sshd process, you must use 'rc.sshd stop'. 'rc.sshd restart' kills only the parent sshd to allow an admin logged in through sshd to use 'rc.sshd restart' without
        being cut off.  If sshd has been upgraded, new connections will now
        use the new version, which should be a safe enough approach.

Ud af det forstår jeg ingenting, om den nye konfigration er indlæst og trådt i kraft.

--
Carl Andersen            |
http://www.libranet.dk/  | Linux
http://www.ligustica.dk/ | Bee-keeping








Follow ups