Skip to content

Commit

Permalink
[frontend/tasks] add ssh client option to use password authentication…
Browse files Browse the repository at this point in the history
… by default (#863)
  • Loading branch information
FlyearthR committed Sep 22, 2022
1 parent d495824 commit e7ffd0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inginious/frontend/static/js/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ function displayRemoteDebug(submissionid, submission_wait_data)
var ssh_user = submission_wait_data["ssh_user"];
var ssh_password = submission_wait_data["ssh_password"];

var pre_content = "ssh " + ssh_user + "@" + ssh_host + " -p " + ssh_port+ " -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no";
var pre_content = "ssh " + ssh_user + "@" + ssh_host + " -p " + ssh_port+ " -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PreferredAuthentications=password";
var task_alert = $('#task_alert');
var title = '<i class="fa fa-spinner fa-pulse fa-fw" aria-hidden="true"></i> ';
var content = submission_wait_data["text"];
Expand Down

0 comments on commit e7ffd0d

Please sign in to comment.