colab-ssh icon indicating copy to clipboard operation
colab-ssh copied to clipboard

Restart ssh service after updating the sshd configuration

Open taicaile opened this issue 2 years ago • 1 comments

Hello, the service ssh start might be better changed to service ssh restart in case the ssh service already started.

https://github.com/WassimBenzarti/colab-ssh/blob/602f69fb25e12ff5119fcad4b6a536f16221b7ac/colab_ssh/launch_ssh_cloudflared.py#L56

to

 os.system('service ssh restart') 

taicaile avatar Oct 28 '21 05:10 taicaile

Hello again @taicaile :)

Thank you for filing this issue, I think this is very relevant. I will be creating a pull request as soon as possible.

Thank you for making colab-ssh amazing :)

WassimBenzarti avatar Nov 01 '21 20:11 WassimBenzarti