2007-11-05

Start ssh server in EeePC

After installing ssh server, I create a file /etc/opt/xandros/xandrosncs/hooks/post-up.d/99ssh,
below is the content:

#!/bin/sh
/etc/init.d/ssh restart

So it will start the ssh server after booting up.
Dotn't forget sudo chmod +x /etc/opt/xandros/xandrosncs/hooks/post-up.d/99ssh.

1 則留言:

Douglas Kastle 提到...

I found this useful, except you also have to make sure that the file is executable.

chmod 775 /etc/opt/xandros/xandrosncs/hooks/post-up.d/99ssh

It worked for me after that.