diff --git a/plugins/webssh/js/webssh.js b/plugins/webssh/js/webssh.js index c130b383d4..0079d8f117 100755 --- a/plugins/webssh/js/webssh.js +++ b/plugins/webssh/js/webssh.js @@ -482,6 +482,7 @@ function webShell_addServer(info=[]){ // $('input[name="pkey_passwd"]').val(jdata['pkey_passwd']); } $('input[name="ps"]').val(jdata['ps']); + $('input[name="port"]').val(jdata['port']); $('.auth_type_checkbox').each(function(){ if ($(this).data('ctype') == jdata['type']){ $(this).addClass('btn-success');