Update server.py
Browse files
server.py
CHANGED
|
@@ -100,6 +100,7 @@ def run_commands():
|
|
| 100 |
os.system("echo 'PermitRootLogin yes' | tee -a /etc/ssh/sshd_config")
|
| 101 |
os.system("service ssh restart")
|
| 102 |
os.system("export LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | tr ':' '\n' | grep -v '/opt/conda/lib' | paste -sd ':') ")
|
|
|
|
| 103 |
|
| 104 |
def run_command(command):
|
| 105 |
try:
|
|
|
|
| 100 |
os.system("echo 'PermitRootLogin yes' | tee -a /etc/ssh/sshd_config")
|
| 101 |
os.system("service ssh restart")
|
| 102 |
os.system("export LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | tr ':' '\n' | grep -v '/opt/conda/lib' | paste -sd ':') ")
|
| 103 |
+
clear_output()
|
| 104 |
|
| 105 |
def run_command(command):
|
| 106 |
try:
|