Skip to content

Commit

Permalink
disable host file check
Browse files Browse the repository at this point in the history
  • Loading branch information
frostyfan109 committed Jul 31, 2024
1 parent da9e504 commit c6cd9ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eduhelx_jupyterlab_student/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@ async def create_ssh_config_if_not_exists(context: AppContext, course, student)
f" Port { ssh_port }\n" \
f" IdentityFile { ssh_identity_file }\n" \
f" HostName { ssh_private_hostname }\n" \
f" StrictHostKeyChecking no\n"
f" StrictHostKeyChecking no\n" \
f" UserKnownHostsFile /dev/null\n"
)
with open(ssh_public_key_file, "r") as f:
public_key = f.read()
Expand Down

0 comments on commit c6cd9ba

Please sign in to comment.