Differences

This shows you the differences between two versions of the page.

Link to this comparison view

internal:ssh [2017/01/14 21:52]
solar [How to access intranet servers]
internal:ssh [2023/08/03 20:56] (current)
solar added "Status of this wiki page"
Line 1: Line 1:
 ====== SSH (Secure Shell) usage policies, as well as tips & tricks ====== ====== SSH (Secure Shell) usage policies, as well as tips & tricks ======
 +
 +===== Status of this wiki page =====
 +
 +This wiki page used to describe Openwall sysadmin team's conventions from circa 2010 and is mostly not being updated since then. Then content is still relevant, but is missing proper references to recent OpenSSH versions'​ additions such as Ed25519 and bcrypt_pbkdf.
  
 ===== How to generate key pairs for use with public key authentication ===== ===== How to generate key pairs for use with public key authentication =====
  
-The current "​Openwall standard"​ is to use SSH-2 2048-bit RSA keys.  These may be generated with ssh-keygen(1) from OpenSSH as follows:+The current "​Openwall standard"​ is to use SSH-2 4096-bit RSA keys.  These may be generated with ssh-keygen(1) from OpenSSH as follows:
  
-  ssh-keygen -t rsa -b 2048 -C TARGET-NICK -f ~/​.ssh/​identity.TARGET+  ssh-keygen -t rsa -b 4096 -C TARGET-NICK -f ~/​.ssh/​identity.TARGET
  
 where ''​TARGET''​ is a short name (identifier) for the "​target"​ company/​network/​project that this key is intended for, and ''​NICK''​ is your "​nickname"​ (e.g., your typical login name). ​ Setting the comment in this way is both informative for us and not too revealing for someone malicious (specifically,​ it does not reveal what host you have generated and maybe still keep the corresponding private key on). where ''​TARGET''​ is a short name (identifier) for the "​target"​ company/​network/​project that this key is intended for, and ''​NICK''​ is your "​nickname"​ (e.g., your typical login name). ​ Setting the comment in this way is both informative for us and not too revealing for someone malicious (specifically,​ it does not reveal what host you have generated and maybe still keep the corresponding private key on).
Line 14: Line 18:
  
 This will create a "​detached signature"​ - a separate file with just the signature. This will create a "​detached signature"​ - a separate file with just the signature.
- 
-SSH protocol 1 (and thus SSH-1 keys) is also acceptable - especially for low bandwidth links (GPRS, dialup, etc.) or when paying for the data transferred. ​ SSH protocol 1 has significantly lower traffic overhead. ​ You will also want to enable data compression (with either protocol). 
  
 Our preference is to use separate key pairs, each with its distinct passphrase on the private key, for different "​targets"​. ​ For example, if you already use an SSH keypair and you start to work at Openwall, we ask you to generate a new keypair for use at Openwall only. Our preference is to use separate key pairs, each with its distinct passphrase on the private key, for different "​targets"​. ​ For example, if you already use an SSH keypair and you start to work at Openwall, we ask you to generate a new keypair for use at Openwall only.
internal/ssh.1484427122.txt ยท Last modified: 2017/01/14 21:52 by solar
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate to DokuWiki Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Powered by OpenVZ Powered by Openwall GNU/*/Linux