24 Nov
2005
24 Nov
'05
15:12
Hi Miguel,
How can one force closing an open ssh session ? I want to disconnect a user right after executing a script no waiting for a timeout. Is that possible ?
--> have a look at "man sshd" and look for the "command" setting in "~/.ssh/authorized_keys". It allows to restrict a specific RSA/DSA key to only perform a certain command. HTH, Armin -- Am Hasenberg 26 office: Institut für Atmosphärenphysik D-18209 Bad Doberan Schloss-Straße 6 Tel. ++49-(0)38203/42137 D-18225 Kühlungsborn / GERMANY Email: schoech@iap-kborn.de Tel. +49-(0)38293-68-102 WWW: http://armins.cjb.net/ Fax. +49-(0)38293-68-50