⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 man-pg.but

📁 大名鼎鼎的远程登录软件putty的Symbian版源码
💻 BUT
字号:
\cfg{man-identity}{puttygen}{1}{2004-03-24}{PuTTY tool suite}{PuTTY tool suite}\H{puttygen-manpage} Man page for PuTTYgen\S{puttygen-manpage-name} NAME\cw{puttygen} - public-key generator for the PuTTY tools\S{puttygen-manpage-synopsis} SYNOPSIS\c puttygen ( keyfile | -t keytype [ -b bits ] )\e bbbbbbbb   iiiiiii   bb iiiiiii   bb iiii\c          [ -C new-comment ] [ -P ]\e            bb iiiiiiiiiii     bb\c          [ -O output-type | -l | -L | -p ]\e            bb iiiiiiiiiii   bb   bb   bb\c          [ -o output-file ]\e            bb iiiiiiiiiii\S{puttygen-manpage-description} DESCRIPTION\c{puttygen} is a tool to generate and manipulate SSH public andprivate key pairs. It is part of the PuTTY suite, although it canalso interoperate with the private key formats used by some otherSSH clients.When you run \c{puttygen}, it does three things. Firstly, it eitherloads an existing key file (if you specified \e{keyfile}), orgenerates a new key (if you specified \e{keytype}). Then, itoptionally makes modifications to the key (changing the commentand/or the passphrase); finally, it outputs the key, or someinformation about the key, to a file.All three of these phases are controlled by the options described inthe following section.\S{puttygen-manpage-options} OPTIONSIn the first phase, \c{puttygen} either loads or generates a key.The options to control this are:\dt \e{keyfile}\dd Specify a private key file to be loaded. This private key file canbe in the (de facto standard) SSH1 key format, or in PuTTY's SSH2key format, or in either of the SSH2 private key formats used byOpenSSH and ssh.com's implementation.\dt \cw{\-t} \e{keytype}\dd Specify a type of key to generate. The acceptable values here are\c{rsa} and \c{dsa} (to generate SSH2 keys), and \c{rsa1} (togenerate SSH1 keys).\dt \cw{\-b} \e{bits}\dd Specify the size of the key to generate, in bits. Default is 1024.In the second phase, \c{puttygen} optionally alters properties ofthe key it has loaded or generated. The options to control this are:\dt \cw{\-C} \e{new\-comment}\dd Specify a comment string to describe the key. This comment stringwill be used by PuTTY to identify the key to you (when asking you toenter the passphrase, for example, so that you know which passphraseto type).\dt \cw{\-P}\dd Indicate that you want to change the key's passphrase. This isautomatic when you are generating a new key, but not when you aremodifying an existing key.In the third phase, \c{puttygen} saves the key or informationabout it. The options to control this are:\dt \cw{\-O} \e{output\-type}\dd Specify the type of output you want \c{puttygen} to produce.Acceptable options are:\lcont{\dt \cw{private}\dd Save the private key in a format usable by PuTTY. This will eitherbe the standard SSH1 key format, or PuTTY's own SSH2 key format.\dt \cw{public}\dd Save the public key only. For SSH1 keys, the standard public keyformat will be used (\q{\cw{1024 37 5698745}...}). For SSH2 keys, thepublic key will be output in the format specified in the IETFdrafts, which is a multi-line text file beginning with the line\q{\cw{---- BEGIN SSH2 PUBLIC KEY ----}}.\dt \cw{public-openssh}\dd Save the public key only, in a format usable by OpenSSH. For SSH1keys, this output format behaves identically to \c{public}. ForSSH2 keys, the public key will be output in the OpenSSH format,which is a single line (\q{\cw{ssh-rsa AAAAB3NzaC1yc2}...}).\dt \cw{fingerprint}\dd Print the fingerprint of the public key. All fingerprintingalgorithms are believed compatible with OpenSSH.\dt \cw{private-openssh}\dd Save an SSH2 private key in OpenSSH's format. This option is notpermitted for SSH1 keys.\dt \cw{private-sshcom}\dd Save an SSH2 private key in ssh.com's format. This option is notpermitted for SSH1 keys.If no output type is specified, the default is \c{private}.}\dt \cw{\-o} \e{output\-file}\dd Specify the file where \c{puttygen} should write its output. Ifthis option is not specified, \c{puttygen} will assume you want tooverwrite the original file if the input and output file types arethe same (changing a comment or passphrase), and will assume youwant to output to stdout if you are asking for a public key orfingerprint. Otherwise, the \c{\-o} option is required.\dt \cw{\-l}\dd Synonym for \q{\cw{-O fingerprint}}.\dt \cw{\-L}\dd Synonym for \q{\cw{-O public-openssh}}.\dt \cw{\-p}\dd Synonym for \q{\cw{-O public}}.\S{puttygen-manpage-examples} EXAMPLESTo generate an SSH2 RSA key pair and save it in PuTTY's own format(you will be prompted for the passphrase):\c puttygen -t rsa -C "my home key" -o mykey.ppkTo generate a larger (2048-bit) key:\c puttygen -t rsa -b 2048 -C "my home key" -o mykey.ppkTo change the passphrase on a key (you will be prompted for the oldand new passphrases):\c puttygen -P mykey.ppkTo change the comment on a key:\c puttygen -C "new comment" mykey.ppkTo convert a key into OpenSSH's private key format:\c puttygen mykey.ppk -O private-openssh -o my-openssh-keyTo convert a key \e{from} another format (\c{puttygen} willautomatically detect the input key type):\c puttygen my-ssh.com-key -o mykey.ppkTo display the fingerprint of a key (some key types require apassphrase to extract even this much information):\c puttygen -l mykey.ppkTo add the OpenSSH-format public half of a key to your authorisedkeys file:\c puttygen -L mykey.ppk >> $HOME/.ssh/authorized_keys\S{puttygen-manpage-bugs} BUGSThere's currently no way to supply passphrases in batch mode, oreven just to specify that you don't want a passphrase at all.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -