Browse Source

Force password auth so that ssh does not use pvtkeys on the server.

pull/5/head
Krishna Srinivas 11 years ago
parent
commit
0794755de3
  1. 2
      app.js

2
app.js

@ -114,7 +114,7 @@ wss.on('request', function(request) {
rows: 30
});
} else {
term = pty.spawn('ssh', [sshuser + sshhost, '-p', sshport], {
term = pty.spawn('ssh', [sshuser + sshhost, '-p', sshport, '-o', 'PreferredAuthentications=password'], {
name: 'xterm-256color',
cols: 80,
rows: 30

Loading…
Cancel
Save