remocolab icon indicating copy to clipboard operation
remocolab copied to clipboard

Permit ssh user environment

Open vochicong opened this issue 5 years ago • 2 comments

vochicong avatar Mar 26 '20 04:03 vochicong

It seems there is a security risk to set PermitUserEnvironment to yes. https://man.openbsd.org/sshd_config#PermitUserEnvironment https://bugzilla.mindrot.org/show_bug.cgi?id=2317

If you want to change /etc/ssh/sshd_config, you can change it after calling remocolab.setupSSHD() or remocolab.setupVNC() and call !service ssh restart or !service ssh reload to restart sshd or reload sshd_config.

demotomohiro avatar Mar 27 '20 22:03 demotomohiro

That's exactly what I'm doing. Anyway, without setting proper env vars, I was not able to use the GPU.

vochicong avatar Mar 27 '20 23:03 vochicong