3 <style type="text/css">
8 .cbi-dynlist .item > small {
15 .cbi-dynlist .item > small > code {
18 unicode-bidi: bidi-override;
23 <h2><%:SSH-Keys%></h2>
25 <div class="cbi-section-descr">
26 <%_Public keys allow for the passwordless SSH logins with a higher security compared to the use of plain passwords. In order to upload a new key to the device, paste an OpenSSH compatible public key line or drag a <code>.pub</code> file into the input field.%>
29 <div class="cbi-section-node">
30 <div class="cbi-dynlist" name="sshkeys">
31 <p class="spinning"><%:Loading SSH keys…%></p>
32 <div class="add-item" ondragover="dragKey(event)" ondrop="dropKey(event)">
33 <input class="cbi-input-text" type="text" placeholder="<%:Paste or drag SSH key file…%>" onkeydown="if (event.keyCode === 13) addKey(event)" />
34 <button class="cbi-button" onclick="addKey(event)"><%:Add key%></button>
40 <script type="application/javascript" src="<%=resource%>/view/system/sshkeys.js"></script>