?_Ha ’’’’we /&;)L4’’Ä’’’Y ŻŠłN6>ŽŠłNZ>ߊłN;>ąŠłNŚ >įŠłN²‚>āŠłNB…>抳N=ˆ>䊳Nü‡=‹łN?‹łN6?‹łN¢? ‹łNĖ„? ‹łNģ‡? ‹łNŠ? ‹łN@ ‹łNH@‹łN\@‹łNŠ>1‹łN/Œ@2‹łN\A3‹łNõA4‹łNՀA5‹łN„A6‹łNPB7‹łNzB8‹łNB9‹łN€B:‹łN|‡@\‹łNʂB]‹łN>ƒB^‹łN¦†B_‹łNC`‹łNø Ca‹łN6‚Cb‹łN3Dc‹łN.‚Dd‹łNkˆDe‹łNcB‡‹łNĘEˆ‹łN€E‰‹łN;„EŠ‹łNm†E‹‹łNĻ†EŒ‹łNF‹łNˆFŽ‹łN€F‹łN¶„F‹łNgE²‹łN!G³‹łNQG“‹łNĮ Gµ‹łNM†G¶‹łNH·‹łNÖHø‹łN“H¹‹łN¬Hŗ‹łN8…H»‹łN”‰FŻ‹łNAIŽ‹łN9IߋłNx‚Ią‹łN>‡Iį‹łN‡ˆIā‹łNJ拳Nņ J䋳N˜€Jå‹łN]„JꋳNIŒłNQ‡J3ŒłN<Š:4ŒłNŽ;5ŒłN|;6ŒłNv;7ŒłN€;8ŒłN„;9ŒłNm…;:ŒłNч;;ŒłNb<<ŒłNM…:xÄłN˜yÄłN†zÄłN5‰{ÄłNß|ÄłN"}ÄłNs‚~ÄłN…ÄłN|ˆ€ÄłNW‰ÄłN÷ŠÅ’’£ÄłN„¤ÄłNÆ„ÄłNf ¦ÄłN“…§ÄłN€ØÄłN¹…©ÄłN ŒŖÄłN3«ÄłN2¬ÄłNiĪÄłNz‡ĻÄłNŒŠÄłNÅŃÄłN ŅÄłN³ÓÄłNJ€ŌÄłNo‚ÕÄłN[„ÖÄłN †×ÄłN„łÄłNŠśÄłNmūÄłN+üÄłN~żÄłNµ‚žÄłN<„’ÄłN¾…ÅłN—‡ÅłN ÅłNqˆ$ÅłN %ÅłNs &ÅłN€ 'ÅłNU… (ÅłN. )ÅłNē† *ÅłNĀ +ÅłNŽ,ÅłNֆ-ÅłN  OÅłN{ƒPÅłNQÅłNĢ‡RÅłNŽŠSÅłN&‰TÅłNu†UÅłNVÅłN„WÅłNɆXÅłNzÅłN{ÅłNĒ„|ÅłNH}ÅłN€ ~ÅłNy‚"ÅłNn#€ÅłNŖ#ÅłN2ƒ#‚ÅłNՆ#ƒÅłN…„ÅłN·„$¦ÅłN­…$§ÅłN…†$ØÅłN ‰$©ÅłN(%ŖÅłN %«ÅłN3%¬ÅłN%­ÅłN9 %®ÅłN $ŠÅłN^ƒ%ŃÅłNN‰%ŅÅłNUŠ%ÓÅłN&&ŌÅłNæ&ÕÅłN5ƒ&ÖÅłN‡&×ÅłNx'ŲÅłNŗ'ŁÅłNp%ūÅłNšüÅłN?…żÅłN؊žÅłNa’ÅłNŒĘłN€†ĘłNŠŠĘłN ŒĘłNŸĘłN¼ī4ÕTŁ, ŪT€³—U& “åU¦/ļÜ7Y€„!Č6ēY ļ“•Z „ŁZįŒ¤Ü\C&įŻ\ķČl.`č ¢ ²`N… dī:aĻ…䀅a/›¤cŸ†„QÜci€.80«fn0€ Ūi2ŒS6Zj†źųĀkˆ eHm‹/[ÄmŃ"$ä³q¢€3*ĶˆsŅ… „ąĢsä‡W¦|tz"!õuu0€ E@Įv®ƒ/z?ÖwX†°x²z«‚l{Ž}N ՂŽ} »†K€*€6Ձ.•­¤ƒ*ƒ į²³ƒ' ā³„(~¦„f 0tW…™ģe|…So~…Tƒ2y2\†V&lĻ†Ä.śµŪ†u€/1E½Š¤.Ø;‹tF{X ŽĄŽR‡2sÅv• ÄŪ¶Ū Źh–Z…g v–=‡č8–ķŲ²–fŠ“—Ā<ū—Š0,hš  !įŸ¾€nŠ«”™ ŗw¢!»‰Ł¢©Š ŲĘs¦’ -„™¦»† E+§ŗ#dŽåØi “8&°€5ij—.wŃJ¶œŠoÅsŗĖ£óĀ¼R„G6½=‚oææ$„WŻŒĮ„†““9ĆR Ź6ŹÄģ×TĒ£y÷OÉj‡ŅģŲĖ+#\ąĖ{„"ŚfłĢ7L%„Ķś€-ܶųĶ¬]śĶŹuƐĪ€/PYĻ™ƒŲdbĻYēŃ ÷ł0Ōj€Ųk—Õ‡„@ĻŲĄƒ¾ž^Ł…k ZÜä>ŠcÜB‚óWāÜ.Ąą¼¶ÖćVSꚧžčĮ†![”4ė‰¾æķ± «ßŽļ ‚ @ĖŽļ•Ü.ólˆ 8ū«óī"„õ3'wśū€Żéąż1 ō£ÄłN źį hArialCourier NewTimes New Roman/`&`;)F24 ’’ gK’’-1 command-line option-2 command-line option-4-6 -A command-line option-C command-line option-D command-line option-L command-line option-N command-line option -P command-line option$-R command-line option(-T command-line option,-X command-line option0-a command-line option 4-agent8-b PSFTP command-line option<-batch PSCP command-line option@-batch PSFTP command-line optionD-batch Plink command-line optionH-bc PSFTP command-line optionL-be PSFTP command-line optionP-c Pageant command-line optionT-cleanup command-line optionX-hostkey\-i command-line option`-l command-line option d-load command-line optionh-loghostl-ls PSCP command-line optionp-m command-line optiont-ncx-noagent|-p PSCP command-line option€-pgpfp command-line option„-pw command-line optionŒ-q PSCP command-line option-r PSCP command-line option”-raw command-line option˜-rlogin command-line option -s Plink command-line optionØ-scp PSCP command-line option¬-sercfg command-line option°-serial command-line option“-sessionlog¼-sftp PSCP command-line optionĄ-ssh command-line optionÄ-sshlogĢ-sshrawlogŠ-t command-line option Ō-telnet command-line optionŲ-unsafe PSCP command-line optioną-v command-line optionä-x command-line option č.rhosts fileģ.ssh directoryš.ssh2 directoryō256-colour modeų64-bit Windowsü8-bit colour@sessionname command-line argumentAESALT-F4 ALT-SpaceANSI coloursANSI graphicsANSI printing$ASCII(AUTOEXEC.BAT0Abort Output, Telnet special command8Abort Process, Telnet special command<Advanced Encryption Standard@Application Cursor KeysDApplication KeypadLApplication keyTArabicX&XArabic text shaping\Arcfour`Are You There, Telnet special commandhBSDlBitchXpBlowfishtBreak, SSH special commandxBreak, Telnet special command|Break, serial special command€CHAP„CJKˆCJK ambiguous charactersŒCOM1CONNECT proxy (HTTP)”CP437˜CP866œCR (Carriage Return) CRCØCVS¬CVS_RSH environment variable°Caps Lock“Carriage ReturnøChineseĄCiscoÄClose buttonČCommand PromptŠCompose keyąControl-?äControl-HčCopy All to ClipboardģCryptoCard authenticationšCtrl, with right mouse buttonōCtrl-BreakųCtrl-PgDnüCtrl-PgUpCyrillicDEC Compose keyDEC Origin Mode DECtermDESDISPLAY environment variableDNS DNS name$DNS resolution8DNS, with proxy<DSADDSA authenticationPDefault Beep sound, WindowslDefault SettingspDiceWarexDiffie-Hellman group exchange|Diffie-Hellman key exchange€Digital Signature Standard„Domain Name SystemDragon NaturallySpeaking”ERASE, special character˜ERRORLEVELœEast Asian Ambiguous characters End Of File, Telnet special command¤End Of Record, Telnet special commandØEnd key¬Erase Character, Telnet special command°Erase Line, Telnet special commandøEvent Log¼FAQÄFrequently Asked QuestionsČGPG signatures, of PuTTY binariesĢGSSAPIŠGSSAPI credential delegationŲGo Ahead, Telnet special commandÜGtkąHMACäHTTPčHTTP proxyģHTTP ‘basic’ authenticationšHebrewōHome keyųIGNORE message, SSH special commandüIP addressIP address, loopback IP masqueradingIPv4IPv6(IPv6 address4ISO-10646 (Unicode)8ISO-8859HInternet Protocol versionLInternet protocols, debuggingX [Interrupt Process, Telnet special command\JapanesedKerberoshKoreanlLF (Line Feed)pLine FeedxLinux€Linux version of PuTTY tools Linux virtual consoleØLinux, Red Hat¬Log, Event°MAC (message authentication code)øMIT-MAGIC-COOKIE-1ÄMS-DOS PromptČMUDsŲMac OSäMidnight CommanderčNAT routersģNEW_ENVIRONōNNTPųNagle's algorithmüNaturallySpeakingNetHack keypad modeNetwork Address TranslationNo Operation, Telnet special commandNo-op, in SSHNum LockOLD_ENVIRON OpenSSH$OpenSSH private key file format\PATH environment variable`PC speakerlPGP key fingerprintpPGP signatures, of PuTTY binariestPLINK_PROTOCOL environment variablexPOP-3|POSIX€PPK fileˆPSCPœPSFTP Pageant¤PlinkĄPuTTY Event LogÄPuTTY terminal windowĢPuTTYgenčPuTTYtelģQUIT, special characteršRC4ōRFCüRGB valuesRSARSA authenticationRSA key exchange0RTF4Red Hat Linux8Registry (Windows)<Repeat key exchange, SSH special commandLRich Text FormatPRijndaelTRloginXRlogin, differences from SSH and TelnetdRussianhS/KeylSCOtSCP protocolxSFTP€SMBŒSMTPSOCKS port forwarding”SOCKS proxy SO_KEEPALIVE¤SSHØSSH X11 forwardingøSSH agent forwardingÄSSH file transfer protocolŠSSH host key fingerprintÜSSH key exchange, forcing repeatąSSH packet logäSSH port forwardingģSSH port forwarding, changing mid-sessionSSH protocol versionSSH public key fingerprint SSH server bugsSSH special commandsSSH subsystemSSH tunnelling SSH tunnelling, changing mid-session4SSH ‘ignore’ messages8SSH, differences from Telnet and RloginDSSH-1HSSH-2TUSSH-2 public key file formathSYSTEM32 directory, on WindowslSerialpShift-BackspacetShift-InsxShift-PgDn|Shift-PgUp€Signal, SSH special command„Start MenuˆSun SSHŒSuspend Process, Telnet special commandSynch, Telnet special command˜TCP connections, rawœTCP keepalives¤TCP proxyØTCP_NODELAY“TERM environment variableøTIS authentication¼TelnetĄTelnet New LineĢTelnet URLsŠTelnet option negotiationŌTelnet proxyŲTelnet special commandsäTelnet, differences from SSH and RloginģUDPšURLs, TelnetōUS-ASCIIųUTF-8Unicode UnixUnix version of PuTTY tools8VERASE, special character@VQUIT, special characterDVT100+HVT400LWAV filePWS2_32.DLLTWin125xXWin32\Win32s`WinCVSdWinSock version 2hWindows 3.1lWindows 95pWindows Default Beep soundtWindows RegistryxWindows Terminal ServicesˆWindows XPŒWindows clipboard”Windows command˜Windows file sharingœWindows shortcut Windows, 64-bit°X server“X11 authenticationøX11 forwarding¼XDM-AUTHORIZATION-1Čaccented charactersĢaccess to files, changingŌaccessibilityŲaccount nameÜaccount name, for auto-loginčaccount name, for proxyģaccount name, local, in Rloginšaccount name, local, in Windowsōaccount names, differentųactive Telnet negotiationad-hoc proxyaddress, IPadjusting a selectionagent forwarding$agent, authentication0algorithm, encryption8algorithm, key exchange<algorithm, public-key@allocation, of pseudo-terminalDalternate screenLalways on topXanswerback string\arguments, command-line`assertion failedhasymmetric key algorithmlauthenticationpauthentication agenttQauthentication agent forwarding|authentication, X11ˆauthentication, challenge/responseŒauthentication, keyboard-interactive”authentication, public key˜authentication, to proxy“authorized_keys fileøauto wrap modeĄautomated operationsČbackground colourĢbackground colour, brightŌbackground colour, defaultŲbackspace keyąbackspace, destructiveäbandwidthčbannerōbatch filesųbatch scripts in PSFTP baud rate, of terminal beep, terminal beep, with PC speaker bell overload mode bell, disabling bell, terminal bell, visual$ bidirectional text( bind address, black, bold8 blinking cursor< blinking text@ bold blackD bold textH box-drawing charactersT bright black\ bug reporting` bugs, in SSH serversd bulletin board systemh catl challenge/response authenticationp changing permissions on filesx changing user names| character classes„ character setˆ character width” characters, accented˜ characters, line-drawing  choosing a protocolØ cipher algorithm° clean up after PuTTY“ clear screenø client¼ clipboardĄ closing windowĢ code pageŲ colourÜ colour, 8-bitč colour, background, defaultģ colour, foreground, defaultō colour, of cursorü colours, ANSI colours, system columns, in terminal window command line, loading saved sessions from command, proxy command-line arguments command-line interface( commands on the server, commands, reading from a file@ commentD compressionH confidentialityP configurationT configuration optionsX connection, network\ connections, half-openh connections, idlel connections, interactivet connectivity, breaks in€ console windowˆ context menu˜ control sequences¤ Pcookie, magicą coordinates, cursorä copy and pasteč copyright corruption, of display creating directories creating key pairs credential delegation, GSSAPI current working directory cursor cursor colour$ cursor coordinates, cursor keys, ‘Application’ mode0 cursor, blinking8 cut and paste< debugging Internet protocolsT delays, in SSH-2 sessionsX delegation, of GSSAPI credentials\ deleting directories` deleting filesd destructive backspaceh development snapshotsl dialog boxp differences between SSH, Telnet and Rlogint different user namesx digital signature€ directories, creatingˆ directories, removingŒ display corruption double-click˜ double-width character  downloading files¤ dynamic port forwarding¬ echo, localø echo, remoteÄ emulation, terminalČ encryptioną encryption algorithmģ enquiry characterš environment variablesō erase screenü error messages escape sequences  execute permission8 exit value< expiry, of passwords@ exporting private keysD extending a selectionH features, supportedP feedbackT feepX filenames containing spaces\ files, changing permissions ond files, deletingh files, listingl files, receivingt files, renaming and moving| files, resuming transfer of€ files, sending„ files, transferringŒ finger” fingerprint, of PGP key˜ fingerprint, of SSH authentication keyœ fingerprint, of SSH host key¤ firewallsØ flashing cursor¼ flashing textĄ flow-control windowÄ fontČ font sizeŲ foreground colour, defaultą forwarding ports in SSHč forwarding ports in SSH, changing mid-sessionü forwarding, SSH agent forwarding, of X11 ftp full-screen mode function keys( generating key pairs0 glob (wildcard)4 Ographical applicationsH group exchange, Diffie-HellmanP half-open connectionsT historyX home directory\ host key fingerprint (SSH)` host key, caching policyd host key, verifyingl host keys, manually configuringt host keys, trusting| host name€ host name resolution” host name resolution, with proxy˜ host name, logical  icon titleØ idle connections¬ importing private keys“ inactive windowø integrity¼ interactive connectionsĄ intermittent connectivityĢ internal errorŌ internal faultŲ keepalives, TCPÜ keepalives, applicationą kexš key exchangeō key exchange algorithmų key exchange, Diffie-Hellmanü key exchange, forcing repeatkey exchange, repeatkey pairkey pairs, generatingkeyboardkeyboard-interactive authentication,keypad, NetHack mode0keypad, numeric4keypad, ‘Application’ mode8known_hosts@left mouse buttonDlicenceLline editing, localPline wrapping, automaticTline-drawing characters\lines, selectingdlinks (web browser)hlisten addressllisting filesxloading private keys€loading saved sessions from command line„loading settingsˆloading settings from a fileŒlocal Windows commandlocal echo”local line editing local proxy¤local user name, in Rlogin¬local user name, in Windows°local-to-remote port forwarding“localhostĄlocking up, SSH-2 sessionsŠlog fileŌlog file, flushingąlogging inälogging outčlogical host nameģlogical palettesōlogin nameųlogin name, for auto-loginlogin name, for proxylogin name, local, in Rlogin login name, local, in Windowslogin names, differentlogin scriptslogin, passwordless(loopback IP address8low-numbered port@magic cookieLmailing listP Qman pages for PuTTY toolsTmanually configuring host keysXmaximise window`maximum packet sizehmclmenu, contextpmenu, system|message authentication code (MAC)middle mouse buttonœminimise window¤mistyping a passwordØmodes of files, changing¬mouse°mouse pointer“mouse reporting¼mouse, three-buttonČmoving filesŠmulti-user systemsŌname resolutionÜname resolution, with proxyąnegotiation, of Telnet optionsčnetwork connectionģnetwork protocolsųnew lineünew line, in Telnetnew version, verifying non-destructive backspacenumeric keypadnumeric keypad, ‘Application’ modeone-time passwords$option negotiation, Telnet(options, command-line,out of memory4overriding host keys@packet log, SSHHpalettes, logicalPpassive Telnet negotiationTpassphraseXpassworddpassword camouflagelpassword expirytpassword promptxpassword, for proxy|password, mistyping€password, one-time„password, plain textˆpassword, storingŒpasswordless loginpaste, copy and patchøpermissions on files, changing¼plain text passwordĄport forwarding in SSHÄport forwarding in SSH, changing mid-sessionŲport numberÜport, privilegedģpreserve file attributesųprinting, remote-controlledüprivate keyprivate key file, OpenSSHprivate key file, PuTTYprivate key file, ssh.com(private keys, generating,privileged port0prompt<protocol@protocol selectionDprotocol version, SSHHprotocols, debuggingPprotocols, differences betweenTproxy DNSXproxy authentication`proxy commanddproxy passwordlproxy serverpproxy user namexproxy, HTTP|proxy, SOCKS€proxy, Telnet„pseudo-terminal allocationpterm˜R pty allocation public keyØpublic key authentication¬public key file, SSH-2Čpublic key fingerprint (SSH)Ģpublic keys, generatingŌpublic-key algorithmŲpunctuationÜputty @sessionnameąputty.rnd (random seed file)äquoting, in PSFTPģrandom seed filešraw TCP connectionsōraw protocolüread permissionreading commands from a filereceiving filesrectangular selectionrecursiveregistry entries, removing$remote commands(remote echo<remote network connection@remote shellDremote shell, suppressingHremote-controlled printingLremote-to-local port forwardingPremoving directories\removing files`removing registry entriesdrenaming fileshrepeat key exchangelresizing, terminal|resuming file transfersˆreturn valueŒright mouse buttonright mouse button menu˜right mouse button, with Ctrl¤right-to-left textØrouters¬routers, NAT°rows, in terminal windowørxvt¼saved sessions, loading from command lineĄsaving private keysÄsaving settingsČsaving settings in a fileĢscreen, clearingŠscriptsŌscrollbackŲscrollback, clearingąscrollbaräscrolling regionģsecret, sharedšsecure shellōsecurity hazardųsecurity token selecting a protocolselecting textselecting whole lines selecting whole words$selection, adjusting,selection, rectangular4sending files<serial lineDserial portLserverPserver nameTserver name resolutionhserver name resolution, with proxylserver, HTTPtserver, SOCKSxserver, commands on|server, proxyservice names˜session IDœsession log session, starting¤sessions, loading and storingØset-group-ID bit¬set-user-ID bit°settings, changing“U settings, defaultøsettings, loading and storingĄshaping, of Arabic textÄshared secretČshell accountĢshell, remoteŠshell, remote, suppressingŌshortcut, WindowsŲsignaturečsignatures, of PuTTY binariesšsingle sign-onōsingle-DESüsingle-width charactersize, of fontsize, of windowsound filespaces in filenamesspecial character special commands$special commands, in SSH(special commands, in Telnet,speed, terminal4spoofing8ssh-addDssh-keygenHssh.comLssh.com private key file format\stair-stepping`starting a sessiondstartup scriptshstatisticststicky bitxstoring passwords|storing settings€storing settings in a file„sttyˆsubsystem, SSHsupport requests”supported features˜swap fileœswitches, command-line symmetric-key algorithmØsystem colours¬system menu°system trayÄtalker systemsČtaskbarŠtermcapŌterminal bellÜterminal bell overload modeąterminal bell, disablingäterminal control sequences ģterminal emulation terminal modes8terminal resizing<terminal speedHterminal typeLterminal windowPterminal window, inactivelterminal, resettingpterminfotthree-button mouse|timeout, of connections„timestampŒtoken, securitytransferring files”triple-DESœtriple-click trn¤trusting host keysØtunnelling using SSH¬tunnelling using SSH, changing mid-sessionĄtypefaceÄuninstallingŌupgraded version, verifyingŲuploading filesąuser namečuser name, for auto-loginōuser name, for proxyųuser name, local, in Rloginüuser name, local, in Windowsuser names, differentvariables, environment verbose modeverifying new versions of PuTTY , ’’verifying the host key version, of Internet Protocol(version, of PuTTY4version, of SSH protocol8visual bell@vt220Dweb browserHweb serverPweb siteTwhite spaceXwildcards\window borderpwindow captiontwindow menu|window resizingwindow sizeœwindow title window, closing°window, inactive¼window, maximisingĄwindow, minimisingČwindow, terminalĢwords, selectingčworking directoryšwrapping, automaticųwrapping, terminalwrite permissionx86xterm xterm mouse reporting‘AltGr’ key$‘Alt’ key,‘Change Settings’0‘Clear Scrollback’4‘Duplicate Session’8‘New Session’@‘Raw’ protocolH‘Reset Terminal’L‘Restart Session’P‘Saved Sessions’ submenuT‘X display location’X‘basic’ authentication (HTTP)\‘ignore’ messages, in SSH`‘rhosts’ filelō Arabic text shapingInterrupt Process, Telnet special commandSSH-2 public key file formatauthentication agent forwardingcookie, magicgraphical applicationsman pages for PuTTY toolspty allocationsettings, default verifying the host key ypµ‚µ‚<„<„ †~  mJ€ Šqˆ †[„5ƒ&p%ŗ'‘ ,‡&x'Ö1Õ ¾…Å„—‡ %³+[„3%  AIo‚%9 %3z‡3z‡÷,^ƒ% 3z‡s ^ƒ%3z‡s s Š3z‡ $Œqˆj‡ɉ/ɉ/¬Z>„i ™«‚C£Æj€' ‡vˆ62ƒ#ч*""i '©Šf ©ŠŽ…‰†i 3"Žƒi """Z…ĻĻ{„"ĖĖź 0€ '4‹…,‹…,± ź 0€ Ļ³ Œ€š Œ2ƒ#ч*Ž…Ņ… Ņ… |ˆ˜"††± Ž…ł Š€8i 3f €a»† *€­…$€į€n-—.B…>¾…Ąƒŗ‰!UŠ%*ó‡+n-Ž3' †.ĄĄn-—.B…>€«‚R N‰%Ļ""©Š "l‚"ßN… ©5©5AIRŸ†fŠ"ž7/‚!€Z…‰©Š "“…»† *€“…į;†4b<<„*€™ <„*€™ p†Ėj€‡Ė<„*€™ €"l‚ĻŸ†Ļź 0€ ź 0€ Ā Ņ… . ™ µ€)5„<ž7 =ßN… /‚!'4M…:äš Œ2ƒ#ч*ša :ˆ7;†4b<€G«‚£‚;†4b<""f £‚“… p Į†!ŗ‰!‹/ɉ/9€1q3į3„Š<ü‡=B®ƒ/2ƒ#æ&ч*Ź  AIó‡+“…R ؈'¾…Ąƒ/®ƒ/ 0Ŗ#&&[„ †ģĄƒp!n-n0ŗ…*ßN… ˜5‰ ‚ {ƒ£ś€-Z…R i 3£p!Į†!n-—.¾…Ąƒŗ‰!UŠ%*ó‡+n-Ą =Œ' n#*ƒ8"i a»† Ɇ?…± Ė $^ƒ% $^ƒ%&&u…=€“… p!aŒ»† …f qˆœŠ †ģ9€1 $^ƒ%&&Œ"N… . “… =‡˜ppµ‚€i€.§†0€ "÷,“… =‡˜pp"‡ ³!?…µ‚ˆ€µ‚™ƒ˜€Tƒ2¦/Z>y‚"Ņ… ˜††"2ƒ#q3"l‚"€»† !=‰X G¬a»† „$„3X =‰X "l‚?…p3‡vˆ6ĖĻ =†Ėj€‡Ā Ņ… . µ€)5„<ž7R R Ź|;Ė$74…7Ž‡,|;4…7|;ŽŒ' n#*ƒ8u…=u…=6>˜š*u…= Œ„Ģ1 9Z>f äf qˆœŠäÆŽ…µ€)«‚€†Å·„$3Z…j‡j‡€† X =‰X “…»† *€˜ž †ģ9€1n-n0i Ąn-Š 7U( =Ļ…lˆ ŒĢ1u 3n-Ē„n-n0 †ģ9€1äĖĖ¾…Ąƒŗ‰!UŠ%*ó‡+n-Z…‹/ɉ/1 ч;ŗ…*’ m…;Ņ… & £Ņ… B‚G€¬‰n#N‰%ś‚,5ƒ&€ŽŹ• Ź• ŽŹ‰“… pķ…Ņ… ķķ& £Æj€ķ>ƒB€ š„<Ėµ€)€† ķ‚ÆŽƒĢ‡ĻÆŽ…Æj€?…z‡i ²‚>’ š˜ß|ˆ ‚ €™Ė&‰Ž;& £& £& £C£& c„=‰ ŒĢ1šŠŠ³˜9³©'~¬¾€ € “…u†p!ˆb<G ŗ…*ˆŅ<š Œ2ƒ#ч*˜5‰ž„1 ł ’ Ņ… j€¼ķ‚Cķ.§+Š€8äł ˜‡ŽŠ¼…‚9Ļ†E†‰±*ś€-fŠ€(“‚(…& £ł '©Š…˜‡ŽŠ¼…‚9€s>fŠ§*‹)B‚6‚Ca?…€† Į†!n-±*§*†‰˜ķ‚Ļ $ׄ(“… pN  jˆ5N W‰ē† lˆ Ā ֆ.€„!n-†.i lˆ ™ƒ’ 2„1 ł Ņ… j€¼ķ‚Cķ.§+µ€)N‰%Ė®ƒ/˜žī5>ƒBŽ¾‚':µ€)‹) %p) $ׄ(c*Õ) $ ˆ(Ŗ#&&“…  i€.§†0ŒˆX ¾€;†4b<…Ņ… ī"„†j€ķ=„†& £“… =‡˜pp †ģ9€1f qˆœŠ&&itX†„<ś€- $…†$^ƒ%؈'Ö)f œŠĄ!†…†$Œ—‡}ƒŒd6 2ŒŒa»† *€­…$€į€—‡}ƒˆb<®ƒ/ ‚ ¾€G ŗ…*ˆŅ<u 3u 3!ˆ¾€‡ ³!ĄĄ""¾€Ń"s>n-ś€-Ā .F‚<„<Ė£‚f ©Šd6˜žĻ†E 1 ч;Æj€˜“… p %p)®ƒ/„' n#š*N  jˆ5 =‰j‡j‡“… p“…į u…=s>„s N… ¬ €† Œ—‡}ƒ€†Å·„$3Z…j‡j‡€† į3<Š:€;?…j‡†.n0“…į“…j‡pä¦†B 2Œ=Œ 9ī"˜5‰ž5‰i«‚Ē„X†/‚!'4M…:˜ž€†µ€)˜˜‰˜¼˜žc*Õ²‚>€į€X “…u†pšź 0€ $„$„  AIB‚f ©ŠX  ŒĢ1į3v;€; 2ŒN… . X n-†.n0€†o‚‡ !ĖF‚<Z…€†Z…`6?…j‡†.n0˜‡ŽŠ¼…‚96‚Cµ€)Z…“… =‡˜pp“…J€»† p“…j‡p3%' ¾…Ąƒn-n0®ƒ/¾…Ąƒ/®ƒ/ 0®ƒ/ś€-“…j‡pŠŠaz‡µ‚€€?…į€Z…=‰Z…*€=‡Z…=‰X Š ž7Š n-¾…Ąƒŗ‰!UŠ%*ó‡+n-¦/i€.§†0ś€-n-ķ‚„Õ*ƒ8¾‚'Õ€»† aµ€)³ $ׄ(˜€9 %ׄ( ˆ(ÕŠŠ³˜9N +˜m' “… p§*‹)Õc*"¾€Ń"s>c=Õ)N‰%˜ž˜5‰ž˜‰ˆ;†4b<c©Š „®ƒ/' n#’ ś‚,†tW‰†tł ?…ŁZ… $—.üˆ1?…z‡˜ž˜˜ķ‚˜ž˜€ $ ˆ(»† y‚"y‚"ša»† *€­…$€į€ŠŠ³˜9*€=‡pŗ‰!„a' µ€)µ€)…3' ' †š˜m Œ„Ģ1 9Į†!n-AIRŸ†i 3Ļ=„†cŹ¾‚':R """l‚€Œj‡n-9€1§†0€„!¦/ɉ/9€1®ƒ/ź aį3<Š:€;%µ€)`6' n#Ņ… R ÷,kˆDī5üˆ1 ŒĢ1i & 5‰i«‚Ē„X† 0š VĀ .Ž• Ź• „1 ł Ņ… j€¼ķ‚Cķ.§+W‰ē† lˆ Ā ֆ.R c=€Š€8˜5‰ ‚ {ƒ£ ‚ W‰Ā .˜žˆb<3%Ŗ#&&i ˜Œ“… =‡˜pp„†j€ķ²‚>  AI $ ˆ(€†Å·„$3Z…j‡j‡€† ™ƒŒ  AIŒd6<„*€™ 6‚Cµ‚€Ź.“…3šgEķ‚ $…†$^ƒ%؈'Ö)YV5‰i«‚Ē„X†c=cĒŁ€< ‚ €™ ‚ =Œ 9˜5‰ ‚ {ƒ£˜ķ‚€(“‚(1 ч;Ļµ€)$7©Š .˜¼Ž…ä‡Ē„…W‰s‚Z>s‚Z>€W‰s‚s‚f Z…"‡ ³!j‡MD K£žS¤ōC”ę ; ]Tl!ŃĻ=V  #CB("btn_about","&About","About()") CB("btn_up","&Up","Contents()")BrowseButtons()PuTTY User Manual°This manual is copyright 2001-2015 Simon Tatham. All rights reserved. You may distribute this documentation under the MIT licence. See appendix C for the licence text in full.“^ Š^ ’’’’ F’’’’R1V ’’’’¼R‰Ø ContentsDB("btn_up")7 ‰# €(€€‚’PuTTY User ManualĒ”RP& €C€˜€€‚’PuTTY is a free (MIT-licensed) Win32 Telnet and SSH client. This manual documents PuTTY, and its companion utilities PSCP, PSFTP, Plink, Pageant and PuTTYgen.¾‰‰5 8€€˜€€€€€€€‚’Note to Unix users: this manual currently primarily documents the Windows versions of the PuTTY utilities. Some options are therefore mentioned that are absent from the Unix version; the Unix version has features not described here; and the pterm and command-line puttygen utilities are not described at all. The only Unix-specific documentation that currently exists is the man pages.ą“Pī, &€i€˜€€ć‹‹łN‰‚’This manual is copyright 2001-2015 Simon Tatham. All rights reserved. You may distribute this documentation under the MIT licence. See appendix C for the licence text in full.V'D/ .€N€ćĘłN€€€‰‚’Chapter 1: Introduction to PuTTY[,īŸ/ .€X€ćżÅłN€€€‰‚’Chapter 2: Getting started with PuTTYLDė/ .€:€ćĘłN€€€‰‚’Chapter 3: Using PuTTYR#Ÿ=/ .€F€ć&ÅłN€€€‰‚’Chapter 4: Configuring PuTTYf7ė£/ .€n€ć€ÅłN€€€‰‚’Chapter 5: Using PSCP to transfer files securelyg8= / .€p€ćÓÅłN€€€‰‚’Chapter 6: Using PSFTP to transfer files securelym>£w/ .€|€ć¢ƒłN€€€‰‚’Chapter 7: Using the command-line connection tool Plinki: ą/ .€t€ćĪƒłN€€€‰‚’Chapter 8: Using public keys for SSH authenticationa2wA/ .€d€ć80«f€€€‰‚’Chapter 9: Using Pageant for authenticationW(ą˜/ .€P€ćśƒłN€€€‰‚’Chapter 10: Common error messagesKAć/ .€8€ć*„łN€€€‰‚’Appendix A: PuTTY FAQ\-˜?/ .€Z€ć]‹łN€€€‰‚’Appendix B: Feedback and bug reportingO ćŽ/ .€@€ć‹‹łN€€€‰‚’Appendix C: PuTTY LicenceU&?ć/ .€L€ćŒ‹łN€€€‰‚’Appendix D: PuTTY hacking guided5ŽG / .€j€ć,¼ī4€€€‰‚’Appendix E: PuTTY download keys and signaturesa2ćØ / .€d€ć拳N€€€‰‚’Appendix F: SSH-2 names specified for PuTTY{JG # 1Šš# q ­ Chapter 1: Introduction to PuTTYCBB("btn_up","JI(`',`Top')");EB("btn_up")N%Ø q ) "€J€€€€‚’Chapter 1: Introduction to PuTTYqL# ā % €˜€˜€€‚’PuTTY is a free SSH, Telnet and Rlogin client for 32-bit Windows systems.c4q E / .€h€ćūÅłN€€€‰‚’Section 1.1: What are SSH, Telnet and Rlogin?h9ā ­ / .€r€ćüÅłN€€€‰‚’Section 1.2: How do SSH, Telnet and Rlogin differ?Ž]E ; 1“ ¼?…; – ŚFSection 1.1: What are SSH, Telnet and Rlogin?CBB("btn_up","JI(`',`t00000000')");EB("btn_up")[2­ – ) "€d€€€€‚’Section 1.1: What are SSH, Telnet and Rlogin?ˆc;  % €Ę€˜€€‚’If you already know what SSH, Telnet and Rlogin are, you can safely skip on to the next section.²Œ– Š & €€˜€€‚’SSH, Telnet and Rlogin are three ways of doing the same thing: logging in to a multi-user computer from another computer, over a network.ų ī& €ń€˜€€‚’Multi-user operating systems, such as Unix and VMS, usually present a command-line interface to the user, much like the ‘Command Prompt’ or ‘MS-DOS Prompt’ in Windows. The system prints a prompt, and you type commands which the system will obey.1 Š +@& €€˜€€‚’Using this type of interface, there is no need for you to be sitting at the same machine you are typing commands to. The commands, and responses, can be sent over a network, so you can sit at one computer and give commands to another oī+@­ ne, or even to more than one.†Nī±A8 >€€˜€€€€€€€€‚’SSH, Telnet and Rlogin are network protocols that allow you to do this. On the computer you sit at, you run a client, which makes a network connection to the other computer (the server). The network connection carries your keystrokes and commands from the client to the server, and carries the server's responses back to you.++@ÜB& € €˜€€‚’These protocols can also be used for other types of keyboard-based interactive session. In particular, there are a lot of bulletin boards, talker systems and MUDs (Multi-User Dungeons) which support access using Telnet. There are even a few that support SSH.W2±A3C% €d€˜€€‚’You might want to use SSH, Telnet or Rlogin if:–iÜBÉC- *€Ņ€T˜‘€8‚€ƒ€‚’•you have an account on a Unix or VMS system which you want to be able to access from somewhere elseß3CāD: B€æ€T˜‘€8‚€ƒ€€€€€‚’•your Internet Service Provider provides you with a login account on a web server. (This might also be known as a shell account. A shell is the program that runs on the server and interprets your commands for you.)`ÉCoE- *€Ą€T˜‘€8‚€ƒ€‚’•you want to use a bulletin board system, talker or MUD which can be accessed using Telnet.i>āDŲE+ &€|€˜€€€€‚’You probably do not want to use SSH, Telnet or Rlogin if:ŌoEŚF. *€©€T˜‘€8‚€ƒ€‚’•you only use Windows. Windows computers have their own ways of networking between themselves, and unless you are doing something fairly unusual, you will not need to use any of these remote login protocols.“bŲEmG1š؊mGĶGśMSection 1.2: How do SSH, Telnet and Rlogin differ?CBB("btn_up","JI(`',`t00000000')");EB("btn_up")`7ŚFĶG) "€n€€€€‚’Section 1.2: How do SSH, Telnet and Rlogin differ?tOmGAH% €ž€˜€€‚’This list summarises some of the differences between SSH, Telnet and Rlogin.: ĶG{I. *€€T˜‘€8‚€ƒ€‚’•SSH (which stands for ‘secure shell’) is a recently designed, high-security protocol. It uses strong cryptography to protect your connection against eavesdropping, hijacking and other attacks. Telnet and Rlogin are both older protocols offering minimal security.Š\AHK. *€¹€T˜‘€8‚€ƒ€‚’•SSH and Rlogin both allow you to log in to the server without having to type a password. (Rlogin's method of doing this is insecure, and can allow an attacker to access your account on the server. SSH's method is much more secure, and typically breaking the security requires the attacker to have gained access to your actual client machine.)ęø{IėK. *€q€T˜‘€8‚€ƒ€‚’•SSH allows you to connect to the server and automatically send a command, so that the server will run that command and then disconnect. So you can use it in automated processing.I#K4M& €G€˜€€‚’The Internet is a hostile environment and security is everybody's responsibility. If you are connecting across the open Internet, then we recommend you use SSH. If the server you want to connect to doesn't support SSH, it might be worth trying to persuade the administrator to install it.Ę ėKśM& €A€˜€€‚’If your client and server are both behind the same (good) firewall, it is more likely to be safe to use Telnet or Rlogin, but we still recommend you use SSH.€O4MzN1‚?…azNĶNChapter 2: Getting started with PuTTYCBB("btn_up","JI(`',`Top')");EB("btn_up")S*śMĶN) "€T€€€€‚’Chapter 2: Getting started with PuTTYˆczNUO% €Ę€˜€€‚’This chapter gives a quick guide to the simplest types of interactive login session using PuTTY.U&ĶNŖO/ .€L€ćžÅłN€€€‰‚’Section 2.1: Starting a sessiond5UO€/ .€j€ć’ÅłN€€€‰‚’Section 2.2: Verifying the host keyŖO€śM (SSH only)MŖOg€/ .€<€ćĘłN€€€‰‚’Section 2.3: Logging inS$€ŗ€/ .€H€ćĘłN€€€‰‚’Section 2.4: After logging inNg€/ .€>€ćĘłN€€€‰‚’Section 2.5: Logging out€Oŗ€ˆ1\؊ŒˆÕä‰Section 2.1: Starting a sessionCBB("btn_up","JI(`',`t00000003')");EB("btn_up")M$Õ) "€H€€€€‚’Section 2.1: Starting a sessionŻ±ˆ²‚, &€c€˜€€ć&ÅłN‰‚’When you start PuTTY, you will see a dialog box. This dialog box allows you to control everything PuTTY can do. See chapter 4 for details of all the things you can control.Ź¤Õ|ƒ& €I€˜€€‚’You don't usually need to change most of the configuration options. To start the simplest kind of session, all you need to do is to enter a few basic parameters.É£²‚E„& €G€˜€€‚’In the ‘Host Name’ box, enter the Internet host name of the server you want to connect to. You should have been told this by the provider of your login account.y5|ƒ¾†D V€k€˜€€ćüÅłN‰€€ć§ÄłN‰€€ćØÄłN‰‚’Now select a login protocol to use, from the ‘Connection type’ buttons. For a login session, you should select Telnet, Rlogin or SSH. See section 1.2 for a description of the differences between the three protocols, and advice on which one to use. The fourth protocol, Raw, is not used for interactive login sessions; you would usually use this for debugging other Internet services (see section 3.6). The fifth option, Serial, is used for connecting to a local serial line, and works somewhat differently: see section 3.7 for more information on this.ųE„܈& €ń€˜€€‚’When you change the selected protocol, the number in the ‘Port’ box will change. This is normal: it happens because the various login services are usually provided on different network ports by the server machine. Most servers will use the standard port numbers, so you will not need to change the port setting. If your server provides login services on a non-standard port, your system administrator should have told you which one. (For example, many MUDs run Telnet service on a port other than 23.)ā¾†ä‰& €Å€˜€€‚’Once you have filled in the ‘Host Name’, ‘Protocol’, and possibly ‘Port’ settings, you are ready to connect. Press the ‘Open’ button at the bottom of the dialog box, and PuTTY will begin trying to connect you to the server.^܈sŠ1Ņ a€†sŠĻŠQČSection 2.2: Verifying the host key (SSH only)CBB("btn_up","JI(`',`t00000003')");EB("btn_up")\3ä‰ĻŠ) "€f€€€€‚’Section 2.2: Verifying the host key (SSH only)iDsŠ8‹% €ˆ€˜€€‚’If you are not using the SSH protocol, you can skip this section.¤ĻŠÜ‹% €ž€˜€€‚’If you are using SSH to connect to a server for the first time, you will probably see a message looking something like this:_;8‹;Œ$ €v€€€‚’The server's host key is not cached in the registry. You\8܋—Œ$ €p€€€‚’have no guarantee that the server is the computer you3;ŒŹŒ$ €€€€‚’think it is.L(—Œ$ €P€€€‚’The server's rsa2 key fingerprint is:c?ŹŒy$ €~€€€‚’ssh-rsa 1024 7b:e5:6f:a7:f4:f9:81:62:5c:e3:1f:bf:8b:57:6c:5aX4Ń$ €h€€€‚’If you trust this host, hit Yes to add the key toM)yŽ$ €R€€€‚’PuTTY's cache and carry on connecting.\8эzŽ$ €p€€€‚’If you want to carry on connecting just once, withoutK'ŽÅŽ$ €N€€€‚’adding the key to the cache, hit No._;zŽ$$ €v€€€‚’If you do not trust this host, hit Cancel to abandon the3ŎW% €€˜€€‚’connection.Š¤$3Į, &€I€˜€€€€‚’This is a feature of the SSH protocol. It is designed to protect you against a network attack known as spoofing: secretly W3Įä‰redirecting your connection to a different computer, so that you send your password to the wrong machine. Using this technique, an attacker would be able to learn the password that guards your login account, and could then log in as if they were you and use the account for their own purposes.²†WåĀ, &€ €˜€€€€‚’To prevent this attack, each server has a unique identifying code, called a host key. These keys are created in a way that prevents one server from forging another server's key. So if you connect to a server and it sends you a different host key from the one you were expecting, PuTTY can warn you that the server may have been switched and that a spoofing attack might be in progress.“Ž3Į™Ä& €€˜€€‚’PuTTY records the host key for each server you connect to, in the Windows Registry. Every time you connect to a server, it checks that the host key presented by the server is the same host key as it was the last time you connected. If it is not, you will see a warning, and you will have the chance to abandon your connection before you type any private information (such as a password) into it.öåĀµÅ& €ķ€˜€€‚’However, when you connect to a server you have not connected to before, PuTTY has no way of telling whether the host key is the right one or not. So it gives the warning shown above, and asks you whether you want to trust this host key or not.œv™ÄQČ& €ķ€˜€€‚’Whether or not to trust the host key is your choice. If you are connecting within a company network, you might feel that all the network users are on the same side and spoofing attacks are unlikely, so you might choose to trust the key without checking it. If you are connecting across a hostile network (such as the Internet), you should check with your system administrator, perhaps by telephone or in person. (Some modern servers have more than one host key. If the system administrator sends you more than one fingerprint, you should make sure the one PuTTY shows you is on the list, but it doesn't matter which one it is.)xGµÅÉČ1„ŒŠŠÉČÉnĶSection 2.3: Logging inCBB("btn_up","JI(`',`t00000003')");EB("btn_up")EQČÉ) "€8€€€€‚’Section 2.3: Logging inø’ÉČĘŹ& €%€˜€€‚’After you have connected, and perhaps verified the server's host key, you will be asked to log in, probably using a username and a password. Your system administrator should have provided you with these. Enter the username and the password, and the server should grant you access and begin your session. If you have mistyped your password, most servers will give you several chances to get it right.W1ÉĢ& €c€˜€€‚’If you are using SSH, be careful not to type your username wrongly, because you will not have a chance to correct it after you press Return; many SSH servers do not permit you to make two login attempts using different usernames. If you type your username wrongly, you must close PuTTY and start again.Q+ĘŹnĶ& €W€˜€€‚’If your password is refused but you are sure you have typed it correctly, check that Caps Lock is not enabled. Many login servers, particularly Unix computers, treat upper case and lower case as different when checking your password; so if Caps Lock is on, your password will probably be refused.~MĢģĶ1Ņ€† ŒģĶ7Ī¾ĻSection 2.4: After logging inCBB("btn_up","JI(`',`t00000003')");EB("btn_up")K"nĶ7Ī) "€D€€€€‚’Section 2.4: After logging in‡aģĶ¾Ļ& €Ć€˜€€‚’After you log in to the server, what happens next is up to the server! Most servers will print some sort of login message and then present a prompt, at which you can type commands which the server will carry out. Some servers will offer you on-line help; others might not. If you are in doubt about what to do next, consult your system administrator.yH7ĪC1&ŠŠŸ C‰iSection 2.5: Logg¾ĻC¾Ļing outCBB("btn_up","JI(`',`t00000003')");EB("btn_up")F¾Ļ‰) "€:€€€€‚’Section 2.5: Logging outr@Cū2 2€€˜€€€€€€‚’When you have finished your session, you should log out by typing the server's own logout command. This might vary between servers; if in doubt, try logout or exit, or consult a manual or your system administrator. When the server processes your logout command, the PuTTY window should close itself automatically.nB‰i, &€…€˜€€€€‚’You can close a PuTTY session using the Close button in the window border, but this might confuse the server - a bit like hanging up a telephone unexpectedly in the middle of a conversation. We recommend you do not do this unless the server has stopped responding to you and you cannot close the window any other way.q@ūŚ1% Œ÷ Ś’Chapter 3: Using PuTTYCBB("btn_up","JI(`',`Top')");EB("btn_up")Di) "€6€€€€‚’Chapter 3: Using PuTTYā¶Ś, &€m€˜€€ć&ÅłN‰‚’This chapter provides a general introduction to some more advanced features of PuTTY. For extreme detail and reference purposes, chapter 4 is likely to contain more information.V'V/ .€N€ćÄłN€€€‰‚’Section 3.1: During your sessionf7¼/ .€n€ć£ÄłN€€€‰‚’Section 3.2: Creating a log file of your sessionl=V(/ .€z€ć¤ÄłN€€€‰‚’Section 3.3: Altering your character set configuration^/¼†/ .€^€ć„ÄłN€€€‰‚’Section 3.4: Using X11 forwarding in SSH_0(å/ .€`€ć¦ÄłN€€€‰‚’Section 3.5: Using port forwarding in SSH].†B/ .€\€ć§ÄłN€€€‰‚’Section 3.6: Making raw TCP connectionsd5å¦/ .€j€ćØÄłN€€€‰‚’Section 3.7: Connecting to a local serial lineY*B’/ .€T€ć©ÄłN€€€‰‚’Section 3.8: The PuTTY command lineP¦€1}Ÿ˜ €Īż Section 3.1: During your sessionCBB("btn_up","JI(`',`t00000009')");EB("btn_up")N%’Ī) "€J€€€€‚’Section 3.1: During your session ś€ī & €õ€˜€€‚’A lot of PuTTY's complexity and features are in the configuration panel. Once you have worked your way through that and started a session, things should be reasonably simple after that. Nevertheless, there are a few more useful features available.].ĪK / .€\€ćxÄłN€€€‰‚’Section 3.1.1: Copying and pasting text^/ī © / .€^€ćyÄłN€€€‰‚’Section 3.1.2: Scrolling the screen backT%K ż / .€J€ćzÄłN€€€‰‚’Section 3.1.3: The System menuˆW© … 1ļ ÷† … Ś €ISection 3.1.1: Copying and pasting textCBB("btn_up","JI(`',`t00000010')");EB("btn_up")U,ż Ś ) "€X€€€€‚’Section 3.1.1: Copying and pasting textŗ”… ” & €)€˜€€‚’Often in a PuTTY session you will find text on your terminal screen which you want to type in again. Like most other terminal emulators, PuTTY allows you to copy and paste the text rather than having to type it again. Also, copy and paste uses the Windows clipboard, so that you can paste (for example) URLs into a web browser, or paste from a word processor or spreadsheet into your terminal session.ÕŚ •, &€«€˜€€€€‚’PuTTY's copy and paste works entirely with the mouse. In order to copy text to the clipboard, you just click the left mouse button in the terminal window, and drag to select text. When you let go of the button, the text is automatically copied to the clipboard. You do not need to press Ctrl-C or Ctrl-Ins; in fact, if you do press Ctrl-C, PuTTY will send a Ctrl-C character down your session to the server where it will probably cause a process to be interrupted.ōĀ” •B2 2€…€˜€€ćŁ“§.‰€€‚’Pasting is done using the right button (or the middle mo••Bż use button, if you have a three-button mouse and have set it up; see section 4.11.2). (Pressing Shift-Ins, or selecting ‘Paste’ from the Ctrl+right-click context menu, have the same effect.) When you click the right mouse button, PuTTY will read whatever is in the Windows clipboard and paste it into your session, exactly as if it had been typed at the keyboard. (Therefore, be careful of pasting formatted text into an editor that does automatic indenting; you may find that the spaces pasted from the clipboard plus the spaces added by the editor add up to too many spaces and ruin the formatting. There is nothing PuTTY can do about this.)ø†•MD2 2€ €˜€€ćż@‰€€‚’If you double-click the left mouse button, PuTTY will select a whole word. If you double-click, hold down the second click, and drag the mouse, PuTTY will select a sequence of whole words. (You can adjust precisely what PuTTY considers to be part of a word; see section 4.11.5.) If you triple-click, or triple-click and drag, then PuTTY will select a whole line or sequence of lines.i=•B¶E, &€{€˜€€ć ·kJ‰‚’If you want to select a rectangular region instead of selecting to the end of each line, you can do this by holding down Alt when you make your selection. You can also configure rectangular selection to be the default, and then holding down Alt gives the normal behaviour instead: see section 4.11.4 for details.Ń«MD‡F& €W€˜€€‚’(In some Unix environments, Alt+drag is intercepted by the window manager. Shift+Alt+drag should work for rectangular selection as well, so you could try that instead.)‡a¶EH& €Ć€˜€€‚’If you have a middle mouse button, then you can use it to adjust an existing selection if you selected something slightly wrong. (If you have configured the middle mouse button to paste, then the right mouse button does this instead.) Click the button on the screen, and you can pick up the nearest end of the selection and drag it to somewhere else.r@‡F€I2 2€€˜€€ćā³„‰ć.Ąą‰‚’It's possible for the server to ask to handle mouse clicks in the PuTTY window itself. If this happens, the mouse pointer will turn into an arrow, and using the mouse to copy and paste will only work if you hold down Shift. See section 4.6.2 and section 4.11.3 for details of this feature and how to configure it.‰XH J1Ē˜5‰ J_JŠMSection 3.1.2: Scrolling the screen backCBB("btn_up","JI(`',`t00000010')");EB("btn_up")V-€I_J) "€Z€€€€‚’Section 3.1.2: Scrolling the screen backlF JĖK& €€˜€€‚’PuTTY keeps track of text that has scrolled up off the top of the terminal. So if something appears on the screen that you want to read, but it scrolls too fast and it's gone by the time you try to look for it, you can use the scrollbar on the right side of the window to look back up the session history and find it again.%’_JšL& €’€˜€€‚’As well as using the scrollbar, you can also page the scrollback up and down by pressing Shift-PgUp and Shift-PgDn. You can scroll a line at a time using Ctrl-PgUp and Ctrl-PgDn. These are still available if you configure the scrollbar to be invisible.ą“ĖKŠM, &€i€˜€€ćØ;‹‰‚’By default the last 2000 lines scrolled off the top are preserved for you to look at. You can increase (or decrease) this value using the configuration box; see section 4.7.3.NšLON1r†ßON›NĶƒSection 3.1.3: The System menuCBB("btn_up","JI(`',`t00000010')");EB("btn_up")L#ŠM›N) "€F€€€€‚’Section 3.1.3: The System menu śON»O& €õ€˜€€‚’If you click the left mouse button on the icon in the top left corner of PuTTY's terminal window, or click the right mouse button on the title bar, you will see the standard Windows system menu containing items like Minimise, Move, Size and Close.ø’›N€& €%€˜€€‚’PuTTY's system menu contains e»O€ŠMxtra program features in addition to the Windows standard options. These extra menu commands are described below.晻O>& €3€˜€€‚’(These options are also available in a context menu brought up by holding Ctrl and clicking with the right mouse button anywhere in the PuTTY window.)Z+€˜/ .€V€ć{ÄłN€€€‰‚’Section 3.1.3.1: The PuTTY Event LogW(>ļ/ .€P€ć|ÄłN€€€‰‚’Section 3.1.3.2: Special commands\-˜K‚/ .€Z€ć}ÄłN€€€‰‚’Section 3.1.3.3: Starting new sessionse6ļ°‚/ .€l€ć~ÄłN€€€‰‚’Section 3.1.3.4: Changing your session settings\-K‚ ƒ/ .€Z€ćÄłN€€€‰‚’Section 3.1.3.5: Copy All to Clipboardj;°‚vƒ/ .€v€ć€ÄłN€€€‰‚’Section 3.1.3.6: Clearing and resetting the terminalW( ƒĶƒ/ .€P€ć¬ÄłN€€€‰‚’Section 3.1.3.7: Full screen mode…TvƒR„1ø5‰"R„¤„ ‡Section 3.1.3.1: The PuTTY Event LogCBB("btn_up","JI(`',`t00000013')");EB("btn_up")R)Ķƒ¤„) "€R€€€€‚’Section 3.1.3.1: The PuTTY Event LogX2R„ü…& €e€˜€€‚’If you choose ‘Event Log’ from the system menu, a small window will pop up in which PuTTY logs significant events during the connection. Most of the events in the log will probably take place during session startup, but a few can occur at any point in the session, and one or two occur right at the end.褄 ‡& €Ń€˜€€‚’You can use the mouse to select one or more lines of the Event Log, and hit the Copy button to copy them to the clipboard. If you are reporting a bug, it's often useful to paste the contents of the Event Log into your bug report.‚Qü…Œ‡1 ßs‚Œ‡Ū‡ĖĆSection 3.1.3.2: Special commandsCBB("btn_up","JI(`',`t00000013')");EB("btn_up")O& ‡Ū‡) "€L€€€€‚’Section 3.1.3.2: Special commands‡aŒ‡b‰& €Ć€˜€€‚’Depending on the protocol used for the current session, there may be a submenu of ‘special commands’. These are protocol-specific tokens, such as a ‘break’ signal, that can be sent down a connection in addition to normal data. Their precise effect is usually up to the server. Currently only Telnet, SSH, and serial connections have special commands.qLŪ‡Ӊ% €˜€˜€€‚’The ‘break’ signal can also be invoked from the keyboard with Ctrl-Break._:b‰2Š% €t€˜€€‚’The following special commands are available in Telnet:@ӉrŠ- *€&€T˜‘€8‚€ƒ€‚’•Are You There8 2ŠŖŠ- *€€T˜‘€8‚€ƒ€‚’•Break8 rŠāŠ- *€€T˜‘€8‚€ƒ€‚’•SynchBŖŠ$‹- *€*€T˜‘€8‚€ƒ€‚’•Erase Character’fāŠ¶‹, (€Ģ€˜‘€€ćģA/‰‚’PuTTY can also be configured to send this when the Backspace key is pressed; see section 4.16.3. =$‹ó‹- *€ €T˜‘€8‚€ƒ€‚’•Erase Line;¶‹.Œ- *€€T˜‘€8‚€ƒ€‚’•Go Ahead?ó‹mŒ- *€$€T˜‘€8‚€ƒ€‚’•No Operation@.Œ­Œ& €4€˜‘€€‚’Should have no effect. @mŒķŒ- *€&€T˜‘€8‚€ƒ€‚’•Abort Process?­Œ,- *€$€T˜‘€8‚€ƒ€‚’•Abort OutputDķŒp- *€.€T˜‘€8‚€ƒ€‚’•Interrupt Process…Y,õ, (€²€˜‘€€ćģA/‰‚’PuTTY can also be configured to send this when Ctrl-C is typed; see section 4.16.3. Bp7Ž- *€*€T˜‘€8‚€ƒ€‚’•Suspend Process…Yõ¼Ž, (€²€˜‘€€ćģA/‰‚’PuTTY can also be configured to send this when Ctrl-Z is typed; see section 4.16.3. @7ŽüŽ- *€&€T˜‘€8‚€ƒ€‚’•End Of Record>¼Ž:- *€"€T˜‘€8‚€ƒ€‚’•End Of FilekFüŽ„% €Œ€˜€€‚’In an SSH connection, the following special commands are available:A: Ą- *€(€T˜‘€8‚€ƒ€‚’•IGNORE message„ Ą ‡@„LĄ& €4€˜‘€€‚’Should have no effect. F Ą’Ą- *€2€T˜‘€8‚€ƒ€‚’•Repeat key exchangeę¹LĄxĮ- (€s€˜‘€€ćįŸ‰‚’Only available in SSH-2. Forces a repeat key exchange immediately (and resets associated timers and counters). For more information about repeat key exchanges, see section 4.19.2. 8 ’Ą°Į- *€€T˜‘€8‚€ƒ€‚’•BreakĝxĮtĀ' €;€˜‘€€‚’Only available in SSH-2, and only during a session. Optional extension; may not be supported by server. PuTTY requests the server's default break length. P#°ĮÄĀ- *€F€T˜‘€8‚€ƒ€‚’•Signals (SIGINT, SIGTERM etc)—qtĀ[Ć& €ā€˜‘€€‚’Only available in SSH-2, and only during a session. Sends various POSIX signals. Not honoured by all servers. pKÄĀĖĆ% €–€˜€€‚’With a serial connection, the only available special command is ‘Break’.‡V[ĆRÄ1"…RĦÄhČSection 3.1.3.3: Starting new sessionsCBB("btn_up","JI(`',`t00000013')");EB("btn_up")T+ĖƦÄ) "€V€€€€‚’Section 3.1.3.3: Starting new sessionsnIRÄÅ% €’€˜€€‚’PuTTY's system menu provides some shortcut ways to start new sessions:§z¦Ä»Å- *€ō€T˜‘€8‚€ƒ€‚’•Selecting ‘New Session’ will start a completely new instance of PuTTY, and bring up the configuration box as normal.ēÅŠĘ. *€Ļ€T˜‘€8‚€ƒ€‚’•Selecting ‘Duplicate Session’ will start a session in a new window with precisely the same options as your current one - connecting to the same host using the same protocol, with all the same terminal settings and everything.©|»ÅyĒ- *€ų€T˜‘€8‚€ƒ€‚’•In an inactive window, selecting ‘Restart Session’ will do the same as ‘Duplicate Session’, but in the current window.ļ»ŠĘhČ4 6€w€T˜‘€8‚€ƒ€ć}§B‰‚’•The ‘Saved Sessions’ submenu gives you quick access to any sets of stored session details you have previously saved. See section 4.1.2 for details of how to create saved sessions._yĒųČ1žs‚|ˆųČUÉ–ĢSection 3.1.3.4: Changing your session settingsCBB("btn_up","JI(`',`t00000013')");EB("btn_up")]4hČUÉ) "€h€€€€‚’Section 3.1.3.4: Changing your session settingsP*ųČ„Ź& €U€˜€€‚’If you select ‘Change Settings’ from the system menu, PuTTY will display a cut-down version of its initial configuration box. This allows you to adjust most properties of your current session. You can change the terminal size, the font, the actions of various keypresses, the colours, and so on.9UÉŽĖ& €'€˜€€‚’Some of the options that are available in the main configuration box are not shown in the cut-down Change Settings box. These are usually options which don't make sense to change in the middle of a session (for example, you can't switch from SSH to Telnet in mid-session).øŒ„Ź–Ģ, &€€˜€€ć}§B‰‚’You can save the current settings to a saved session for future use from this dialog box. See section 4.1.2 for more on saved sessions.‡VŽĖĶ1*…W‰ĶqĶGĪSection 3.1.3.5: Copy All to ClipboardCBB("btn_up","JI(`',`t00000013')");EB("btn_up")T+–ĢqĶ) "€V€€€€‚’Section 3.1.3.5: Copy All to ClipboardÖ°ĶGĪ& €a€˜€€‚’This system menu option provides a convenient way to copy the whole contents of the terminal screen (up to the last nonempty line) and scrollback to the clipboard in one go.•dqĶÜĪ1ź|ˆiÜĪ>ĻŅSection 3.1.3.6: Clearing and resetting the terminalCBB("btn_up","JI(`',`t00000013')");EB("btn_up")b9GĪ>Ļ) "€r€€€€‚’Section 3.1.3.6: Clearing and resetting the terminalłÓÜĪC& €§€˜€€‚’The ‘Clear Scrollback’ option on the system menu tells PuTTY to discard all the lines of text that have been kept after they scrolled off the top of the sc>ĻCGĪreen. This might be useful, for example, if you displayed sensitive information and wanted to make sure nobody could look over your shoulder and see it. (Note that this only prevents a casual user from using the scrollbar to view the information; the text is not guaranteed not to still be in PuTTY's memory.)i>ĻŅ& €Ó€˜€€‚’The ‘Reset Terminal’ option causes a full reset of the terminal emulation. A VT-series terminal is a complex piece of software and can easily get into a state where all the text printed becomes unreadable. (This can happen, for example, if you accidentally output a binary file to your terminal.) If this happens, selecting Reset Terminal should sort it out.‚QCT1½W‰„T£Section 3.1.3.7: Full screen modeCBB("btn_up","JI(`',`t00000013')");EB("btn_up")O&Ņ£) "€L€€€€‚’Section 3.1.3.7: Full screen mode¦zTI, &€õ€˜€€ćØ;‹‰‚’If you find the title bar on a maximised window to be ugly or distracting, you can select Full Screen mode to maximise PuTTY ‘even more’. When you select this, PuTTY will expand to fill the whole screen and its borders, title bar and scrollbar will disappear. (You can configure the scrollbar not to disappear in full-screen mode if you want to keep it; see section 4.7.3.)Ȝ£, &€9€˜€€€€‚’When you are in full-screen mode, you can still access the system menu if you click the left mouse button in the extreme top left corner of the screen.‘`I¢1ŖiÆ¢L Section 3.2: Creating a log file of your sessionCBB("btn_up","JI(`',`t00000009')");EB("btn_up")^5) "€j€€€€‚’Section 3.2: Creating a log file of your sessionƝ¢Ć& €;€˜€€‚’For some purposes you may find you want to log everything that appears on your screen. You can do this using the ‘Logging’ panel in the configuration box.,ļ & € €˜€€‚’To begin a session log, select ‘Change Settings’ from the system menu and go to the Logging panel. Enter a log file name, and select a logging mode. (You can log all session output including the terminal control sequences, or you can just log the printable text. It depends what you want the log for.) Click ‘Apply’ and your log will be started. Later on, you can go back to the Logging panel and select ‘Logging turned off completely’ to stop logging; then PuTTY will close the log file and you can safely read it.]2ĆL + &€d€˜€€ć¢ ²`‰‚’See section 4.2 for more details and options.—fļ ć 18„f ć G Section 3.3: Altering your character set configurationCBB("btn_up","JI(`',`t00000009')");EB("btn_up")d;L G ) "€v€€€€‚’Section 3.3: Altering your character set configurationžrć å , &€å€˜€€€€‚’If you find that special characters (accented characters, for example, or line-drawing characters) are not being displayed correctly in your PuTTY session, it may be that PuTTY is interpreting the characters sent by the server according to the wrong character set. There are a lot of different character sets available, so it's entirely possible for this to happen.6 G , &€€˜€€ćQÅłN‰‚’If you click ‘Change Settings’ and look at the ‘Translation’ panel, you should see a large number of character sets which you can select, and other related options. Now all you need is to find out which of them you want! (See section 4.10 for more information.)‰Xå ¤1ŹÆ“…¤śzGSection 3.4: Using X11 forwarding in SSHCBB("btn_up","JI(`',`t00000009')");EB("btn_up")V-ś) "€Z€€€€‚’Section 3.4: Using X11 forwarding in SSHN(¤T@& €Q€˜€€‚’The SSH protocol has the ability to securely forward X Window System graphical applications over your encrypted SSH connection, so that you can run an application on the SSH server machine and have it put its windows up on śT@your local machine without sending any X network traffic in the clear.Aś•A& €7€˜€€‚’In order to use this feature, you will need an X display server for your Windows machine, such as Cygwin/X, X-Win32, or Exceed. This will probably install itself as display number 0 on your local machine; if it doesn't, the manual for the X server should tell you what it does do.žlT@3C2 2€Ł€˜€€ćwŃJ¶‰€€‚’You should then tick the ‘Enable X11 forwarding’ box in the X11 panel (see section 4.24) before starting your SSH session. The ‘X display location’ box is blank by default, which means that PuTTY will try to use a sensible default such as :0, which is the usual display location where your X server will be installed. If that needs changing, then change it.!õ•ATD, &€ė€˜€€ć{ÄłN‰‚’Now you should be able to log in to the SSH server as normal. To check that X forwarding has been successfully negotiated during connection startup, you can check the PuTTY Event Log (see section 3.1.3.1). It should say something like this:T03CØD$ €`€€€‚’2001-12-05 17:22:01 Requesting X11 forwardingR-TDśD% €Z€˜€€‚’2001-12-05 17:22:02 X11 forwarding enabledļĆØDéE, &€‡€˜€€€€‚’If the remote system is Unix or Unix-like, you should also be able to see that the DISPLAY environment variable has been set to point at display 10 or above on the SSH server machine itself:D śD-F$ €@€€€‚’fred@unixbox:~$ echo $DISPLAY4éEaF% €€˜€€‚’unixbox:10.0«…-F G& € €˜€€‚’If this works, you should then be able to run X applications in the remote session and have them display their windows on your PC.nCaFzG+ &€†€˜€€ćwŃJ¶‰‚’For more options relating to X11 forwarding, see section 4.24.ŠY GH1Of €H[HkĄSection 3.5: Using port forwarding in SSHCBB("btn_up","JI(`',`t00000009')");EB("btn_up")W.zG[H) "€\€€€€‚’Section 3.5: Using port forwarding in SSHvPHŃI& €”€˜€€‚’The SSH protocol has the ability to forward arbitrary network (TCP) connections over your encrypted SSH connection, to avoid the network traffic being sent in clear. For example, you could use this to connect from your home computer to a POP-3 server on a remote machine without your POP-3 password being visible to network sniffers.•p[HfJ% €ą€˜€€‚’In order to use port forwarding to connect from your local machine to a port on a remote server, you need to:!óŃI‡K. *€ē€T˜‘€8‚€ƒ€‚’•Choose a port number on your local machine where PuTTY should listen for incoming connections. There are likely to be plenty of unused port numbers above 3000. (You can also use a local loopback address here; see below for more details.)„kfJ,M: B€×€T˜‘€8‚€ƒ€ćķˆĘ#‰€€‚’•Now, before you start your SSH connection, go to the Tunnels panel (see section 4.25). Make sure the ‘Local’ radio button is set. Enter the local port number into the ‘Source port’ box. Enter the destination host name and port number into the ‘Destination’ box, separated by a colon (for example, popserver.example.com:110 to connect to a POP-3 server).‘d‡K½M- *€Č€T˜‘€8‚€ƒ€‚’•Now click the ‘Add’ button. The details of your port forwarding should appear in the list box.¶Š,MsO, &€€˜€€ć{ÄłN‰‚’Now start your session and log in. (Port forwarding will not be enabled until after you have logged in; otherwise it would be easy to perform completely anonymous network attacks, and gain access to anyone's virtual private network.) To check that PuTTY has set up the port forwarding correctly, you can look at the PuTTY Event Log (see section 3.1.3.1). It should say something like this:X4½MĖO$ €h€€€‚’2001-12-05 17:22:10 Local port 3110 forwarding toJ%sO!€% €J€˜€€‚’ popserĖO!€zGver.example.com:110ĀĖOć2 2€!€˜€€€€€€‚’Now if you connect to the source port number on your local PC, you should find that it answers you exactly as if it were the service running on the destination machine. So in this example, you could then configure an e-mail client to use localhost:3110 as a POP-3 server instead of popserver.example.com:110. (Of course, the forwarding will stop happening when your PuTTY session closes down.)č¶!€Ėƒ2 2€m€˜€€€€€€‚’You can also forward ports in the other direction: arrange for a particular port number on the server machine to be forwarded back to your PC as a connection to a service on your PC or near it. To do this, just select the ‘Remote’ radio button instead of the ‘Local’ one. The ‘Source port’ box will now specify a port number on the server (note that most servers will not allow you to use port numbers under 1024 for this purpose).7 恇, &€€˜€€ćg v–‰‚’An alternative way to forward local connections to remote hosts is to use dynamic SOCKS proxying. In this mode, PuTTY acts as a SOCKS server, which SOCKS-aware programs can connect to and open forwarded connections to the destination of their choice, so this can be an alternative to long lists of static forwardings. To use this mode, you will need to select the ‘Dynamic’ radio button instead of ‘Local’, and then you should not enter anything into the ‘Destination’ box (it will be ignored). PuTTY will then listen for SOCKS connections on the port you have specified. Most web browsers can be configured to connect to this SOCKS proxy service; also, you can forward other PuTTY connections through it by setting up the Proxy control panel (see section 4.15 for details). śĖƒ"ˆ& €õ€˜€€‚’The source port for a forwarded connection usually does not accept connections from any machine except the SSH client or server machine itself (for local and remote forwardings respectively). There are controls in the Tunnels panel to change this:$ö‡F‰. *€ķ€T˜‘€8‚€ƒ€‚’•The ‘Local ports accept connections from other hosts’ option allows you to set up local-to-remote port forwardings (including dynamic port forwardings) in such a way that machines other than your client PC can connect to the forwarded port.‹]"ˆъ. *€»€T˜‘€8‚€ƒ€‚’•The ‘Remote ports do the same’ option does the same thing for remote-to-local port forwardings (so that machines other than the SSH server machine can connect to the forwarded port.) Note that this feature is only available in the SSH-2 protocol, and not all SSH-2 servers honour it (in OpenSSH, for example, it's usually disabled by default).ÄF‰Ӎ> J€‰€˜€€€€€€€€€€‚’You can also specify an IP address to listen on. Typically a Windows machine can be asked to listen on any single IP address in the 127.*.*.* range, and all of these are loopback addresses available only to the local machine. So if you forward (for example) 127.0.0.5:79 to a remote machine's finger port, then you should be able to run commands such as finger fred@127.0.0.5. This can be useful if the program connecting to the forwarded port doesn't allow you to change the port number it uses. This feature is available for local-to-remote forwarded ports; SSH-1 is unable to support it for remote-to-local ports, while SSH-2 can support it in theory but servers will not necessarily cooperate.Ū©ŃŠ®Ž2 2€S€˜€€€€ćøŠłN‰‚’(Note that if you're using Windows XP Service Pack 2, you may need to obtain a fix from Microsoft in order to use addresses like 127.0.0.5 - see question A.7.20.)oDӍ+ &€ˆ€˜€€ćķˆĘ#‰‚’For more options relating to port forwarding, see section 4.25.B®ŽkĄ, &€-€˜€€ćāĻ#‰‚’If the connection you are forwarding over SSH is itself a second SSH connection made by another copy of PuTTY, you might find the ‘logical host name’ configuration option useful to wkĄzGarn PuTTY of which host key it should be expecting. See section 4.13.5 for details of this.ˆWóĄ1˜“…¹…óĄHĮ‹ĒSection 3.6: Making raw TCP connectionsCBB("btn_up","JI(`',`t00000009')");EB("btn_up")U,kĄHĮ) "€X€€€€‚’Section 3.6: Making raw TCP connectionsF óĄŽĀ& €A€˜€€‚’A lot of Internet protocols are composed of commands and responses in plain text. For example, SMTP (the protocol used to transfer e-mail), NNTP (the protocol used to transfer Usenet news), and HTTP (the protocol used to serve Web pages) all consist of commands in readable plain text.ĮHĮOÄ2 2€€˜€€€€€€‚’Sometimes it can be useful to connect directly to one of these services and speak the protocol ‘by hand’, by typing protocol commands and watching the responses. On Unix machines, you can do this using the system's telnet command to connect to the right port number. For example, telnet mailserver.example.com 25 might enable you to talk directly to the SMTP service running on a mail server.ōĀŽĀCĘ2 2€…€˜€€€€€€‚’Although the Unix telnet program provides this functionality, the protocol being used is not really Telnet. Really there is no actual protocol at all; the bytes sent down the connection are exactly the ones you type, and the bytes shown on the screen are exactly the ones sent by the server. Unix telnet will attempt to detect or guess whether the service it is talking to is a real Telnet service or not; PuTTY prefers to be told for certain.HOÄ‹Ē, &€9€˜€€ć-„™¦‰‚’In order to make a debugging connection to a service of this type, you simply select the fourth protocol name, ‘Raw’, from the ‘Protocol’ buttons in the ‘Session’ configuration panel. (See section 4.1.1.) You can then enter a host name and a port number, and make the connection.^CĘČ1€ ŒČvČ7ĻSection 3.7: Connecting to a local serial lineCBB("btn_up","JI(`',`t00000009')");EB("btn_up")\3‹ĒvČ) "€f€€€€‚’Section 3.7: Connecting to a local serial lineŗ”Č0Ź& €)€˜€€‚’PuTTY can connect directly to a local serial line as an alternative to making a network connection. In this mode, text typed into the PuTTY window will be sent straight out of your computer's serial port, and data received through that port will be displayed in the PuTTY window. You might use this mode, for example, if your serial port is connected to another computer which has a serial connection.FvČvĢ2 2€)€˜€€ć-„™¦‰ć~ÅłN‰‚’To make a connection of this type, simply select ‘Serial’ from the ‘Connection type’ radio buttons on the ‘Session’ configuration panel (see section 4.1.1). The ‘Host Name’ and ‘Port’ boxes will transform into ‘Serial line’ and ‘Speed’, allowing you to specify which serial line to use (if your computer has more than one) and what speed (baud rate) to use when transferring data. For further configuration options (data bits, stop bits, parity, flow control), you can use the ‘Serial’ configuration panel (see section 4.27).°Š0Ź&Ī& €€˜€€‚’After you start up PuTTY in serial mode, you might find that you have to make the first move, by sending some data out of the serial line in order to notify the device at the other end that someone is there for it to talk to. This probably depends on the device. If you start up a PuTTY serial session and nothing appears in the window, try pressing Return a few times and see if that helps.ėvĢ7Ļ& €×€˜€€‚’A serial line provides no well defined means for one end of the connection to notify the other that the connection is finished. Therefore, PuTTY in serial mode will remain connected until you close the window using the close button.„S&Ī»Ļ17¹…3»ĻžSection 3.8: The PuTTY command lineCBB("btn_up","JI(`',`t00000009')");EB("btn_up")Q(7Ļ) "€P€€€€‚’Section 3.8: The PuTTY co»Ļ7Ļmmand lineŹ¤»Ļā& €I€˜€€‚’PuTTY can be made to do various things without user intervention by supplying command-line arguments (e.g., from a command prompt window, or a Windows shortcut).m>O/ .€|€ćŖÄłN€€€‰‚’Section 3.8.1: Starting a session from the command lineMāœ/ .€<€ćZ%Õ:€€€‰‚’Section 3.8.2: -cleanupb3Ož/ .€f€ć«ÄłN€€€‰‚’Section 3.8.3: Standard command-line options˜gœ–1i ŒÕ–ū’Section 3.8.1: Starting a session from the command lineCBB("btn_up","JI(`',`t00000027')");EB("btn_up")e<žū) "€x€€€€‚’Section 3.8.1: Starting a session from the command line†a–% €Ā€˜€€‚’These options allow you to bypass the configuration window and launch straight into a session.^3ūß+ &€f€˜€€€€‚’To start a connection to a server called host:_:>% €t€˜€€‚’putty.exe [-ssh | -telnet | -rlogin | -raw] [user@]host'ļße8 >€ß€˜€€ć}§B‰€€ćĪÄłN‰‚’If this syntax is used, settings are taken from the Default Settings (see section 4.1.2); user overrides these settings if supplied. Also, you can specify a protocol, which will override the default protocol (see section 3.8.3.2).Į›>&& €7€˜€€‚’For telnet sessions, the following alternative syntax is supported (this makes PuTTY suitable for use as a URL handler for telnet URLs in web browsers):G"em% €D€˜€€‚’putty.exe telnet://host[:port]/Z5&Ē% €j€˜€€‚’To start a connection to a serial port, e.g. COM1:>m% €2€˜€€‚’putty.exe -serial com1“}Ē¹7 >€ś€˜€€€€€€ć×ÄłN‰‚’In order to start an existing saved session called sessionname, use the -load option (described in section 3.8.3.1).F!’% €B€˜€€‚’putty.exe -load "session name"xG¹w1Ž32w¼U Section 3.8.2: -cleanupCBB("btn_up","JI(`',`t00000027')");EB("btn_up")E’¼) "€8€€€€ ‚’Section 3.8.2: -cleanupé½w„ , &€{€˜€€€€‚’If invoked with the -cleanup option, rather than running as normal, PuTTY will remove its registry entries and random seed file from the local machine (after confirming with the user).°„¼U , &€ €˜€€€€‚’Note that on multi-user systems, -cleanup only removes registry entries and files associated with the currently logged-in user.\„ ā 1] Õ„ā < KGSection 3.8.3: Standard command-line optionsCBB("btn_up","JI(`',`t00000027')");EB("btn_up")Z1U < ) "€b€€€€‚’Section 3.8.3: Standard command-line options6ā r & €!€˜€€‚’PuTTY and its associated tools support a range of command-line options, most of which are consistent across all the tools. This section lists the available options in all tools. Options which are specific to a particular tool are covered in the chapter about that tool.f4< Ų 2 4€h€ć×ÄłN€€€€‰‚’Section 3.8.3.1: -load: load a saved session„[r } J d€¶€ćĪÄłN€€€€€€€€€€€€‰‚’Section 3.8.3.2: Selecting a protocol: -ssh, -telnet, -rlogin, -raw -seriala/Ų Ž 2 4€^€ćĻÄłN€€€€‰‚’Section 3.8.3.3: -v: increase verbosityc1} A2 4€b€ćŠÄłN€€€€‰‚’Section 3.8.3.4: -l: specify a login nameCŽ Ā> L€†€ćŃÄłN€€€€€€€€‰‚’Section 3.8.3.5: -L, -R and -D: set up port forwardingszHA<2 4€€ćŅÄłN€€€€‰‚’Section 3.8.3.6: -m: read a remote command or script from a filed2Ā 2 4€d€ćÓÄłN€€€€‰‚’Section 3.8.3.7: -P: specify a port numberb0<@2 4€`€ćŌÄłN€€€€‰‚’Section 3.8.3.8: -pw: specify a password @U ‘Y Ÿ@8 @€²€ćÕÄłN€€€€€€‰‚’Section 3.8.3.9: -agent and -noagent: control use of Pageant for authenticationw?@A8 @€~€ćÖÄłN€€€€€€‰‚’Section 3.8.3.10: -A and -a: control agent forwardingu=Ÿ@‹A8 @€z€ćÅłN€€€€€€‰‚’Section 3.8.3.11: -X and -x: control X11 forwardingIA B8 @€’€ćłÄłN€€€€€€‰‚’Section 3.8.3.12: -t and -T: control pseudo-terminal allocationtB‹A€B2 4€„€ćśÄłN€€€€‰‚’Section 3.8.3.13: -N: suppress starting a shell or command—e BC2 4€Ź€ćūÄłN€€€€‰‚’Section 3.8.3.14: -nc: make a remote network connection in place of a remote shell or commandb0€ByC2 4€`€ćüÄłN€€€€‰‚’Section 3.8.3.15: -C: enable compression~FC÷C8 @€Œ€ćżÄłN€€€€€€‰‚’Section 3.8.3.16: -1 and -2: specify an SSH protocol versionƒKyCzD8 @€–€ćžÄłN€€€€€€‰‚’Section 3.8.3.17: -4 and -6: specify an Internet protocol versionj8÷CäD2 4€p€ć’ÄłN€€€€‰‚’Section 3.8.3.18: -i: specify an SSH private keyq?zDUE2 4€~€ćÅłN€€€€‰‚’Section 3.8.3.19: -loghost: specify a logical host name{IäDŠE2 4€’€ćÅłN€€€€‰‚’Section 3.8.3.20: -hostkey: manually specify an expected host keyp>UE@F2 4€|€ć-ÅłN€€€€‰‚’Section 3.8.3.21: -pgpfp: display PGP key fingerprintsvDŠE¶F2 4€ˆ€ć$ÅłN€€€€‰‚’Section 3.8.3.22: -sercfg: specify serial port configuration•W@FKG> L€®€ć%ÅłN€€€€€€€€‰‚’Section 3.8.3.23: -sessionlog, -sshlog, -sshrawlog: specify session logging\¶FŲG1a2z‡ ŲG6H9LSection 3.8.3.1: -load: load a saved sessionCBB("btn_up","JI(`',`t00000029')");EB("btn_up")^2KG6H, (€d€€€€ €‚’Section 3.8.3.1: -load: load a saved sessionź¾ŲG I, &€}€˜€€€€‚’The -load option causes PuTTY to load configuration details out of a saved session. If these details include a host name, then this option is all you need to make PuTTY start a session.mH6HI% €€˜€€‚’You need double quotes around the session name if it contains spaces.½— IJJ& €/€˜€€‚’If you want to create a Windows shortcut to start a PuTTY saved session, this is the option you should use: your shortcut should call something likeO*I™J% €T€˜€€‚’d:\path\to\putty.exe -load "my session" bJJ9L> J€Å€˜€€€€€€€€€€‚’(Note that PuTTY itself supports an alternative form of this option, for backwards compatibility. If you execute putty @sessionname it will have the same effect as putty -load "sessionname". With the @ form, no double quotes are required, and the @ sign must be the very first thing on the command line. This form of the option is deprecated.)¬{™JåL1&„Œ!åL‚MSection 3.8.3.2: Selecting a protocol: -ssh, -telnet, -rlogin, -raw -serialCBB("btn_up","JI(`',`t00000029')");EB("btn_up")Y9L‚MD X€²€€€€€ €€ €€ €€ €€ ‚’Section 3.8.3.2: Selecting a protocol: -ssh, -telnet, -rlogin, -raw -serial|WåLžM% €®€˜€€‚’To choose which protocol you want to connect with, you can use one of these options:U%‚MSN0 0€J€T˜‘€8‚€ƒ€€‚’•-ssh selects the SSH protocol.[+žM®N0 0€V€T˜‘€8‚€ƒ€€‚’•-telnet selects the Telnet protocol.[+SN O0 0€V€T˜‘€8‚€ƒ€€‚’•-rlogin selects the Rlogin protocol.U%®N^O0 0€J€T˜‘€8‚€ƒ€€‚’•-raw selects the raw protocol.[+ O¹O0 0€V€T˜‘€8‚€ƒ€€‚’•-serial selects a serial connection.šu^O_€% €ź€˜€€‚’These options are not available i¹O_€9Ln the file transfer tools PSCP and PSFTP (which only work with the SSH protocol).øŒ¹O, &€€˜€€ć-„™¦‰‚’These options are equivalent to the protocol selection buttons in the Session panel of the PuTTY configuration box (see section 4.1.1).ˆW_€Ÿ1‘z‡Å"Ÿų0ƒSection 3.8.3.3: -v: increase verbosityCBB("btn_up","JI(`',`t00000029')");EB("btn_up")Y-ų, (€Z€€€€ €‚’Section 3.8.3.3: -v: increase verbosity8 Ÿ0ƒ, &€€˜€€€€‚’Most of the PuTTY tools can be made to tell you more about what they are doing by supplying the -v option. If you are having trouble when making a connection, or you're simply curious, you can turn this switch on and hope to find out more about what is happening.ŠYųŗƒ1ĪŒ #ŗƒ„ˆ…Section 3.8.3.4: -l: specify a login nameCBB("btn_up","JI(`',`t00000029')");EB("btn_up")[/0ƒ„, (€^€€€€ €‚’Section 3.8.3.4: -l: specify a login name»‰ŗƒŠ„2 2€€˜€€€€€€‚’You can specify the user name to log in as on the remote server using the -l option. For example, plink login.example.com -l fred.øŒ„ˆ…, &€€˜€€ć„õ‰‚’These options are equivalent to the username selection box in the Connection panel of the PuTTY configuration box (see section 4.14.1).˜gŠ„ †1īų$ †™†Section 3.8.3.5: -L, -R and -D: set up port forwardingsCBB("btn_up","JI(`',`t00000029')");EB("btn_up")yAˆ…™†8 @€‚€€€€ €€ €€ €‚’Section 3.8.3.5: -L, -R and -D: set up port forwardings Ų †£‡2 2€±€˜€€ćķˆĘ#‰€€‚’As well as setting up port forwardings in the PuTTY configuration (see section 4.25), you can also set up forwardings on the command line. The command-line options work just like the ones in Unix ssh programs.¼™†_ˆ, &€!€˜€€€€‚’To forward a local port (say 5110) to a remote destination (say popserver.example.com port 110), you can write something like one of these:^:£‡½ˆ$ €t€€€‚’putty -L 5110:popserver.example.com:110 -load mysessionY4_ˆ‰% €h€˜€€‚’plink mysession -L 5110:popserver.example.com:110Ž]½ˆ¤‰1 2€ŗ€˜€€€€€€‚’To forward a remote port to a local destination, just use the -R option instead of -L:b>‰Š$ €|€€€‚’putty -R 5023:mytelnetserver.myhouse.org:23 -load mysession]8¤‰cŠ% €p€˜€€‚’plink mysession -R 5023:mytelnetserver.myhouse.org:23\ŠäŠ% €ø€˜€€‚’To specify an IP address for the listening end of the tunnel, prepend it to the argument:Q,cŠ5‹% €X€˜€€‚’plink -L 127.0.0.5:23:localhost:23 myhost¶ŠäŠė‹, &€€˜€€€€‚’To set up SOCKS-based dynamic port forwarding on a local port, use the -D option. For this one you only have to pass the port number:E 5‹0Œ% €@€˜€€‚’putty -D 4096 -load mysessionlAė‹œŒ+ &€‚€˜€€ć¦ÄłN‰‚’For general information on port forwarding, see section 3.5.rM0Œ% €š€˜€€‚’These options are not available in the file transfer tools PSCP and PSFTP.”pœŒƍ1— J€%ƍ!ŽRĮSection 3.8.3.6: -m: read a remote command or script from a fileCBB("btn_up","JI(`',`t00000029')");EB("btn_up")rF!Ž, (€Œ€€€€ €‚’Section 3.8.3.6: -m: read a remote command or script from a file5żÆV8 >€ū€˜€€€€ćóWā܉€€‚’The -m option performs a similar function to the ‘Remote command’ box in the SSH panel of the PuTTY configuration box (see section 4.18.1). However, the -m option expects to be given a local file name, and it will read a command from that file.U!ŽćĄ, &€«€˜€€€€‚’With some servers (particularly Unix systems), you can even put multiple lines in this file and execute more than one commandVćĄ in sequence, or a whole shell script; but this is arguably an abuse, and cannot be expected to work on all servers. In particular, it is known not to work with certain ‘embedded’ servers, such as Cisco routers.oJVRĮ% €”€˜€€‚’This option is not available in the file transfer tools PSCP and PSFTP.‹Z楯Į1³o‚&ŻĮ9ĀūÄSection 3.8.3.7: -P: specify a port numberCBB("btn_up","JI(`',`t00000029')");EB("btn_up")\0RĮ9Ā, (€`€€€€ €‚’Section 3.8.3.7: -P: specify a port numberĻ£ŻĮĆ, &€G€˜€€€€‚’The -P option is used to specify the port number to connect to. If you have a Telnet server running on port 9696 of a machine instead of port 23, for example:F"9ĀNĆ$ €D€€€‚’putty -telnet -P 9696 host.nameG"Ć•Ć% €D€˜€€‚’plink -telnet -P 9696 host.nameøŒNĆMÄ, &€€˜€€€€‚’(Note that this option is more useful in Plink than in PuTTY, because in PuTTY you can write putty -telnet host.name 9696 in any case.)®‚•ĆūÄ, &€€˜€€ć-„™¦‰‚’This option is equivalent to the port number control in the Session panel of the PuTTY configuration box (see section 4.1.1).‰XMÄ„Å1vJ€[„'„ÅŽÅśĒSection 3.8.3.8: -pw: specify a passwordCBB("btn_up","JI(`',`t00000029')");EB("btn_up")Z.ūÄŽÅ, (€\€€€€ €‚’Section 3.8.3.8: -pw: specify a password,ś„Å Ē2 2€õ€˜€€€€ćĪƒłN‰‚’A simple way to automate a remote login is to supply your password on the command line. This is not recommended for reasons of security. If you possibly can, we recommend you set up public-key authentication instead. See chapter 8 for details.šÄŽÅśĒ, &€‰€˜€€€€‚’Note that the -pw option only works when you are using the SSH protocol. Due to fundamental limitations of Telnet and Rlogin, these protocols do not support automated password authentication.° ĒŖČ1ko‚ †(ŖČ3ÉĖSection 3.8.3.9: -agent and -noagent: control use of Pageant for authenticationCBB("btn_up","JI(`',`t00000029')");EB("btn_up")‰WśĒ3É2 4€®€€€€ €€ €‚’Section 3.8.3.9: -agent and -noagent: control use of Pageant for authenticationȖŖČūÉ2 2€-€˜€€€€€€‚’The -agent option turns on SSH authentication using Pageant, and -noagent turns it off. These options are only meaningful if you are using SSH.a63É\Ź+ &€l€˜€€ć80«f‰‚’See chapter 9 for general information on Pageant.¹ūÉĖ, &€€˜€€ć8\C‰‚’These options are equivalent to the agent authentication checkbox in the Auth panel of the PuTTY configuration box (see section 4.21.3).–e\Ź«Ė1S[„qˆ)«ĖĢžĪSection 3.8.3.10: -A and -a: control agent forwardingCBB("btn_up","JI(`',`t00000029')");EB("btn_up")o=ĖĢ2 4€z€€€€ €€ €‚’Section 3.8.3.10: -A and -a: control agent forwarding²€«ĖĢĢ2 2€€˜€€€€€€‚’The -A option turns on SSH agent forwarding, and -a turns it off. These options are only meaningful if you are using SSH. ÓĢ×Ķ8 >€§€˜€€ć80«f‰ćųƒłN‰ćłƒłN‰‚’See chapter 9 for general information on Pageant, and section 9.4 for information on agent forwarding. Note that there is a security risk involved with enabling this option; see section 9.5 for details.µ‰ĢĢŒĪ, &€€˜€€ćŹ6ŹÄ‰‚’These options are equivalent to the agent forwarding checkbox in the Auth panel of the PuTTY configuration box (see section 4.21.6).rM×ĶžĪ% €š€˜€€‚’These options are not available in the file transfer tools PSCP and PSFTP.”cŒĪ’Ļ1„ †Š*’Ļ DSection 3.8.3.11: -X and -x: control X11 forwardingCBB("btn_up","JI(`',`t00000029')");EB("btn_up")m;žĪ 2 4€v€€€€ €€ €‚’Section 3.8.3.11: -X and -x: control X11 forwarding’Ļ žĪ³’Ļæ2 2€€˜€€€€€€‚’The -X option turns on X11 forwarding in SSH, and -x turns it off. These options are only meaningful if you are using SSH.c8 "+ &€p€˜€€ć„ÄłN‰‚’For information on X11 forwarding, see section 3.4.°„æŅ, &€ €˜€€ćwŃJ¶‰‚’These options are equivalent to the X11 forwarding checkbox in the X11 panel of the PuTTY configuration box (see section 4.24).rM"D% €š€˜€€‚’These options are not available in the file transfer tools PSCP and PSFTP. oŅä1˜qˆm+ä]|Section 3.8.3.12: -t and -T: control pseudo-terminal allocationCBB("btn_up","JI(`',`t00000029')");EB("btn_up")yGD]2 4€Ž€€€€ €€ €‚’Section 3.8.3.12: -t and -T: control pseudo-terminal allocationēµäD2 2€k€˜€€€€€€‚’The -t option ensures PuTTY attempts to allocate a pseudo-terminal at the server, and -T stops it from allocating one. These options are only meaningful if you are using SSH.ʚ] , &€5€˜€€ćēщ‚’These options are equivalent to the ‘Don't allocate a pseudo-terminal’ checkbox in the SSH panel of the PuTTY configuration box (see section 4.23.1).rMD|% €š€˜€€‚’These options are not available in the file transfer tools PSCP and PSFTP.›j 1Š+,ƒ¤ Section 3.8.3.13: -N: suppress starting a shell or commandCBB("btn_up","JI(`',`t00000029')");EB("btn_up")l@|ƒ, (€€€€€€ €‚’Section 3.8.3.13: -N: suppress starting a shell or command=Ą, &€#€˜€€€€‚’The -N option prevents PuTTY from attempting to start a shell or command on the remote server. You might want to use this option if you are only using the SSH connection for port forwarding, and your user account on the server does not have the ability to run a shell.­‡ƒm& €€˜€€‚’This feature is only available in SSH protocol version 2 (since the version 1 protocol assumes you will always want to run a shell).ȜĄ5 , &€9€˜€€ćS0±‰‚’This option is equivalent to the ‘Don't start a shell or command at all’ checkbox in the SSH panel of the PuTTY configuration box (see section 4.18.2).oJm¤ % €”€˜€€‚’This option is not available in the file transfer tools PSCP and PSFTP.¾5 b 1óm~-b ń aCSection 3.8.3.14: -nc: make a remote network connection in place of a remote shell or commandCBB("btn_up","JI(`',`t00000029')");EB("btn_up")c¤ ń , (€Ę€€€€ €‚’Section 3.8.3.14: -nc: make a remote network connection in place of a remote shell or commandW+b H , &€W€˜€€€€‚’The -nc option prevents Plink (or PuTTY) from attempting to start a shell or command on the remote server. Instead, it will instruct the remote server to open a network connection to a host name and port number specified by you, and treat that network connection as if it were the main session.µ‰ń ż , &€€˜€€€€‚’You specify a host and port as an argument to the -nc option, with a colon separating the host name from the port number, like this:Z5H W % €j€˜€€‚’plink host1.example.com -nc host2.example.com:1234Cż š2 2€#€˜€€ćč8–‰€€‚’You might want to use this feature if you needed to make an SSH connection to a target host which you can only reach by going through a proxy host, and rather than using port forwarding you prefer to use the local proxy feature (see section 4.15.1 for more about local proxies). In this situation you might select ‘Local’ proxy type, set your local proxy command to be ‘plink %proxyhost -nc %host:%port’, enter the target host name on the Session panel, and enter the directly reachable proxy host name on the Proxy panel.ķĮW “A, &€ƒ€˜€€€€‚’This feature is only available in SSH protocol version 2 š“A¤ (since the version 1 protocol assumes you will always want to run a shell). It is not available in the file transfer tools PSCP and PSFTP. It is available in PuTTY itself, although it is unlikely to be very useful in any tool other than Plink. Also, -nc uses the same server functionality as port forwarding, so it will not work if your server administrator has disabled port forwarding.Ī~šaCP n€ż€˜€€€€€€€€€€€€€€€€‚’(The option is named -nc after the Unix program nc, short for ‘netcat’. The command ‘plink host1 -nc host2:port’ is very similar in functionality to ‘plink host1 nc host2 port’, which invokes nc on the server and tells it to connect to the specified destination. However, Plink's built-in -nc option does not depend on the nc program being installed on the server.)‰X“AźC1»+µ‚.źCDD„ESection 3.8.3.15: -C: enable compressionCBB("btn_up","JI(`',`t00000029')");EB("btn_up")Z.aCDD, (€\€€€€ €‚’Section 3.8.3.15: -C: enable compression¬€źCšD, &€€˜€€€€‚’The -C option enables compression of the data sent across the network. This option is only meaningful if you are using SSH.µ‰DD„E, &€€˜€€ćN§µ‰‚’This option is equivalent to the ‘Enable compression’ checkbox in the SSH panel of the PuTTY configuration box (see section 4.18.3).lšDBF1~<„/BFøFYHSection 3.8.3.16: -1 and -2: specify an SSH protocol versionCBB("btn_up","JI(`',`t00000029')");EB("btn_up")vD„EøF2 4€ˆ€€€€ €€ €‚’Section 3.8.3.16: -1 and -2: specify an SSH protocol versionœBF}G2 2€'€˜€€€€€€‚’The -1 and -2 options force PuTTY to use version 1 or version 2 of the SSH protocol. These options are only meaningful if you are using SSH.Ü°øFYH, &€a€˜€€ć, ŪT‰‚’These options are equivalent to selecting your preferred SSH protocol version as ‘1 only’ or ‘2 only’ in the SSH panel of the PuTTY configuration box (see section 4.18.4).¢q}GūH1µ‚¾…0ūHvI KSection 3.8.3.17: -4 and -6: specify an Internet protocol versionCBB("btn_up","JI(`',`t00000029')");EB("btn_up"){IYHvI2 4€’€€€€ €€ €‚’Section 3.8.3.17: -4 and -6: specify an Internet protocol version³ūH)J2 2€€˜€€€€€€‚’The -4 and -6 options force PuTTY to use the older Internet protocol IPv4 or the newer IPv6 for most outgoing connections.äøvI K, &€q€˜€€ć»†K€‰‚’These options are equivalent to selecting your preferred Internet protocol version as ‘IPv4’ or ‘IPv6’ in the Connection panel of the PuTTY configuration box (see section 4.13.4).‘`)JžK1Ž<„—‡1žKL,NSection 3.8.3.18: -i: specify an SSH private keyCBB("btn_up","JI(`',`t00000029')");EB("btn_up")b6 KL, (€l€€€€ €‚’Section 3.8.3.18: -i: specify an SSH private keyöĞKöL2 2€‰€˜€€€€€€‚’The -i option allows you to specify the name of a private key file in *.PPK format which PuTTY will use to authenticate with the server. This option is only meaningful if you are using SSH.tILjM+ &€’€˜€€ćĪƒłN‰‚’For general information on public-key authentication, see chapter 8.Ā–öL,N, &€-€˜€€ć„@ĻŲ‰‚’This option is equivalent to the ‘Private key file for authentication’ box in the Auth panel of the PuTTY configuration box (see section 4.21.8).˜gjMÄN1õ¾… 2ÄN-OŀSection 3.8.3.19: -loghost: specify a logical host nameCBB("btn_up","JI(`',`t00000029')");EB("btn_up")i=,N-O, (€z€€€€ €‚’Section 3.8.3.19: -loghost: specify a logical host nameŒ`ÄNŀ, &€Į€˜€€ćāĻ#‰‚’This option overrides PuTTY's normal SSH host key caching policy by telling it the name of the host you expect your connection to end up at (in cases where this diffe-Oŀ,Nrs from the location PuTTY thinks it's connecting to). It can be a plain host name, or a host name followed by a colon and a port number. See section 4.13.5 for more detail on this.¢q-Og1†—‡  3gŚķƒSection 3.8.3.20: -hostkey: manually specify an expected host keyCBB("btn_up","JI(`',`t00000029')");EB("btn_up")sGŀŚ, (€Ž€€€€ €‚’Section 3.8.3.20: -hostkey: manually specify an expected host key†Zg`ƒ, &€µ€˜€€ć€ Ūi‰‚’This option overrides PuTTY's normal SSH host key caching policy by telling it exactly what host key to expect, which can be useful if the normal automatic host key store in the Registry is unavailable. The argument to this option should be either a host key fingerprint, or an SSH-2 public key blob. See section 4.19.3 for more information.hŚķƒ% €Š€˜€€‚’You can specify this option more than once if you want to configure more than one key to be accepted.—f`ƒ„„1i  4„„ģ„ķ…Section 3.8.3.21: -pgpfp: display PGP key fingerprintsCBB("btn_up","JI(`',`t00000029')");EB("btn_up")h<ķƒģ„, (€x€€€€ €‚’Section 3.8.3.21: -pgpfp: display PGP key fingerprintsՄ„ķ…, &€«€˜€€ć,¼ī4‰‚’This option causes the PuTTY tools not to run as normal, but instead to display the fingerprints of the PuTTY PGP Master Keys, in order to aid with verifying new versions. See appendix E for more information.lģ„Š†1  s 5Š†ų†‹‹Section 3.8.3.22: -sercfg: specify serial port configurationCBB("btn_up","JI(`',`t00000029')");EB("btn_up")nBķ…ų†, (€„€€€€ €‚’Section 3.8.3.22: -sercfg: specify serial port configurationōĪŠ†ģ‡& €€˜€€‚’This option specifies the configuration parameters for the serial port (baud rate, stop bits etc). Its argument is interpreted as a comma-separated list of configuration options, which can be as follows:m@ų†Yˆ- *€€€T˜‘€8‚€ƒ€‚’•Any single digit from 5 to 9 sets the number of data bits.z;ģ‡ӈ? N€v€T˜‘€8‚€ƒ€€€€€€€‚’•‘1’, ‘1.5’ or ‘2’ sets the number of stop bits.j=Yˆ=‰- *€z€T˜‘€8‚€ƒ€‚’•Any other numeric string is interpreted as a baud rate.ՉӈŠL f€€T˜‘€8‚€ƒ€€€€€€€€€€€‚’•A single lower-case letter specifies the parity: ‘n’ for none, ‘o’ for odd, ‘e’ for even, ‘m’ for mark and ‘s’ for space.Ļ‰=‰įŠF Z€€T˜‘€8‚€ƒ€€€€€€€€€‚’•A single upper-case letter specifies the flow control: ‘N’ for none, ‘X’ for XON/XOFF, ‘R’ for RTS/CTS and ‘D’ for DSR/DTR.ŖŠ‹‹+ &€ž€˜€€€€‚’For example, ‘-sercfg 19200,8,n,1,N’ denotes a baud rate of 19200, 8 data bits, no parity, 1 stop bit and no flow control.¬{įŠ7Œ1„ € 67ŒČ ĄSection 3.8.3.23: -sessionlog, -sshlog, -sshrawlog: specify session loggingCBB("btn_up","JI(`',`t00000029')");EB("btn_up")U‹‹Č8 @€Ŗ€€€€ €€ €€ €‚’Section 3.8.3.23: -sessionlog, -sshlog, -sshrawlog: specify session loggingh67Œ,Ž2 2€m€˜€€€€€€‚’These options cause the PuTTY network tools to write out a log file. Each of them expects a file name as an argument, e.g. ‘-sshlog putty.log’ causes an SSH packet log to be written to a file called ‘putty.log’. The three different options select different logging modes, all available from the GUI too:m=Č™Ž0 0€z€T˜‘€8‚€ƒ€€‚’•-sessionlog selects ‘All session output’ logging mode.b2,ŽūŽ0 0€d€T˜‘€8‚€ƒ€€‚’•-sshlog selects ‘SSH packets’ logging mode.rB™Žm0 0€„€T˜‘€8‚€ƒ€€‚’•-sshrawlog selects ‘SSH packets and raw data’ logging mode.oDūŽ Ą+ &€ˆ€˜€€ć¢ ²`‰‚’For more information on logging configuration, see section 4.2.m Ą‹‹wFmƒĄ1ķ s U… 7ƒĄĶĄpĖChapter 4: Configuring PuTTYCBB("btn_up","JI(`',`Top')");EB("btn_up")J! ĄĶĄ) "€B€€€€‚’Chapter 4: Configuring PuTTYfAƒĄ3Į% €‚€˜€€‚’This chapter describes all the configuration options in PuTTY.šŹĶĄ#Ā& €•€˜€€‚’PuTTY is configured using the control panel that comes up before you start a session. Some options can also be changed in the middle of a session, by selecting ‘Change Settings’ from the window menu.T%3ĮwĀ/ .€J€ć'ÅłN€€€‰‚’Section 4.1: The Session panelT%#ĀĖĀ/ .€J€ć¢ ²`€€€‰‚’Section 4.2: The Logging panelU&wĀ Ć/ .€L€ć)ÅłN€€€‰‚’Section 4.3: The Terminal panelU&ĖĀuĆ/ .€L€ć*ÅłN€€€‰‚’Section 4.4: The Keyboard panelQ" ĆĘĆ/ .€D€ć+ÅłN€€€‰‚’Section 4.5: The Bell panelU&uĆÄ/ .€L€ć,ÅłN€€€‰‚’Section 4.6: The Features panelS$ĘĆnÄ/ .€H€ćXÅłN€€€‰‚’Section 4.7: The Window panelW(ÄÅÄ/ .€P€ćOÅłN€€€‰‚’Section 4.8: The Appearance panelV'nÄÅ/ .€N€ćPÅłN€€€‰‚’Section 4.9: The Behaviour panelY*ÅÄtÅ/ .€T€ćQÅłN€€€‰‚’Section 4.10: The Translation panelW(ÅĖÅ/ .€P€ćRÅłN€€€‰‚’Section 4.11: The Selection panelU&tÅ Ę/ .€L€ćSÅłN€€€‰‚’Section 4.12: The Colours panelX)ĖÅxĘ/ .€R€ćTÅłN€€€‰‚’Section 4.13: The Connection panelR# ĘŹĘ/ .€F€ćUÅłN€€€‰‚’Section 4.14: The Data panelS$xĘĒ/ .€H€ćg v–€€€‰‚’Section 4.15: The Proxy panelT%ŹĘqĒ/ .€J€ćVÅłN€€€‰‚’Section 4.16: The Telnet panelT%ĒÅĒ/ .€J€ćWÅłN€€€‰‚’Section 4.17: The Rlogin panelQ"qĒČ/ .€D€ćƒÅłN€€€‰‚’Section 4.18: The SSH panelQ"ÅĒgČ/ .€D€ćzÅłN€€€‰‚’Section 4.19: The Kex panelT%Č»Č/ .€J€ćdŽå؀€€‰‚’Section 4.20: The Cipher panelR#gČ É/ .€F€ć{ÅłN€€€‰‚’Section 4.21: The Auth panelT%»ČaÉ/ .€J€ć›¤c€€€‰‚’Section 4.22: The GSSAPI panelQ" ɲÉ/ .€D€ć|ÅłN€€€‰‚’Section 4.23: The TTY panelQ"aÉŹ/ .€D€ćwŃJ¶€€€‰‚’Section 4.24: The X11 panelU&²ÉXŹ/ .€L€ćķˆĘ#€€€‰‚’Section 4.25: The Tunnels panela2Ź¹Ź/ .€d€ć}ÅłN€€€‰‚’Section 4.26: The Bugs and More Bugs panelsT%XŹ Ė/ .€J€ć~ÅłN€€€‰‚’Section 4.27: The Serial panelc4¹ŹpĖ/ .€h€ćÅłN€€€‰‚’Section 4.28: Storing configuration in a fileN ĖļĖ1B€ »† 8ļĖ;Ģ1ĪSection 4.1: The Session panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")L#pĖ;Ģ) "€F€€€€‚’Section 4.1: The Session panelŚ“ļĖĶ& €i€˜€€‚’The Session configuration panel contains the basic options you need to specify in order to open a session at all, and also allows you to save your settings to be reloaded later.Z+;ĢoĶ/ .€V€ć-„™¦€€€‰‚’Section 4.1.1: The host name sectiong8ĶÖĶ/ .€p€ć}§B€€€‰‚’Section 4.1.2: Loading and storing saved sessions[,oĶ1Ī/ .€X€ć«ßŽļ€€€‰‚’Section 4.1.3: ‘Close Window on Exit’…TÖĶ¶Ī1U… ' 9¶ĪĻśSection 4.1.1: The host name sectionCBB("btn_up","JI(`',`t00000054')");EB("btn_up")R)1ĪĻ) "€R€€€€‚’Section 4.1.1: The host name sectionŅ¬¶Ī & €Y€˜€€‚’The top box on the Session panel, labelled ‘Specify your connection by host name’, contains the details that need to be filled in before PuTTY can open a session at all.Ļ 1Ī›nĻ§- *€Ü€T˜‘€8‚€ƒ€‚’•The ‘Host Name’ box is where you type the name, or the IP address, of the server you want to connect to.ē§ Ž@ N€O€T˜‘€8‚€ƒ€ćüÅłN‰ć§ÄłN‰ćØÄłN‰‚’•The ‘Connection type’ radio buttons let you choose what type of connection you want to make: a raw connection, a Telnet connection, an Rlogin connection, an SSH connection, or a connection to a local serial line. (See section 1.2 for a summary of the differences between SSH, Telnet and rlogin; see section 3.6 for an explanation of ‘raw’ connections; see section 3.7 for information about using a serial line.)ƒU§. *€«€T˜‘€8‚€ƒ€‚’•The ‘Port’ box lets you specify which port number on the server to connect to. If you select Telnet, Rlogin, or SSH, this box will be filled in automatically to the usual value, and you will only need to change it if you have an unusual server. If you select Raw mode, you will almost certainly need to fill in the ‘Port’ box yourself.齎ś, &€{€˜€€ć~ÅłN‰‚’If you select ‘Serial’ from the ‘Connection type’ radio buttons, the ‘Host Name’ and ‘Port’ boxes are replaced by ‘Serial line’ and ‘Speed’; see section 4.27 for more details of these.’aŒ1€ »† ‚ :ŒėCSection 4.1.2: Loading and storing saved sessionsCBB("btn_up","JI(`',`t00000054')");EB("btn_up")_6śė) "€l€€€€‚’Section 4.1.2: Loading and storing saved sessions°„Œ›, &€ €˜€€€€‚’The next part of the Session configuration panel allows you to save your preferred PuTTY options so they will appear automatically the next time you start PuTTY. It also allows you to create saved sessions, which contain a full set of configuration options plus a host name and protocol. A saved session contains all the information PuTTY needs to start exactly the session you want.!óė¼. *€ē€T˜‘€8‚€ƒ€‚’•To save your default settings: first set up the settings the way you want them saved. Then come back to the Session panel. Select the ‘Default Settings’ entry in the saved sessions list, with a single click. Then press the ‘Save’ button.Ķ§›‰ & €O€˜€€‚’If there is a specific host you want to store the details of how to connect to, you should create a saved session, which will be separate from the Default Settings.„w¼. . *€ļ€T˜‘€8‚€ƒ€‚’•To save a session: first go through the rest of the configuration box setting up all the options you want. Then come back to the Session panel. Enter a name for the saved session in the ‘Saved Sessions’ input box. (The server name is often a good choice for a saved session name.) Then press the ‘Save’ button. Your saved session name should now appear in the list box.[4‰ ‰ ' €i€˜‘€€‚’You can also save settings in mid-session, from the ‘Change Settings’ dialog. Settings changed since the start of the session will be saved with their current values; as well as settings changed through the dialog, this includes changes in window size, window title changes sent by the server, and so on. ė½. t . *€{€T˜‘€8‚€ƒ€‚’•To reload a saved session: single-click to select the session name in the list box, and then press the ‘Load’ button. Your saved settings should all appear in the configuration panel. ܉ ~. *€¹€T˜‘€8‚€ƒ€‚’•To modify a saved session: first load it as described above. Then make the changes you want. Come back to the Session panel, and press the ‘Save’ button. The new settings will be saved over the top of the old ones.1 t Æ' €€˜‘€€‚’To save the new settings under a different name, you can enter the new name in the ‘Saved Sessions’ box, or single-click to select a session name in the list box to overwrite that session. To save ‘Default Settings’, you must single-click the name before saving. Š]~E@- *€ŗ€T˜‘€8‚€ƒ€‚’•To start a saved session immediaÆE@śtely: double-click on the session name in the list box.Ŗ}Æļ@- *€ś€T˜‘€8‚€ƒ€‚’•To delete a saved session: single-click to select the session name in the list box, and then press the ‘Delete’ button.ā¼E@ŃA& €y€˜€€‚’Each saved session is independent of the Default Settings configuration. If you change your preferences and update Default Settings, you must also update every saved session separately.b=ļ@3B% €z€˜€€‚’Saved sessions are stored in the Registry, at the location]8ŃAB% €p€˜€€‚’HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessionsˆ]3BC+ &€ŗ€˜€€ćÅłN‰‚’If you need to store them in a file, you could try the method described in section 4.28.†UBžC1ø' N… ;žCńCVGSection 4.1.3: ‘Close Window on Exit’CBB("btn_up","JI(`',`t00000054')");EB("btn_up")S*CńC) "€T€€€€‚’Section 4.1.3: ‘Close Window on Exit’…_žCvE& €æ€˜€€‚’Finally in the Session panel, there is an option labelled ‘Close Window on Exit’. This controls whether the PuTTY terminal window disappears as soon as the session inside it terminates. If you are likely to want to copy and paste text out of the session after it has terminated, or restart the session, you should arrange for this option to be off.ąŗńCVG& €u€˜€€‚’‘Close Window On Exit’ has three settings. ‘Always’ means always close the window on exit; ‘Never’ means never close on exit (always leave the window open, but inactive). The third setting, and the default one, is ‘Only on clean exit’. In this mode, a session which terminates normally will cause its window to close, but one which is aborted unexpectedly by network trouble or a confusing message from the server will leave the window up.NvEÕG1 ‚ Ū <ÕG!H„Section 4.2: The Logging panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")L#VG!H) "€F€€€€‚’Section 4.2: The Logging panelŖ„ÕGĖH& € €˜€€‚’The Logging configuration panel allows you to save log files of your PuTTY sessions, for debugging, analysis or future reference.•p!H`I% €ą€˜€€‚’The main option is a radio-button set that specifies whether PuTTY will log anything at all. The options are:Œ_ĖHģI- *€¾€T˜‘€8‚€ƒ€‚’•‘None’. This is the default option; in this mode PuTTY will not create a log file at all.©{`I•K. *€÷€T˜‘€8‚€ƒ€‚’•‘Printable output’. In this mode, a log file will be created and written to, but only printable text will be saved into it. The various terminal control codes that are typically sent down an interactive session alongside the printable text will be omitted. This might be a useful mode if you want to read a log file in a text editor and hope to be able to make sense of it.ŚģI£M4 6€µ€T˜‘€8‚€ƒ€€€‚’•‘All session output’. In this mode, everything sent by the server into your terminal session is logged. If you view the log file in a text editor, therefore, you may well find it full of strange control characters. This is a particularly useful mode if you are experiencing problems with PuTTY's terminal handling: you can record everything that went to the terminal, so that someone else can replay the session later in slow motion and watch to see what went wrong.P•K €: B€-€T˜‘€8‚€ƒ€€€ć(ÅłN‰‚’•‘SSH packets’. In this mode (which is only used by SSH connections), the SSH message packets sent over the encrypted connection are written to the log file (as well as Event Log entries). You might need this to debug a network-level problem, or more likely to send to the PuTTY authors as part of a bug report. BE WARNED that if you log in using a password, the password can appear in the log file; see section 4.2.4 for options that may help to remove sensitive material from the log file before you send it to anyone else.£M €VGY£Me: B€?€T˜‘€8‚€ƒ€€€€€‚’•‘SSH packets and raw data’. In this mode, as well as the decrypted packets (as in the previous mode), the raw (encrypted, compressed, etc) packets are also logged. This could be useful to diagnose corruption in transit. (The same caveats as the previous mode apply, of course.)é €t‚& €Ó€˜€€‚’Note that the non-SSH logging options (‘Printable output’ and ‘All session output’) only work with PuTTY proper; in programs without terminal emulation (such as Plink), they will have no effect, even if enabled via saved settings.T%eȂ/ .€J€ćÄŪ¶€€€‰‚’Section 4.2.1: ‘Log file name’pAt‚8ƒ/ .€‚€ćmT$%€€€‰‚’Section 4.2.2: ‘What to do if the log file already exists’`1Ȃ˜ƒ/ .€b€ćKŒ<€€€‰‚’Section 4.2.3: ‘Flush log file frequently’k<8ƒ„/ .€x€ć(ÅłN€€€‰‚’Section 4.2.4: Options specific to SSH packet logging‚Q˜ƒ…„1ĢN… ˜ =…„фQ‹Section 4.2.1: ‘Log file name’CBB("btn_up","JI(`',`logging.main')");EB("btn_up")L#„ф) "€F€€€€‚’Section 4.2.1: ‘Log file name’G!…„†& €C€˜€€‚’In this edit box you enter the name of the file you want to log the session to. The ‘Browse’ button will let you look around your file system to find the right place to put the file; or if you already know exactly where you want it to go, you can just type a pathname into the edit box.čф,‡, &€Ń€˜€€€€‚’There are a few special features in this box. If you use the & character in the file name box, PuTTY will insert details of the current session in the name of the file it actually opens. The precise replacements it will do are:o?†›‡0 0€~€T˜‘€8‚€ƒ€€‚’•&Y will be replaced by the current year, as four digits.o?,‡ ˆ0 0€~€T˜‘€8‚€ƒ€€‚’•&M will be replaced by the current month, as two digits.zJ›‡„ˆ0 0€”€T˜‘€8‚€ƒ€€‚’•&D will be replaced by the current day of the month, as two digits.‹[ ˆ‰0 0€¶€T˜‘€8‚€ƒ€€‚’•&T will be replaced by the current time, as six digits (HHMMSS) with no punctuation.rB„ˆ‰0 0€„€T˜‘€8‚€ƒ€€‚’•&H will be replaced by the host name you are connecting to.‡W‰Š0 0€®€T˜‘€8‚€ƒ€€‚’•&P will be replaced by the port number you are connecting to on the target host.¢w‰ŖŠ+ &€ī€˜€€€€‚’For example, if you enter the host name c:\puttylogs\log-&h-&y&m&d-&t.dat, you will end up with files looking likeR.ŠüŠ$ €\€€€‚’log-server1.example.com-20010528-110859.datU0ŖŠQ‹% €`€˜€€‚’log-unixbox.somewhere.org-20010611-221001.datžmüŠļ‹1iŪ ¬ >ļ‹WŒXŽSection 4.2.2: ‘What to do if the log file already exists’CBB("btn_up","JI(`',`logging.main')");EB("btn_up")h?Q‹WŒ) "€~€€€€‚’Section 4.2.2: ‘What to do if the log file already exists’Õļ‹XŽ, &€«€˜€€€€‚’This control allows you to specify what PuTTY should do if it tries to start writing to a log file and it finds the file already exists. You might want to automatically destroy the existing log file and start a new one with the same name. Alternatively, you might want to open the existing log file and add data to the end of it. Finally (the default option), you might not want to have any automatic behaviour, but to ask the user every time the problem comes up.Ž]WŒęŽ1˜ . ?ęŽ>ĀSection 4.2.3: ‘Flush log file frequently’CBB("btn_up","JI(`',`logging.main')");EB("btn_up")X/XŽ>) "€^€€€€‚’Section 4.2.3: ‘Flush log file frequently’jDꎓĄ& €‰€˜€€‚’This option allows you to control how frequently logged data is flushed to disc. By default, PuTTY will flush data as soon as it is displayed, so that if y>“ĄXŽou view the log file while a session is still open, it will be up to date; and if the client system crashes, there's a greater chance that the data will be preserved.T.>Ā& €]€˜€€‚’However, this can incur a performance penalty. If PuTTY is running slowly with logging enabled, you could try unchecking this option. Be warned that the log file may not always be up to date as a result (although it will of course be flushed when it is closed, for instance at the end of a session).™h“Ą”Ā1Ī¬ *ƒ @”ĀĆoÅSection 4.2.4: Options specific to SSH packet loggingCBB("btn_up","JI(`',`logging.main')");EB("btn_up")c:ĀĆ) "€t€€€€‚’Section 4.2.4: Options specific to SSH packet loggingd?”ĀhĆ% €~€˜€€‚’These options only apply if SSH packet data is being logged.J$Ć²Ä& €I€˜€€‚’The following options allow particularly sensitive portions of unencrypted packets to be automatically left out of the log file. They are only intended to deter casual nosiness; an attacker could glean a lot of useful information from even these obfuscated logs (e.g., length of password).c4hĆÅ/ .€h€ć•­¤ƒ€€€‰‚’Section 4.2.4.1: ‘Omit known password fields’Z+²ÄoÅ/ .€V€ćdb¢D€€€‰‚’Section 4.2.4.2: ‘Omit session data’Ž]ÅżÅ1. §… AżÅXĘÉSection 4.2.4.1: ‘Omit known password fields’CBB("btn_up","JI(`',`t00000055')");EB("btn_up")[2oÅXĘ) "€d€€€€‚’Section 4.2.4.1: ‘Omit known password fields’8żÅĒ& €%€˜€€‚’When checked, decrypted password fields are removed from the log of transmitted packets. (This includes any user responses to challenge-response authentication methods such as ‘keyboard-interactive’.) This does not include X11 authentication data if using X11 forwarding.@XĘŠČ, &€)€˜€€€€‚’Note that this will only omit data that PuTTY knows to be a password. However, if you start another login session within your PuTTY session, for instance, any password used will appear in the clear in the packet log. The next option may be of use to protect against this.J%ĒÉ% €J€˜€€‚’This option is enabled by default.…TŠČŸÉ1“*ƒ ē† BŸÉńÉSĖSection 4.2.4.2: ‘Omit session data’CBB("btn_up","JI(`',`t00000055')");EB("btn_up")R)ÉńÉ) "€R€€€€‚’Section 4.2.4.2: ‘Omit session data’ńŸÉĖ& €ć€˜€€‚’When checked, all decrypted ‘session data’ is omitted; this is defined as data in terminal sessions and in forwarded channels (TCP, X11, and authentication agent). This will usually substantially reduce the size of the resulting log file.K&ńÉSĖ% €L€˜€€‚’This option is disabled by default.€OĖÓĖ1§… 1 CÓĖ ĢlSection 4.3: The Terminal panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")M$SĖ Ģ) "€H€€€€‚’Section 4.3: The Terminal panel‹fÓĖ«Ģ% €Ģ€˜€€‚’The Terminal configuration panel allows you to control the behaviour of PuTTY's terminal emulation.b3 Ģ Ķ/ .€f€ćŻéąż€€€‰‚’Section 4.3.1: ‘Auto wrap mode initially on’c4«ĢpĶ/ .€h€ć€ē”:€€€‰‚’Section 4.3.2: ‘DEC Origin Mode initially on’^/ ĶĪĶ/ .€^€ć—[K€€€‰‚’Section 4.3.3: ‘Implicit CR in every LF’^/pĶ,Ī/ .€^€ć!õuu€€€‰‚’Section 4.3.4: ‘Implicit LF in every CR’l=ĪĶ˜Ī/ .€z€ćŲĘs¦€€€‰‚’Section 4.3.5: ‘Use background colour to erase screen’[,,ĪóĪ/ .€X€ćL;B:€€€‰‚’Section 4.3.6: ‘Enable blinking text’W(˜ĪJĻ/ .€P€ć•Ü.󀀀‰‚’Section 4.3.7: ‘Answerback to ^E’Q"óĪ›Ļ/ .€D€ćl{Ž}€€€‰‚’Section 4.3.8: ‘Local echo’Y*JĻ / .€T€ćՂŽ}€€€‰‚’Section 4.3.9: ‘Local line editing’›Ļ SĖ`1›Ļl/ .€b€ćį²³ƒ€€€‰‚’Section 4.3.10: Remote-controlled printing\ ł1”ē† ł DłSSection 4.3.1: ‘Auto wrap mode initially on’CBB("btn_up","JI(`',`t00000056')");EB("btn_up")Z1lS) "€b€€€€‚’Section 4.3.1: ‘Auto wrap mode initially on’›vłī% €ģ€˜€€‚’Auto wrap mode controls what happens when text printed in a PuTTY window reaches the right-hand edge of the window.Z4SH& €i€˜€€‚’With auto wrap mode on, if a long line of text reaches the right-hand edge, it will wrap over on to the next line so you can still see all the text. With auto wrap mode off, the cursor will stay at the right-hand edge of the screen, and all the characters in the line will be printed on top of each other.ŠŖī& €U€˜€€‚’If you are running a full-screen application and you occasionally find the screen scrolling up when it looks as if it shouldn't, you could try turning this option off.uCH2 2€‡€˜€€€€ć€ÄłN‰‚’Auto wrap mode can be turned on and off by control sequences sent by the server. This configuration option controls the default state, which will be restored when you reset the terminal (see section 3.1.3.6). However, if you modify this option in mid-session using ‘Change Settings’, it will take effect immediately.Ž]1ć1 ź Evž Section 4.3.2: ‘DEC Origin Mode initially on’CBB("btn_up","JI(`',`t00000056')");EB("btn_up")[2v) "€d€€€€‚’Section 4.3.2: ‘DEC Origin Mode initially on’£~% €ü€˜€€‚’DEC Origin Mode is a minor option which controls how PuTTY interprets cursor-position control sequences sent by the server.X2vq& €e€˜€€‚’The server can send a control sequence that restricts the scrolling region of the display. For example, in an editor, the server might reserve a line at the top of the screen and a line at the bottom, and might send a control sequence that causes scrolling operations to affect only the remaining lines.žŲo & €±€˜€€‚’With DEC Origin Mode on, cursor coordinates are counted from the top of the scrolling region. With it turned off, cursor coordinates are counted from the top of the whole screen regardless of the scrolling region.óqˆ & €ē€˜€€‚’It is unlikely you would need to change this option, but if you find a full-screen application is displaying pieces of text in what looks like the wrong part of the screen, you could try turning DEC Origin Mode on to see whether that helps.vDo ž 2 2€‰€˜€€€€ć€ÄłN‰‚’DEC Origin Mode can be turned on and off by control sequences sent by the server. This configuration option controls the default state, which will be restored when you reset the terminal (see section 3.1.3.6). However, if you modify this option in mid-session using ‘Change Settings’, it will take effect immediately.‰Xˆ ‡ 1nł 0€ F‡ Ż ASection 4.3.3: ‘Implicit CR in every LF’CBB("btn_up","JI(`',`t00000056')");EB("btn_up")V-ž Ż ) "€Z€€€€‚’Section 4.3.3: ‘Implicit CR in every LF’'‡ & €€˜€€‚’Most servers send two control characters, CR and LF, to start a new line of the screen. The CR character makes the cursor return to the left-hand side of the screen. The LF character makes the cursor move one line down (and might make the screen scroll).ņĢŻ ö& €™€˜€€‚’Some servers only send LF, and expect the terminal to move the cursor over to the left automatically. If you come across a server that does this, you will see a stepped effect on the screen, like this:9/$ €*€€€‚’First line of textD ös$ €@€€€‚’ Second lineO*/Ā% €T€˜€€‚’ Third line–qsd@% €ā€˜€€‚’If this happens to you, Ād@ž try enabling the ‘Implicit CR in every LF’ option, and things might go back to normal:9Ā@$ €*€€€‚’First line of text2d@Ļ@$ €€€€‚’Second line2 @A% €€˜€€‚’Third line‰XĻ@ŠA1Dź ’ GŠAąAĪCSection 4.3.4: ‘Implicit LF in every CR’CBB("btn_up","JI(`',`t00000056')");EB("btn_up")V-AąA) "€Z€€€€‚’Section 4.3.4: ‘Implicit LF in every CR’'ŠAC& €€˜€€‚’Most servers send two control characters, CR and LF, to start a new line of the screen. The CR character makes the cursor return to the left-hand side of the screen. The LF character makes the cursor move one line down (and might make the screen scroll).Ē”ąAĪC& €C€˜€€‚’Some servers only send CR, and so the newly written line is overwritten by the following line. This option causes a line feed so that all lines are displayed.—fCeD1«0€ Ņ… HeDÉDISection 4.3.5: ‘Use background colour to erase screen’CBB("btn_up","JI(`',`t00000056')");EB("btn_up")d;ĪCÉD) "€v€€€€‚’Section 4.3.5: ‘Use background colour to erase screen’`4eD)F, &€i€˜€€€€‚’Not all terminals agree on what colour to turn the screen when the server sends a ‘clear screen’ sequence. Some terminals believe the screen should always be cleared to the default background colour. Others believe the screen should be cleared to whatever the server has selected as a background colour.–qÉDæF% €ā€˜€€‚’There exist applications that expect both kinds of behaviour. Therefore, PuTTY can be configured to do either.Ó§)F’G, &€O€˜€€€€‚’With this option disabled, screen clearing is always done in the default background colour. With this option enabled, it is done in the current background colour.~LæFI2 2€™€˜€€€€ć€ÄłN‰‚’Background-colour erase can be turned on and off by control sequences sent by the server. This configuration option controls the default state, which will be restored when you reset the terminal (see section 3.1.3.6). However, if you modify this option in mid-session using ‘Change Settings’, it will take effect immediately.†U’G–I1A’ lˆ I–IéI×LSection 4.3.6: ‘Enable blinking text’CBB("btn_up","JI(`',`t00000056')");EB("btn_up")S*IéI) "€T€€€€‚’Section 4.3.6: ‘Enable blinking text’½—–I¦J& €/€˜€€‚’The server can ask PuTTY to display text that blinks on and off. This is very distracting, so PuTTY allows you to turn blinking text off completely.½—éIcK& €/€˜€€‚’When blinking text is disabled and the server attempts to make some text blink, PuTTY will instead display the text with a bolded background colour.tB¦J×L2 2€…€˜€€€€ć€ÄłN‰‚’Blinking text can be turned on and off by control sequences sent by the server. This configuration option controls the default state, which will be restored when you reset the terminal (see section 3.1.3.6). However, if you modify this option in mid-session using ‘Change Settings’, it will take effect immediately.‚QcKYM1ŠŅ… N JYMØMļSection 4.3.7: ‘Answerback to ^E’CBB("btn_up","JI(`',`t00000056')");EB("btn_up")O&×LØM) "€L€€€€‚’Section 4.3.7: ‘Answerback to ^E’Į›YMiN& €7€˜€€‚’This option controls what PuTTY will send back to the server if the server sends it the ^E enquiry character. Normally it just sends the string ‘PuTTY’.ƝØM8€& €;€˜€€‚’If you accidentally write the contents of a binary file to your terminal, you will probably find that it contains more than one ^E character, and as a result your next command line will probably read ‘PuTTYPuTTYPuTTY...’ as if you had typed the answerback string multiple times at the keyboard. If you set the answerback string to be empty, this problem should go awayiN8€×L, but doing so might cause other problems. ŚiND2 2€µ€˜€€€€ć6Ձ‰‚’Note that this is not the feature of PuTTY which the server will typically use to determine your terminal type. That feature is the ‘Terminal-type string’ in the Connection panel; see section 4.14.3 for details.«t8€ļ7 >€č€˜€€€€€€€€‚’You can include control characters in the answerback string using ^C notation. (Use ^~ to get a literal ^.)|KDk‚1Ilˆ  Kk‚“‚“…Section 4.3.8: ‘Local echo’CBB("btn_up","JI(`',`t00000056')");EB("btn_up")I ļ“‚) "€@€€€€‚’Section 4.3.8: ‘Local echo’2k‚ęƒ2 2€€˜€€€€€€‚’With local echo disabled, characters you type into the PuTTY window are not echoed in the window by PuTTY. They are simply sent to the server. (The server might choose to echo them back to you; this can't be controlled from the PuTTY control panel.)ĪØ“‚“…& €Q€˜€€‚’Some types of session need local echo, and many do not. In its default mode, PuTTY will automatically attempt to deduce whether or not local echo is appropriate for the session you are working in. If you find it has made the wrong decision, you can use this configuration option to override its choice: you can force local echo to be turned on, or force it to be turned off, instead of relying on the automatic detection.„Sęƒ8†1×N ' L8†‰†ŒSection 4.3.9: ‘Local line editing’CBB("btn_up","JI(`',`t00000056')");EB("btn_up")Q(“…‰†) "€P€€€€‚’Section 4.3.9: ‘Local line editing’šu8†#‡% €ź€˜€€‚’Normally, every character you type into the PuTTY window is sent immediately to the server the moment you type it.[5‰†~ˆ& €k€˜€€‚’If you enable local line editing, this changes. PuTTY will let you edit a whole line at a time locally, and the line will only be sent to the server when you press Return. If you make a mistake, you can use the Backspace key to correct it before you press Return, and the server will never see the mistake.«#‡)Š, &€’€˜€€ćl{Ž}‰‚’Since it is hard to edit a line locally without being able to see it, local line editing is mostly used in conjunction with local echo (section 4.3.8). This makes it ideal for use in raw mode or when connecting to MUDs or talkers. (Although some more advanced MUDs do occasionally turn local line editing on and turn local echo off, in order to accept a password from the user.)ęĄ~ˆŒ& €€˜€€‚’Some types of session need local line editing, and many do not. In its default mode, PuTTY will automatically attempt to deduce whether or not local line editing is appropriate for the session you are working in. If you find it has made the wrong decision, you can use this configuration option to override its choice: you can force local line editing to be turned on, or force it to be turned off, instead of relying on the automatic detection.‹Z)ŠšŒ12 Ā MšŒņŒŲĀSection 4.3.10: Remote-controlled printingCBB("btn_up","JI(`',`t00000056')");EB("btn_up")X/ŒņŒ) "€^€€€€‚’Section 4.3.10: Remote-controlled printingĒ”šŒ¹& €C€˜€€‚’A lot of VT100-compatible terminals support printing under control of the remote server. PuTTY supports this feature as well, but it is turned off by default.ɝņŒ‚, &€;€˜€€€€‚’To enable remote-controlled printing, choose a printer from the ‘Printer to send ANSI printer output to’ drop-down list box. This should allow you to select from all the printers you have installed drivers for on your computer. Alternatively, you can type the network name of a networked printer (for example, \\printserver\printer1) even if you haven't already installed a driver for it on your own machine.<¹ŹĄ, &€!€˜€€€€‚’When the remote server attempts to print some data, PuTTY will send that data to ‚ŹĄŒthe printer raw - without translating it, attempting to format it, or doing anything else to it. It is up to you to ensure your remote server knows what type of printer it is talking to.f@‚0Ā& €€˜€€‚’Since PuTTY sends data to the printer raw, it cannot offer options such as portrait versus landscape, print quality, or paper tray selection. All these things would be done by your PC printer driver (which PuTTY bypasses); if you need them done, you will have to find a way to configure your remote server to do them.؂ŹĄŲĀ& €€˜€€‚’To disable remote printing again, choose ‘None (printing disabled)’ from the printer selection list. This is the default state.€O0ĀXĆ1ļ' Ņ… NXĆ„ĆGÉSection 4.4: The Keyboard panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")M$ŲĀ„Ć) "€H€€€€‚’Section 4.4: The Keyboard panelK XĆšÅ> J€€˜€€€€€€ć6Ձ‰ć³ŠłN‰‚’The Keyboard configuration panel allows you to control the behaviour of the keyboard in PuTTY. The correct state for many of these settings depends on what the server to which PuTTY is connecting expects. With a Unix server, this is likely to depend on the termcap or terminfo entry it uses, which in turn is likely to be controlled by the ‘Terminal-type string’ setting in the Connection panel; see section 4.14.3 for details. If none of the settings here seems to help, you may find question A.7.15 to be useful.m>„Ć]Ę/ .€|€ć*Ķˆs€€€‰‚’Section 4.4.1: Changing the action of the Backspace keyqBšÅĪĘ/ .€„€ć»‰Ł¢€€€‰‚’Section 4.4.2: Changing the action of the Home and End keysxI]ĘFĒ/ .€’€ćVSꀀ€‰‚’Section 4.4.3: Changing the action of the function keys and keypadm>ĪĘ³Ē/ .€|€ćneĒA€€€‰‚’Section 4.4.4: Controlling Application Cursor Keys modeh9FĒČ/ .€r€ć(~¦„€€€‰‚’Section 4.4.5: Controlling Application Keypad mode^/³ĒyČ/ .€^€ć½–\!€€€‰‚’Section 4.4.6: Using NetHack keypad moded5ČŻČ/ .€j€ćqżF€€€‰‚’Section 4.4.7: Enabling a DEC-like Compose keyj;yČGÉ/ .€v€ć„ąĢs€€€‰‚’Section 4.4.8: ‘Control-Alt is different from AltGr’˜gŻČßÉ1©Ā ©Š OßÉDŹˆĻSection 4.4.1: Changing the action of the Backspace keyCBB("btn_up","JI(`',`t00000057')");EB("btn_up")e<GÉDŹ) "€x€€€€‚’Section 4.4.1: Changing the action of the Backspace key‰cßÉĶĖ& €Ē€˜€€‚’Some terminals believe that the Backspace key should send the same thing to the server as Control-H (ASCII code 8). Other terminals believe that the Backspace key should send ASCII code 127 (usually known as Control-?) so that it can be distinguished from Control-H. This option allows you to choose which code PuTTY generates when you press Backspace.:DŹĪ2 2€€˜€€ć““9Ɖ€€‚’If you are connecting over SSH, PuTTY by default tells the server the value of this option (see section 4.23.2), so you may find that the Backspace key does the right thing either way. Similarly, if you are connecting to a Unix system, you will probably find that the Unix stty command lets you configure which the server expects to see, so again you might not need to change which one PuTTY generates. On other systems, the server's expectation might be fixed and you might have no choice but to configure PuTTY.óĒĶĖśĪ, &€€˜€€€€‚’If you do have the choice, we recommend configuring PuTTY to generate Control-? and configuring the server to expect it, because that allows applications such as emacs to use Control-H for help.ŽiĪˆĻ% €Ņ€˜€€‚’(Typing Shift-Backspace will cause PuTTY to send whichever code isn't configured here as the default.)œkśĪ01ŹŅ… P0™śSection 4.4.2: Changing the action of the Home and End keysCBB("btn_upˆĻ0ˆĻ","JI(`',`t00000057')");EB("btn_up")i@ˆĻ™) "€€€€€€‚’Section 4.4.2: Changing the action of the Home and End keysĖŸ0d, &€?€˜€€€€‚’The Unix terminal emulator rxvt disagrees with the rest of the world about what character sequences should be sent to the server by the Home and End keys.ģ„™PG \€K€˜€€€€€€€€€€€€€‚’xterm, and other terminals, send ESC [1~ for the Home key, and ESC [4~ for the End key. rxvt sends ESC [H for the Home key and ESC [Ow for the End key.Ŗ„dś& € €˜€€‚’If you find an application on which the Home and End keys aren't working, you could try switching this option to see if it helps.£rP1©Š 'Q · Section 4.4.3: Changing the action of the function keys and keypadCBB("btn_up","JI(`',`t00000057')");EB("btn_up")pGś ) "€Ž€€€€‚’Section 4.4.3: Changing the action of the function keys and keypad€[% €¶€˜€€‚’This option affects the function keys (F1 to F12) and the top row of the numeric keypad.õµ ‚@ N€k€T˜‘€8‚€ƒ€€€€€€€‚’•In the default mode, labelled ESC [n~, the function keys generate sequences like ESC [11~, ESC [12~ and so on. This matches the general behaviour of Digital's terminals.ŲžZ: B€=€T˜‘€8‚€ƒ€€€€€‚’•In Linux mode, F6 to F12 behave just like the default mode, but F1 to F5 generate ESC [[A through to ESC [[E. This mimics the Linux virtual console. Ė‚e@ N€—€T˜‘€8‚€ƒ€€€€€€€‚’•In Xterm R6 mode, F5 to F12 behave like the default mode, but F1 to F4 generate ESC OP through to ESC OS, which are the sequences produced by the top row of the keypad on Digital's terminals.םZ<: B€;€T˜‘€8‚€ƒ€€€€€‚’•In VT400 mode, all the function keys behave like the default mode, but the actual top row of the numeric keypad generates ESC OP through to ESC OS.‚Le¾6 <€˜€T˜‘€8‚€ƒ€€€€‚’•In VT100+ mode, the function keys generate ESC OP through to ESC O[}<; ^ Š€?€T˜‘€8‚€ƒ€€€€€€€€€€€€€€€€€‚’•In SCO mode, the function keys F1 to F12 generate ESC [M through to ESC [X. Together with shift, they generate ESC [Y through to ESC [j. With control they generate ESC [k through to ESC [v, and with shift and control together they generate ESC [w through to ESC [{.|W¾· % €®€˜€€‚’If you don't know what any of this means, you probably don't need to fiddle with it.˜g; O 1÷f RO “ FSection 4.4.4: Controlling Application Cursor Keys modeCBB("btn_up","JI(`',`t00000057')");EB("btn_up")e<· “ ) "€x€€€€‚’Section 4.4.4: Controlling Application Cursor Keys mode,īO ą > J€Ż€˜€€€€€€€€€€‚’Application Cursor Keys mode is a way for the server to change the control sequences sent by the arrow keys. In normal mode, the arrow keys send ESC [A through to ESC [D. In application mode, they send ESC OA through to ESC OD.¼–“ œ & €-€˜€€‚’Application Cursor Keys mode can be turned on and off by the server, depending on the application. PuTTY allows you to configure the initial state.Ŗą F+ &€ž€˜€€ćMD™‰‚’You can also disable application cursor keys mode completely, using the ‘Features’ configuration panel; see section 4.6.1.“bœ Ł1 '£‚SŁ9ņCSection 4.4.5: Controlling Application Keypad modeCBB("btn_up","JI(`',`t00000057')");EB("btn_up")`7F9) "€n€€€€‚’Section 4.4.5: Controlling Application Keypad mode†aŁæ% €Ā€˜€€‚’Application Keypad mode is a way for the server to change the behaviour of the numeric keypad.į»9¬@& €w€˜€€‚’In normal mode, the keypadæ¬@F behaves like a normal Windows keypad: with NumLock on, the number keys generate numbers, and with NumLock off they act like the arrow keys and Home, End etc.Õ©æA, &€S€˜€€€€‚’In application mode, all the keypad keys send special control sequences, including Num Lock. Num Lock stops behaving like Num Lock and becomes another function key.ļ¬@–B& €ß€˜€€‚’Depending on which version of Windows you run, you may find the Num Lock light still flashes on and off every time you press Num Lock, even when application mode is active and Num Lock is acting like a function key. This is unavoidable.·‘AMC& €#€˜€€‚’Application keypad mode can be turned on and off by the server, depending on the application. PuTTY allows you to configure the initial state.„z–BņC+ &€ō€˜€€ćMD™‰‚’You can also disable application keypad mode completely, using the ‘Features’ configuration panel; see section 4.6.1.‰XMC{D1Ćf Ž…T{DŃD>HSection 4.4.6: Using NetHack keypad modeCBB("btn_up","JI(`',`t00000057')");EB("btn_up")V-ņCŃD) "€Z€€€€‚’Section 4.4.6: Using NetHack keypad mode±‹{D‚E& €€˜€€‚’PuTTY has a special mode for playing NetHack. You can enable it by selecting ‘NetHack’ in the ‘Initial state of numeric keypad’ control.œŃDGF2 2€'€˜€€€€€€‚’In this mode, the numeric keypad keys 1-9 generate the NetHack movement commands (hjklyubn). The 5 key generates the . command (do nothing).vD‚E½G2 2€‰€˜€€€€€€‚’In addition, pressing Shift or Ctrl with the keypad keys generate the Shift- or Ctrl-keys you would expect (e.g. keypad-7 generates ‘y’, so Shift-keypad-7 generates ‘Y’ and Ctrl-keypad-7 generates Ctrl-Y); these commands tell NetHack to keep moving you in the same direction until you encounter something interesting.\GF>H% €ø€˜€€‚’For some reason, this feature only works properly when Num Lock is on. We don't know why.^½GĶH1Ė£‚ä‡UĶH)I˜KSection 4.4.7: Enabling a DEC-like Compose keyCBB("btn_up","JI(`',`t00000057')");EB("btn_up")\3>H)I) "€f€€€€‚’Section 4.4.7: Enabling a DEC-like Compose key†`ĶHÆJ& €Į€˜€€‚’DEC terminals have a Compose key, which provides an easy-to-remember way of typing accented characters. You press Compose and then type two more characters. The two characters are ‘combined’ to produce an accented character. The choices of character are designed to be easy to remember; for example, composing ‘e’ and ‘`’ produces the ‘č’ character.éĆ)I˜K& €‡€˜€€‚’If your keyboard has a Windows Application key, it acts as a Compose key in PuTTY. Alternatively, if you enable the ‘AltGr acts as Compose key’ option, the AltGr key will become a Compose key.•dÆJ-L1}Ž…ŽV-LLʀSection 4.4.8: ‘Control-Alt is different from AltGr’CBB("btn_up","JI(`',`t00000057')");EB("btn_up")b9˜KL) "€r€€€€‚’Section 4.4.8: ‘Control-Alt is different from AltGr’īČ-L}M& €‘€˜€€‚’Some old keyboards do not have an AltGr key, which can make it difficult to type some characters. PuTTY can be configured to treat the key combination Ctrl + Left Alt the same way as the AltGr key.»‰L8O2 2€€˜€€€€€€‚’By default, this checkbox is checked, and the key combination Ctrl + Left Alt does something completely different. PuTTY's usual handling of the left Alt key is to prefix the Escape (Control-[) character to whatever character sequence the rest of the keypress would generate. For example, Alt-A generates Escape followed by a. So Alt-Ctrl-A would generate Escape, followed by Control-A.ø’}M €& €%€˜€€‚’If you uncheck this box, Ctrl-Alt will become a synonym for AltGr, so you can use it to type extra graphic characters if your keyboard has any.8O €˜KŗŽ8Oʀ, &€€˜€€ćqżF‰‚’(However, Ctrl-Alt will never act as a Compose key, regardless of the setting of ‘AltGr acts as Compose key’ described in section 4.4.7.)|K €B1=䇏WB‹„Section 4.5: The Bell panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")I ʀ‹) "€@€€€€‚’Section 4.5: The Bell panelŽiB‚% €Ņ€˜€€‚’The Bell panel controls the terminal bell feature: the server's ability to cause PuTTY to beep at you.7‹Pƒ& €#€˜€€‚’In the default configuration, when the server sends the character with ASCII code 7 (Control-G), PuTTY will play the Windows Default Beep sound. This is not always what you want the terminal bell feature to do; the Bell panel allows you to configure alternative actions.\-‚¬ƒ/ .€Z€ć]śĶ€€€‰‚’Section 4.5.1: ‘Set the style of bell’i:Pƒ„/ .€t€ćy2\†€€€‰‚’Section 4.5.2: ‘Taskbar/caption indication on bell’j;¬ƒ„/ .€v€ćsÅv€€€‰‚’Section 4.5.3: ‘Control the bell overload behaviour’‡V„…1æŽVX…Z…ŊSection 4.5.1: ‘Set the style of bell’CBB("btn_up","JI(`',`t00000058')");EB("btn_up")T+„Z…) "€V€€€€‚’Section 4.5.1: ‘Set the style of bell’€[…Ś…% €¶€˜€€‚’This control allows you to select various different actions to occur on a terminal bell:ĶŸZ…§†. *€?€T˜‘€8‚€ƒ€‚’•Selecting ‘None’ disables the bell completely. In this mode, the server can send as many Control-G characters as it likes and nothing at all will happen.+żŚ…Ņ‡. *€ū€T˜‘€8‚€ƒ€‚’•‘Make default system alert sound’ is the default setting. It causes the Windows ‘Default Beep’ sound to be played. To change what this sound is, or to test it if nothing seems to be happening, use the Sound configurer in the Windows Control Panel.å·§†·ˆ. *€o€T˜‘€8‚€ƒ€‚’•‘Visual bell’ is a silent alternative to a beeping computer. In this mode, when the server sends a Control-G, the whole PuTTY window will flash white for a fraction of a second.c6Ņ‡‰- *€l€T˜‘€8‚€ƒ€‚’•‘Beep using the PC speaker’ is self-explanatory.«}·ˆŊ. *€ū€T˜‘€8‚€ƒ€‚’•‘Play a custom sound file’ allows you to specify a particular sound file to be used by PuTTY alone, or even by a particular individual PuTTY session. This allows you to distinguish your PuTTY beeps from any other beeps on the system. If you select this option, you will also need to enter the name of your sound file in the edit control ‘Custom sound file to play as a bell’.”c‰Y‹1žŹ• YY‹ŗ‹WSection 4.5.2: ‘Taskbar/caption indication on bell’CBB("btn_up","JI(`',`t00000058')");EB("btn_up")a8Ŋŗ‹) "€p€€€€‚’Section 4.5.2: ‘Taskbar/caption indication on bell’æ™Y‹yŒ& €3€˜€€‚’This feature controls what happens to the PuTTY window's entry in the Windows Taskbar if a bell occurs while the window does not have the input focus.b=ŗ‹ŪŒ% €z€˜€€‚’In the default state (‘Disabled’) nothing unusual happens.Ż·yŒøŽ& €o€˜€€‚’If you select ‘Steady’, then when a bell occurs and the window is not in focus, the window's Taskbar entry and its title bar will change colour to let you know that PuTTY session is asking for your attention. The change of colour will persist until you select the window, so you can leave several PuTTY windows minimised in your terminal, go away from your keyboard, and be sure not to have missed any important beeps when you get back.ŸzŪŒW% €ō€˜€€‚’‘Flashing’ is even more eye-catching: the Taskbar entry will continuously flash on and off until you select the window.•døŽ Ą1ĆVֆZ ĄnĄĻĒSection 4.5.3: ‘Control the bell overload behaviour’CBB("btn_up","JI(`',`t00000058')");EB("btn_up")W ĄWb9WnĄ) "€r€€€€‚’Section 4.5.3: ‘Control the bell overload behaviour’Ż± ĄKĀ, &€c€˜€€€€‚’A common user error in a terminal session is to accidentally run the Unix command cat (or equivalent) on an inappropriate file type, such as an executable, image file, or ZIP file. This produces a huge stream of non-text characters sent to the terminal, which typically includes a lot of bell characters. As a result of this the terminal often doesn't stop beeping for ten minutes, and everybody else in the office gets annoyed._9nĄŖÄ& €s€˜€€‚’To try to avoid this behaviour, or any other cause of excessive beeping, PuTTY includes a bell overload management feature. In the default configuration, receiving more than five bell characters in a two-second period will cause the overload feature to activate. Once the overload feature is active, further bells will have no effect at all, so the rest of your binary file will be sent to the screen in silence. After a period of five seconds during which no further bells are received, the overload feature will turn itself off again and bells will be re-enabled.¬†KĀVÅ& € €˜€€‚’If you want this feature completely disabled, you can turn it off using the checkbox ‘Bell is temporarily disabled when over-used’.X2ŖÄ®Ę& €e€˜€€‚’Alternatively, if you like the bell overload feature but don't agree with the settings, you can configure the details: how many bells constitute an overload, how short a time period they have to arrive in to do so, and how much silent time is required before the overload feature will deactivate itself.!ūVÅĻĒ& €÷€˜€€‚’Bell overload mode is always deactivated by any keypress in the terminal. This means it can respond to large unexpected streams of data, but does not interfere with ordinary command-line activities that generate beeps (such as filename completion).€O®ĘOČ1$• ©Š[OČœČsĪSection 4.6: The Features panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")M$ĻĒœČ) "€H€€€€‚’Section 4.6: The Features panelųŅOČ”É& €„€˜€€‚’PuTTY's terminal emulation is very highly featured, and can do a lot of things under remote server control. Some of these features can cause problems due to buggy or strangely configured server applications.¬†œČ@Ź& € €˜€€‚’The Features configuration panel allows you to disable some of PuTTY's more advanced terminal features, in case they cause trouble.qB”ɱŹ/ .€„€ćMD™€€€‰‚’Section 4.6.1: Disabling application keypad and cursor keysr=@Ź#Ė5 :€z€ćā³„€€€€€‰‚’Section 4.6.2: Disabling xterm-style mouse reportingg8±ŹŠĖ/ .€p€ćļ“•Z€€€‰‚’Section 4.6.3: Disabling remote terminal resizingpA#ĖśĖ/ .€‚€ćŚfłĢ€€€‰‚’Section 4.6.4: Disabling switching to the alternate screenk<ŠĖeĢ/ .€x€ćĀdY7€€€‰‚’Section 4.6.5: Disabling remote window title changingm>śĖŅĢ/ .€|€ćī4ÕT€€€‰‚’Section 4.6.6: Response to remote window title queryingd5eĢ6Ķ/ .€j€ć>Šc܀€€‰‚’Section 4.6.7: Disabling destructive backspaceqBŅĢ§Ķ/ .€„€ć}q:€€€‰‚’Section 4.6.8: Disabling remote character set configurationb36Ķ Ī/ .€f€ćS6Zj€€€‰‚’Section 4.6.9: Disabling Arabic text shapingj;§ĶsĪ/ .€v€ć[”4ė€€€‰‚’Section 4.6.10: Disabling bidirectional text displayœk ĪĻ1ķֆ\ĻxĻSection 4.6.1: Disabling application keypad and cursor keysCBB("btn_up","JI(`',`t00000059')");EB("btn_up")i@sĪxĻ) "€€€€€€‚’Section 4.6.1: Disabling application keypad and cursor keys„RĻ2 2€„€˜€€ć(~¦„‰ćneĒA‰‚’Application keypad mode (see section 4.4.5) and application cursor keys mode (see xĻsĪsection 4.4.4) alter the behaviour of the keypad and cursor keys. Some applications enable these modes but then do not deal correctly with the modified keys. You can force these modes to be permanently disabled no matter what the server tries to do.•dxĻ1Ų©Š]uSection 4.6.2: Disabling xterm-style mouse reportingCBB("btn_up","JI(`',`t00000059')");EB("btn_up")j;/ .€v€€€€€ €‚’Section 4.6.2: Disabling xterm-style mouse reportinga)h8 >€S€˜€€€€€€€€‚’PuTTY allows the server to send control codes that let it take over the mouse and use it for purposes other than copy and paste. Applications which use this feature include the text-mode web browser links, the Usenet newsreader trn version 4, and the file manager mc (Midnight Commander).ōČ\, &€‘€˜€€€€‚’If you find this feature inconvenient, you can disable it using the ‘Disable xterm-style mouse reporting’ control. With this box ticked, the mouse will always do copy and paste in the normal way.ķhu, &€Ū€˜€€ć.Ąą‰‚’Note that even if the application takes over the mouse, you can still manage PuTTY's copy and paste by holding down the Shift key while you select and paste, unless you have deliberately turned this feature off (see section 4.11.3).’a\1m7^ftSection 4.6.3: Disabling remote terminal resizingCBB("btn_up","JI(`',`t00000059')");EB("btn_up")_6uf) "€l€€€€‚’Section 4.6.3: Disabling remote terminal resizingčt& €Ń€˜€€‚’PuTTY has the ability to change the terminal's size and position in response to commands from the server. If you find PuTTY is doing this unexpectedly or inconveniently, you can tell PuTTY not to respond to those server commands.›jf1Ē_w Section 4.6.4: Disabling switching to the alternate screenCBB("btn_up","JI(`',`t00000059')");EB("btn_up")h?tw) "€~€€€€‚’Section 4.6.4: Disabling switching to the alternate screen¼–3 & €-€˜€€‚’Many terminals, including PuTTY, support an ‘alternate screen’. This is the same size as the ordinary terminal screen, but separate. Typically a screen-based program such as a text editor might switch the terminal to the alternate screen before starting up. Then at the end of the run, it switches back to the primary screen, and you see the screen contents just as they were before starting the editor.į»w & €w€˜€€‚’Some people prefer this not to happen. If you want your editor to run in the same screen as the rest of your terminal activity, you can disable the alternate screen feature completely.–e3 Ŗ 1a7Ł`Ŗ   Section 4.6.5: Disabling remote window title changingCBB("btn_up","JI(`',`t00000059')");EB("btn_up")c:  ) "€t€€€€‚’Section 4.6.5: Disabling remote window title changingžŲŖ  & €±€˜€€‚’PuTTY has the ability to change the window title in response to commands from the server. If you find PuTTY is doing this unexpectedly or inconveniently, you can tell PuTTY not to respond to those server commands.˜g £ 1‚ĒB‚a£ 1ESection 4.6.6: Response to remote window title queryingCBB("btn_up","JI(`',`t00000059')");EB("btn_up")e< ) "€x€€€€‚’Section 4.6.6: Response to remote window title queryingīČ£ ö& €‘€˜€€‚’PuTTY can optionally provide the xterm service of allowing server applications to find out the local window title. This feature is disabled by default, but you can turn it on if you really want it.å§ēA> J€O€˜€€€€€€ćĀdY7‰€€‚’NOTE that this feature is a potential security hazard. If a malicious application can write data to your terminal (for example, if you merely cat a file owned by someone else on the server machine), öēA it can change your window title (unless you have disabled this as mentioned in section 4.6.5) and then use this service to have the new window title sent back to the server as if typed at the keyboard. This allows an attacker to fake keypresses and potentially cause your server-side applications to do things you didn't want. Therefore this feature is disabled by default, and we recommend you do not set it to ‘Window title’ unless you really know what you are doing.Q,ö8B% €X€˜€€‚’There are three settings for this option:. ēAfB% €€˜€€‚’‘None’ŗ“8B C' €'€˜‘€€‚’PuTTY makes no response whatsoever to the relevant escape sequence. This may upset server-side software that is expecting some sort of response.6fBVC% €"€˜€€‚’‘Empty string’ö CsD' €ķ€˜‘€€‚’PuTTY makes a well-formed response, but leaves it blank. Thus, server-side software that expects a response is kept happy, but an attacker cannot influence the response string. This is probably the setting you want if you have no better ideas.6VC©D% €"€˜€€‚’‘Window title’ˆbsD1E& €Ä€˜‘€€‚’PuTTY responds with the actual window title. This is dangerous for the reasons described above.^©DĄE1ėŁŽƒbĄEF«GSection 4.6.7: Disabling destructive backspaceCBB("btn_up","JI(`',`t00000059')");EB("btn_up")\31EF) "€f€€€€‚’Section 4.6.7: Disabling destructive backspaceiĄE«G& €Ó€˜€€‚’Normally, when PuTTY receives character 127 (^?) from the server, it will perform a ‘destructive backspace’: move the cursor one space left and delete the character under it. This can apparently cause problems in some applications, so PuTTY provides the ability to configure character 127 to perform a normal backspace (without deleting a character) instead.œkFGH1²B‚†cGH°HłJSection 4.6.8: Disabling remote character set configurationCBB("btn_up","JI(`',`t00000059')");EB("btn_up")i@«G°H) "€€€€€€‚’Section 4.6.8: Disabling remote character set configuration]7GH J& €o€˜€€‚’PuTTY has the ability to change its character set configuration in response to commands from the server. Some programs send these commands unexpectedly or inconveniently. In particular, BitchX (an IRC client) seems to have a habit of reconfiguring the character set to something other than the user intended.ģĘ°HłJ& €€˜€€‚’If you find that accented characters are not showing up the way you expect them to, particularly if you're running BitchX, you could try disabling the remote character set configuration commands.\ J†K1”Žƒ‰d†KąK'OSection 4.6.9: Disabling Arabic text shapingCBB("btn_up","JI(`',`t00000059')");EB("btn_up")Z1łJąK) "€b€€€€‚’Section 4.6.9: Disabling Arabic text shapingžŲ†KŽL& €±€˜€€‚’PuTTY supports shaping of Arabic text, which means that if your server sends text written in the basic Unicode Arabic alphabet then it will convert it to the correct display forms before printing it on the screen.ÄžąK¢N& €=€˜€€‚’If you are using full-screen software which was not expecting this to happen (especially if you are not an Arabic speaker and you unexpectedly find yourself dealing with Arabic text files in applications which are not Arabic-aware), you might find that the display becomes corrupted. By ticking this box, you can disable Arabic text shaping so that PuTTY displays precisely the characters it is told to display.…ZŽL'O+ &€“€˜€€ć[”4ė‰‚’You may also find you need to disable bidirectional text display; see section 4.6.10.•d¢N¼O1ķ†e¼O*€µƒSection 4.6.10: Disabling bidirectional text displayCBB("btn_up","JI(`',`t00000059')");EB("btn_up")b9'O*€) "€r€€€€‚’Section 4.6.10: Disablin¼O*€'Og bidirectional text displayG!¼Oq& €C€˜€€‚’PuTTY supports bidirectional text display, which means that if your server sends text written in a language which is usually displayed from right to left (such as Arabic or Hebrew) then PuTTY will automatically flip it round so that it is displayed in the right direction on the screen.Ē”*€8ƒ& €C€˜€€‚’If you are using full-screen software which was not expecting this to happen (especially if you are not an Arabic speaker and you unexpectedly find yourself dealing with Arabic text files in applications which are not Arabic-aware), you might find that the display becomes corrupted. By ticking this box, you can disable bidirectional text display, so that PuTTY displays text from left to right in all situations.}Rqµƒ+ &€¤€˜€€ćS6Zj‰‚’You may also find you need to disable Arabic text shaping; see section 4.6.9.~M8ƒ3„1Y‰cf3„~„Œ†Section 4.7: The Window panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")K"µƒ~„) "€D€€€€‚’Section 4.7: The Window panelyT3„÷„% €Ø€˜€€‚’The Window configuration panel allows you to control aspects of the PuTTY window.i:~„`…/ .€t€ć ļ“ €€€‰‚’Section 4.7.1: Setting the size of the PuTTY windowj;÷„Ź…/ .€v€ć„G6½€€€‰‚’Section 4.7.2: What to do when the window is resized[,`…%†/ .€X€ćØ;‹€€€‰‚’Section 4.7.3: Controlling scrollbackg8Ź…Œ†/ .€p€ć^ØŻM€€€‰‚’Section 4.7.4: ‘Push erased text into scrollback’”c%† ‡1)=g ‡‡IˆSection 4.7.1: Setting the size of the PuTTY windowCBB("btn_up","JI(`',`t00000060')");EB("btn_up")a8Œ†‡) "€p€€€€‚’Section 4.7.1: Setting the size of the PuTTY windowČ¢ ‡Iˆ& €E€˜€€‚’The ‘Columns’ and ‘Rows’ boxes let you set the PuTTY window to a precise size. Of course you can also drag the window to a new size while a session is running.•d‡Žˆ1fcthŽˆ@‰DSection 4.7.2: What to do when the window is resizedCBB("btn_up","JI(`',`t00000060')");EB("btn_up")b9Iˆ@‰) "€r€€€€‚’Section 4.7.2: What to do when the window is resized¢}Žˆā‰% €ś€˜€€‚’These options allow you to control what happens when the user tries to resize the PuTTY window using its window furniture.D@‰&Š% €>€˜€€‚’There are four options here:‘dā‰·Š- *€Č€T˜‘€8‚€ƒ€‚’•‘Change the number of rows and columns’: the font size will not change. (This is the default.)“†&Šk‹. *€ €T˜‘€8‚€ƒ€‚’•‘Change the size of the font’: the number of rows and columns in the terminal will stay the same, and the font size will change.Z&·ŠŌ4 6€M€T˜‘€8‚€ƒ€€€‚’•‘Change font size when maximised’: when the window is resized, the number of rows and columns will change, except when the window is maximised (or restored), when the font size will change. (In this mode, holding down the Alt key while resizing will also cause the font size to change.)Rk‹D- *€¤€T˜‘€8‚€ƒ€‚’•‘Forbid resizing completely’: the terminal will refuse to be resized at all.†UŌŹ1’=UiŹŽÕĮSection 4.7.3: Controlling scrollbackCBB("btn_up","JI(`',`t00000060')");EB("btn_up")S*DŽ) "€T€€€€‚’Section 4.7.3: Controlling scrollbackØ}ŹŎ+ &€ś€˜€€ćyÄłN‰‚’These options let you configure the way PuTTY keeps text after it scrolls off the top of the screen (see section 3.1.2).‰]ŽZĄ, &€»€˜€€ćyÄłN‰‚’The ‘Lines of scrollback’ box lets you configure how many lines of text PuTTY keeps. The ‘Display scrollbar’ options allow you to hide the scrollbar (although you can still view the scrollback using the keyboard as described in section 3.1.2). You can separately confiŎZĄDgure whether the scrollbar is shown in full-screen mode and in normal modes.{UŎÕĮ& €«€˜€€‚’If you are viewing part of the scrollback when the server sends more text to PuTTY, the screen will revert to showing the current terminal contents. You can disable this behaviour by turning off ‘Reset scrollback on display activity’. You can also make the screen revert when you press a key, by turning on ‘Reset scrollback on keypress’.’aZĄgĀ1Ęt{ƒjgĀĘĀ-ÅSection 4.7.4: ‘Push erased text into scrollback’CBB("btn_up","JI(`',`t00000060')");EB("btn_up")_6ÕĮĘĀ) "€l€€€€‚’Section 4.7.4: ‘Push erased text into scrollback’õgĀįĆ& €ė€˜€€‚’When this option is enabled, the contents of the terminal screen will be pushed into the scrollback when a server-side application clears the screen, so that your scrollback will contain a better record of what was on your screen in the past.ÖĘĀćÄ, &€­€˜€€ćŚfłĢ‰‚’If the application switches to the alternate screen (see section 4.6.4 for more about this), then the contents of the primary screen will be visible in the scrollback until the application switches back again.J%įĆ-Å% €J€˜€€‚’This option is enabled by default.‚QćÄÆÅ1U…kÆÅžÅ>ČSection 4.8: The Appearance panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")O&-ÅžÅ) "€L€€€€‚’Section 4.8: The Appearance panelhÆÅ‹Ę% €Š€˜€€‚’The Appearance configuration panel allows you to control aspects of the appearance of PuTTY's window.m>žÅųĘ/ .€|€ć¾ž^Ł€€€‰‚’Section 4.8.1: Controlling the appearance of the cursoruF‹ĘmĒ/ .€Œ€ćWŻŒĮ€€€‰‚’Section 4.8.2: Controlling the font used in the terminal windowo@ųĘÜĒ/ .€€€ć{ĶH+€€€‰‚’Section 4.8.3: ‘Hide mouse pointer when typing in window’b3mĒ>Č/ .€f€ćŲdbĻ€€€‰‚’Section 4.8.4: Controlling the window border˜gÜĒÖČ1ų{ƒ„†lÖČ;ÉĪŹSection 4.8.1: Controlling the appearance of the cursorCBB("btn_up","JI(`',`t00000061')");EB("btn_up")e<>Č;É) "€x€€€€‚’Section 4.8.1: Controlling the appearance of the cursorįÖČBŹ& €Ć€˜€€‚’The ‘Cursor appearance’ option lets you configure the cursor to be a block, an underline, or a vertical line. A block cursor becomes an empty box when the window loses focus; an underline or a vertical line becomes dotted.Œg;ÉĪŹ% €Ī€˜€€‚’The ‘Cursor blinks’ option makes the cursor blink on and off. This works in any of the cursor modes. oBŹnĖ1ų…‰mnĖŪĖfĪSection 4.8.2: Controlling the font used in the terminal windowCBB("btn_up","JI(`',`t00000061')");EB("btn_up")mDĪŹŪĖ) "€ˆ€€€€‚’Section 4.8.2: Controlling the font used in the terminal window¤nĖĢ% €ž€˜€€‚’This option allows you to choose what font, in what size, the PuTTY terminal window uses to display the text in the session.ēĮŪĖfĪ& €ƒ€˜€€‚’By default, you will be offered a choice from all the fixed-width fonts installed on the system, since VT100-style terminal handling expects a fixed-width font. If you tick the box marked ‘Allow selection of variable-pitch fonts’, however, PuTTY will offer variable-width fonts as well: if you select one of these, the font will be coerced into fixed-size character cells, which will probably not look very good (but can work OK with some fonts).šiĢĻ1„†YnĻgĻ  Section 4.8.3: ‘Hide mouse pointer when typing in window’CBB("btn_up","JI(`',`t00000061')");EB("btn_up")g>fĪgĻ) "€|€€€€‚’Section 4.8.3: ‘Hide mouse pointer when typing in window’/ Ļ¢ & €€˜€€‚’If you enable this option, the mouse pointer will disappear if the PuTTY window is selected and you press a key. TgĻ¢ fĪhis way, it will not obscure any of the text in the window while you work in your session. As soon as you move the mouse, the pointer will reappear.~YgĻ  % €²€˜€€‚’This option is disabled by default, so the mouse pointer remains visible at all times.\¢ ­ 1[‰o­   Section 4.8.4: Controlling the window borderCBB("btn_up","JI(`',`t00000061')");EB("btn_up")Z1   ) "€b€€€€‚’Section 4.8.4: Controlling the window borderyT­ € % €Ø€˜€€‚’PuTTY allows you to configure the appearance of the window border to some extent.uO õ & €Ÿ€˜€€‚’The checkbox marked ‘Sunken-edge border’ changes the appearance of the window border to something more like a DOS box: the inside edge of the border is highlighted as if it sank down to meet the surface inside the window. This makes the border a little bit thicker as well. It's hard to describe well. Try it and see if you like it.ķ€  & €Ū€˜€€‚’You can also configure a completely blank gap between the text in the window and the border, using the ‘Gap between text and window edge’ control. By default this is set at one pixel. You can reduce it to zero, or increase it further.Põ ‰ 1‹Yp‰ ×  Section 4.9: The Behaviour panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")N% × ) "€J€€€€‚’Section 4.9: The Behaviour panel‹f‰ b % €Ģ€˜€€‚’The Behaviour configuration panel allows you to control aspects of the behaviour of PuTTY's window.a2× Ć / .€d€ćģe|…€€€‰‚’Section 4.9.1: Controlling the window titlea2b $ / .€d€ć'wśū€€€‰‚’Section 4.9.2: ‘Warn before closing window’^/Ć ‚ / .€^€ć0tW…€€€‰‚’Section 4.9.3: ‘Window closes on ALT-F4’g8$ é / .€p€ć°x²z€€€‰‚’Section 4.9.4: ‘System menu appears on ALT-Space’g8‚ P / .€p€ć‚Ś±€€€‰‚’Section 4.9.5: ‘System menu appears on Alt alone’e6é µ / .€l€ćdī:a€€€‰‚’Section 4.9.6: ‘Ensure window is always on top’_0P  / .€`€ćz?Öw€€€‰‚’Section 4.9.7: ‘Full screen on Alt-Enter’Œ[µ   1J€q  ł @ Section 4.9.1: Controlling the window titleCBB("btn_up","JI(`',`t00000062')");EB("btn_up")Y0 ł ) "€`€€€€‚’Section 4.9.1: Controlling the window title1  * , &€ €˜€€€€‚’The ‘Window title’ edit box allows you to set the title of the PuTTY window. By default the window title will contain the host name followed by ‘PuTTY’, for example server1.example.com - PuTTY. If you want a different window title, this is where to set it.!éł K 8 >€Ó€˜€€€€ćĀdY7‰€€‚’PuTTY allows the server to send xterm control sequences which modify the title of the window in mid-session (unless this is disabled - see section 4.6.5); the title string set here is therefore only the initial window title.u=* Ą 8 >€{€˜€€€€€€€€‚’As well as the window title, there is also an xterm sequence to modify the title of the window's icon. This makes sense in a windowing system where the window becomes an icon when minimised, such as Windows 3.1 or most X Window System setups; but in the Windows 95-like user interface it isn't as applicable.*žK @ , &€ż€˜€€€€‚’By default, PuTTY only uses the server-supplied window title, and ignores the icon title entirely. If for some reason you want to see both titles, check the box marked ‘Separate window and icon titles’. If you do this, PuTTY's window title and Taskbar caption will change into the server-supplied icon title if you minimise the PuTTY window, and change back to the server-supplied window title if you restore it. (If the server has not bothered to supply a window or icon title, none of this will happen.)Ą @  Œ[Ą ˜@ 1 ™r˜@ ń@ „B Section 4.9.2: ‘Warn before closing window’CBB("btn_up","JI(`',`t00000062')");EB("btn_up")Y0 @ ń@ ) "€`€€€€‚’Section 4.9.2: ‘Warn before closing window’"ü˜@ B & €ł€˜€€‚’If you press the Close button in a PuTTY window that contains a running session, PuTTY will put up a warning window asking if you really meant to close the window. A window whose session has already terminated can always be closed without a warning.’mń@ „B % €Ś€˜€€‚’If you want to be able to close a window quickly, you can disable the ‘Warn before closing window’ option.‰XB .C 1g€«‚s.C „C •D Section 4.9.3: ‘Window closes on ALT-F4’CBB("btn_up","JI(`',`t00000062')");EB("btn_up")V-„B „C ) "€Z€€€€‚’Section 4.9.3: ‘Window closes on ALT-F4’å.C •D , &€Ė€˜€€ć'wśū‰‚’By default, pressing ALT-F4 causes the window to close (or a warning box to appear; see section 4.9.2). If you disable the ‘Window closes on ALT-F4’ option, then pressing ALT-F4 will simply send a key sequence to the server.’a„C 'E 1—™Ē„t'E †E ¾G Section 4.9.4: ‘System menu appears on ALT-Space’CBB("btn_up","JI(`',`t00000062')");EB("btn_up")_6•D †E ) "€l€€€€‚’Section 4.9.4: ‘System menu appears on ALT-Space’×'E ‰F , &€Æ€˜€€€€‚’If this option is enabled, then pressing ALT-Space will bring up the PuTTY window's menu, like clicking on the top left corner. If it is disabled, then pressing ALT-Space will just send ESC SPACE to the server.5†E ¾G & €€˜€€‚’Some accessibility programs for Windows may need this option enabling to be able to control PuTTY's window successfully. For instance, Dragon NaturallySpeaking requires it both to open the system menu via voice, and to close, minimise, maximise and restore the window.’a‰F PH 1W«‚Ļ…uPH ÆH §I Section 4.9.5: ‘System menu appears on Alt alone’CBB("btn_up","JI(`',`t00000062')");EB("btn_up")_6¾G ÆH ) "€l€€€€‚’Section 4.9.5: ‘System menu appears on Alt alone’ųŅPH §I & €„€˜€€‚’If this option is enabled, then pressing and releasing ALT will bring up the PuTTY window's menu, like clicking on the top left corner. If it is disabled, then pressing and releasing ALT will have no effect._ÆH 7J 1×Ē„X†v7J ”J K Section 4.9.6: ‘Ensure window is always on top’CBB("btn_up","JI(`',`t00000062')");EB("btn_up")]4§I ”J ) "€h€€€€‚’Section 4.9.6: ‘Ensure window is always on top’zU7J K % €Ŗ€˜€€‚’If this option is enabled, the PuTTY window will stay on top of all other windows.ŠY”J ˜K 1ļĻ…Ģ‡w˜K ļK ‡M Section 4.9.7: ‘Full screen on Alt-Enter’CBB("btn_up","JI(`',`t00000062')");EB("btn_up")W.K ļK ) "€\€€€€‚’Section 4.9.7: ‘Full screen on Alt-Enter’ĪؘK ½L & €Q€˜€€‚’If this option is enabled, then pressing Alt-Enter will cause the PuTTY window to become full-screen. Pressing Alt-Enter again will restore the previous window size.ŹžļK ‡M , &€=€˜€€ć¬ÄłN‰‚’The full-screen feature is also available from the System menu, even when it is configured not to be available on the Alt-Enter key. See section 3.1.3.7.„S½L N 1RX†Ėx N \N i Section 4.10: The Translation panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")Q(‡M \N ) "€P€€€€‚’Section 4.10: The Translation panelŠŖ N ,O & €U€˜€€‚’The Translation configuration panel allows you to control the translation between the character set understood by the server and the character set understood by PuTTY.k<\N —O / .€x€ćoÅsŗ€€€‰‚’Section 4.10.1: Controlling character set translationn?,O € / .€~€ć ¢Å?€€€‰‚’Section 4.10.2: ‘Treat CJK ambiguous characters as wid—O € ‡M e’i:—O z€ / .€t€ć¾æķ€€€‰‚’Section 4.10.3: ‘Caps Lock acts as Cyrillic switch’tE€ ī€ / .€Š€ć÷ł0Ō€€€‰‚’Section 4.10.4: Controlling display of line-drawing characters{Lz€ i / .€˜€ćŲk—Õ€€€‰‚’Section 4.10.5: Controlling copy and paste of line drawing characters–eī€ ’ 1xĢ‡Ļy’ b‚ wŠ Section 4.10.1: Controlling character set translationCBB("btn_up","JI(`',`t00000063')");EB("btn_up")c:i b‚ ) "€t€€€€‚’Section 4.10.1: Controlling character set translationį»’ C„ & €w€˜€€‚’During an interactive session, PuTTY receives a stream of 8-bit bytes from the server, and in order to display them on the screen it needs to know what character set to interpret them in. Similarly, PuTTY needs to know how to translate your keystrokes into the encoding the server expects. Unfortunately, there is no satisfactory mechanism for PuTTY and the server to communicate this information, so it must usually be manually configured.kb‚ ӄ % €Ö€˜€€‚’There are a lot of character sets to choose from. The ‘Remote character set’ option lets you select one.œvC„ o† & €ķ€˜€€‚’By default PuTTY will use the UTF-8 encoding of Unicode, which can represent pretty much any character; data coming from the server is interpreted as UTF-8, and keystrokes are sent UTF-8 encoded. This is what most modern distributions of Linux will expect by default. However, if this is wrong for your server, you can select a different character set using this control.O*ӄ ¾† % €T€˜€€‚’A few other notable character sets are:½o† {‡ . *€€T˜‘€8‚€ƒ€‚’•The ISO-8859 series are all standard character sets that include various accented characters appropriate for different sets of languages.Ņ¾† {ˆ . *€„€T˜‘€8‚€ƒ€‚’•The Win125x series are defined by Microsoft, for similar purposes. In particular Win1252 is almost equivalent to ISO-8859-1, but contains a few extra characters such as matched quotes and the Euro symbol.¤w{‡ ‰ - *€ī€T˜‘€8‚€ƒ€‚’•If you want the old IBM PC character set with block graphics and line-drawing characters, you can select ‘CP437’.X,{ˆ wŠ , &€Y€˜€€€€‚’If you need support for a numeric code page which is not listed in the drop-down list, such as code page 866, then you can try entering its name manually (CP866 for example) in the list box. If the underlying version of Windows has the appropriate translation table installed, PuTTY will use it.™h‰ ‹ 1‚Ė± z‹ v‹ ’Ž Section 4.10.2: ‘Treat CJK ambiguous characters as wide’CBB("btn_up","JI(`',`t00000063')");EB("btn_up")f=wŠ v‹ ) "€z€€€€‚’Section 4.10.2: ‘Treat CJK ambiguous characters as wide’Ļ©‹ E & €S€˜€€‚’There are some Unicode characters whose width is not well-defined. In most contexts, such characters should be treated as single-width for the purposes of wrapping and so on; however, in some CJK contexts, they are better treated as double-width for historical reasons, and some server-side applications may expect them to be displayed as such. Setting this option will cause PuTTY to take the double-width interpretation.Ś“v‹ Ž & €i€˜€€‚’If you use legacy CJK applications, and you find your lines are wrapping in the wrong places, or you are having other display problems, you might want to play with this setting.sHE ’Ž + &€€˜€€ćoÅsŗ‰‚’This option only has any effect in UTF-8 mode (see section 4.10.1).”cŽ & 1īĻj€{& ‡ Į Section 4.10.3: ‘Caps Lock acts as Cyrillic switch’CBB("btn_up","JI(`',`t00000063')");EB("btn_up")a8’Ž ‡ ) "€p€€€€‚’Section 4.10.3: ‘Caps Lock acts as Cyrillic switch’žŲ& ‘Ą & €±€˜€€‚’This feature allows you to switch between a US/UK keyboard layout and a Cyrillic k‡ ‘Ą ’Ž eyboard layout by using the Caps Lock key, if you need to type (for example) Russian and English side by side in the same document.j‡ Į % €Ō€˜€€‚’Currently this feature is not expected to work properly if your native keyboard layout is not US or UK.Ÿn‘Ą æĮ 1ō± ‡|æĮ +Ā ³É Section 4.10.4: Controlling display of line-drawing charactersCBB("btn_up","JI(`',`t00000063')");EB("btn_up")lC Į +Ā ) "€†€€€€‚’Section 4.10.4: Controlling display of line-drawing charactersĪØæĮ łĆ & €Q€˜€€‚’VT100-series terminals allow the server to send control sequences that shift temporarily into a separate character set for drawing simple lines and boxes. However, there are a variety of ways in which PuTTY can attempt to find appropriate characters, and the right one to use depends on the locally configured font. In general you should probably try lots of options until you find one that your particular font supports.óÅ+Ā ģÄ . *€‹€T˜‘€8‚€ƒ€‚’•‘Use Unicode line drawing code points’ tries to use the box characters that are present in Unicode. For good Unicode-supporting fonts this is probably the most reliable and functional option.@śłĆ ,Ę F Z€õ€T˜‘€8‚€ƒ€€€€€€€€€‚’•‘Poor man's line drawing’ assumes that the font cannot generate the line and box characters at all, so it will use the +, - and | characters to draw approximations to boxes. You should use this option if none of the other options works.ƁģÄ ŪĒ . *€€T˜‘€8‚€ƒ€‚’•‘Font has XWindows encoding’ is for use with fonts that have a special encoding, where the lowest 32 character positions (below the ASCII printable range) contain the line-drawing characters. This is unlikely to be the case with any standard Windows font; it will probably only apply to custom-built fonts or fonts that have been automatically converted from the X Window System./,Ę É . *€€T˜‘€8‚€ƒ€‚’•‘Use font in both ANSI and OEM modes’ tries to use the same font in two different character sets, to obtain a wider range of characters. This doesn't always work; some fonts claim to be a different size depending on which character set you try to use.©|ŪĒ ³É - *€ų€T˜‘€8‚€ƒ€‚’•‘Use font in OEM mode only’ is more reliable than that, but can miss out other characters from the main character set.¦u É YŹ 1kj€ŽŠ}YŹ ĢŹ ÄĪ Section 4.10.5: Controlling copy and paste of line drawing charactersCBB("btn_up","JI(`',`t00000063')");EB("btn_up")sJ³É ĢŹ ) "€”€€€€‚’Section 4.10.5: Controlling copy and paste of line drawing charactersłÆYŹ ÅĶ J b€_€˜€€€€€€€€€€€€€€‚’By default, when you copy and paste a piece of the PuTTY screen that contains VT100 line and box drawing characters, PuTTY will paste them in the form they appear on the screen: either Unicode line drawing code points, or the ‘poor man's’ line-drawing characters +, - and |. The checkbox ‘Copy and paste VT100 line drawing chars as lqqqk’ disables this feature, so line-drawing characters will be pasted as the ASCII characters that were printed to produce them. This will typically mean they come out mostly as q and x, with a scattering of jklmntuvw at the corners. This might be useful if you were trying to recreate the same box layout in another program, for example.’ÓĢŹ ÄĪ , &€§€˜€€€€‚’Note that this option only applies to line-drawing characters which were printed by using the VT100 mechanism. Line-drawing characters that were received as Unicode code points will paste as Unicode always.‚QÅĶ FĻ 1ׇ~FĻ •Ļ ) Section 4.11: The Selection panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")O&ÄĪ •Ļ ) "€L€€€€‚’Section 4.11: The Selection panel‚]FĻ # % €ŗ€˜€€‚’The Selection panel allows you to control the way copy and paste work•Ļ # ÄĪ in the PuTTY window.a2•Ļ „ / .€d€ć@ĖŽļ€€€‰‚’Section 4.11.1: Pasting in Rich Text Formato@# ó / .€€€ćŁ“§.€€€‰‚’Section 4.11.2: Changing the actions of the mouse buttonsrC„ e / .€†€ć.Ąą€€€‰‚’Section 4.11.3: ‘Shift overrides application's use of mouse’\-ó Į / .€Z€ć ·kJ€€€‰‚’Section 4.11.4: Default selection modeh9e ) / .€r€ćż@€€€‰‚’Section 4.11.5: Configuring word-by-word selectionŒ[Į µ 1WŽŠžµ   Section 4.11.1: Pasting in Rich Text FormatCBB("btn_up","JI(`',`t00000064')");EB("btn_up")Y0)  ) "€`€€€€‚’Section 4.11.1: Pasting in Rich Text Format‘kµ Ÿ & €×€˜€€‚’If you enable ‘Paste to clipboard in RTF as well as plain text’, PuTTY will write formatting information to the clipboard as well as the actual text you copy. The effect of this is that if you paste into (say) a word processor, the text will appear in the word processor in the same font, colour, and style (e.g. bold, underline) PuTTY was using to display it.mH  % €€˜€€‚’This option can easily be inconvenient, so by default it is disabled.šiŸ ¦ 1—¼€¦  = Section 4.11.2: Changing the actions of the mouse buttonsCBB("btn_up","JI(`',`t00000064')");EB("btn_up")g>   ) "€|€€€€‚’Section 4.11.2: Changing the actions of the mouse buttons8 ¦ E , &€€˜€€€€‚’PuTTY's copy and paste mechanism is by default modelled on the Unix xterm application. The X Window System uses a three-button mouse, and the convention is that the left button selects, the right button extends an existing selection, and the middle button pastes.ģŗ  1 2 2€u€˜€€€€€€‚’Windows often only has two mouse buttons, so in PuTTY's default configuration (‘Compromise’), the right button pastes, and the middle button (if you have one) extends a selection.ƗE ō , &€/€˜€€€€‚’If you have a three-button mouse and you are already used to the xterm arrangement, you can select it using the ‘Action of mouse buttons’ control.I#1 = & €G€˜€€‚’Alternatively, with the ‘Windows’ option selected, the middle button extends, and the right button brings up a context menu (on which one of the options is ‘Paste’). (This context menu is always available by holding down Ctrl and right-clicking, regardless of the setting of this option.)lō Ś 1.ž€Ś D @ Section 4.11.3: ‘Shift overrides application's use of mouse’CBB("btn_up","JI(`',`t00000064')");EB("btn_up")jA= D ) "€‚€€€€‚’Section 4.11.3: ‘Shift overrides application's use of mouse’a)Ś „ 8 >€S€˜€€€€€€€€‚’PuTTY allows the server to send control codes that let it take over the mouse and use it for purposes other than copy and paste. Applications which use this feature include the text-mode web browser links, the Usenet newsreader trn version 4, and the file manager mc (Midnight Commander).ūÕD   & €«€˜€€‚’When running one of these applications, pressing the mouse buttons no longer performs copy and paste. If you do need to copy and paste, you can still do so if you hold down Shift while you do your mouse clicks.©ƒ„ I & €€˜€€‚’However, it is possible in theory for applications to even detect and make use of Shift + mouse clicks. We don't know of any applications that do this, but in case someone ever writes one, unchecking the ‘Shift overrides application's use of mouse’ checkbox will cause Shift + mouse clicks to go to the server as well (so that mouse-driven copy and paste will be completely disabled).擠 @ , &€'€˜€€ćā³„‰‚’If you want to prevent the application from taking over the mouse at all, you can do this using the Features control panel; see section 4I @ = .6.2.‡VI ›@ 1n¼ķ‚‚›@ ļ@ D Section 4.11.4: Default selection modeCBB("btn_up","JI(`',`t00000064')");EB("btn_up")T+@ ļ@ ) "€V€€€€‚’Section 4.11.4: Default selection modešÄ›@ ßB , &€‰€˜€€ćxÄłN‰‚’As described in section 3.1.1, PuTTY has two modes of selecting text to be copied to the clipboard. In the default mode (‘Normal’), dragging the mouse from point A to point B selects to the end of the line containing A, all the lines in between, and from the very beginning of the line containing B. In the other mode (‘Rectangular block’), dragging the mouse between two points defines a rectangle, and everything within that rectangle is copied.*žļ@ D , &€ż€˜€€€€‚’Normally, you have to hold down Alt while dragging the mouse to select a rectangular block. Using the ‘Default selection mode’ control, you can set rectangular selection as the default, and then you have to hold down Alt to get the normal behaviour.“bßB œD 1 €&‰ƒœD üD §L Section 4.11.5: Configuring word-by-word selectionCBB("btn_up","JI(`',`t00000064')");EB("btn_up")`7 D üD ) "€n€€€€‚’Section 4.11.5: Configuring word-by-word selectionÕƜD ŃE & €_€˜€€‚’PuTTY will select a word at a time in the terminal window if you double-click to begin the drag. This panel allows you to control precisely what is considered to be a word.GüD G , &€7€˜€€€€‚’Each character is given a class, which is a small number (typically 0, 1 or 2). PuTTY considers a single word to be any number of adjacent characters in the same class. So by modifying the assignment of characters to classes, you can modify the word-by-word selection behaviour.`;ŃE xG % €v€˜€€‚’In the default configuration, the character classes are:g:G ßG - *€t€T˜‘€8‚€ƒ€‚’•Class 0 contains white space and control characters.U(xG 4H - *€P€T˜‘€8‚€ƒ€‚’•Class 1 contains most punctuation.»ßG ļH . *€€T˜‘€8‚€ƒ€‚’•Class 2 contains letters, numbers and a few pieces of punctuation (the double quote, minus sign, period, forward slash and underscore).»4H ŖI , &€€˜€€€€‚’So, for example, if you assign the @ symbol into character class 2, you will be able to select an e-mail address with just a double click.Ł³ļH ƒJ & €g€˜€€‚’In order to adjust these assignments, you start by selecting a group of characters in the list box. Then enter a class number in the edit box below, and press the ‘Set’ button.«…ŖI .K & € €˜€€‚’This mechanism currently only covers ASCII characters, because it isn't feasible to expand the list to cover the whole of Unicode.yGƒJ §L 2 2€€˜€€€€ć€ÄłN‰‚’Character class definitions can be modified by control sequences sent by the server. This configuration option controls the default state, which will be restored when you reset the terminal (see section 3.1.3.6). However, if you modify this option in mid-session using ‘Change Settings’, it will take effect immediately.€O.K 'M 12ķ‚C„'M tM ~€ Section 4.12: The Colours panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")M$§L tM ) "€H€€€€‚’Section 4.12: The Colours panelfA'M ŚM % €‚€˜€€‚’The Colours panel allows you to control PuTTY's use of colour.n?tM HN / .€~€ćŒ¤Ü\€€€‰‚’Section 4.12.1: ‘Allow terminal to specify ANSI colours’sDŚM »N / .€ˆ€ćܶųĶ€€€‰‚’Section 4.12.2: ‘Allow terminal to use xterm 256-colour mode’k<HN &O / .€x€ć&įŻ\€€€‰‚’Section 4.12.3: ‘Indicate bolded text by changing...’g8»N O / .€p€ćˆ))€€€‰‚’Section 4.12.4: ‘Attempt to use logical palettes’Z+&O € / .€V€ć³—U€€€‰‚’Section 4.12.5: ‘Use system colours’O € §L rCO ~€ / .€†€ć×TĒ€€€‰‚’Section 4.12.6: Adjusting the colours in the terminal window™h €  1Ž&‰¬… } õ‚ Section 4.12.1: ‘Allow terminal to specify ANSI colours’CBB("btn_up","JI(`',`t00000065')");EB("btn_up")f=~€ } ) "€z€€€€‚’Section 4.12.1: ‘Allow terminal to specify ANSI colours’³ 0‚ & €€˜€€‚’This option is enabled by default. If it is disabled, PuTTY will ignore any control sequences sent by the server to request coloured text.ş} õ‚ & €?€˜€€‚’If you have a particularly garish application, you might want to turn this option off and make PuTTY only use the default foreground and background colours.žm0‚ “ƒ 1ICķ†“ƒ žƒ ܇ Section 4.12.2: ‘Allow terminal to use xterm 256-colour mode’CBB("btn_up","JI(`',`t00000065')");EB("btn_up")kBõ‚ žƒ ) "€„€€€€‚’Section 4.12.2: ‘Allow terminal to use xterm 256-colour mode’ļƓƒ ķ„ , &€‡€˜€€€€‚’This option is enabled by default. If it is disabled, PuTTY will ignore any control sequences sent by the server which use the extended 256-colour mode supported by recent versions of xterm.|Jžƒ i† 2 2€•€˜€€€€€€‚’If you have an application which is supposed to use 256-colour mode and it isn't working, you may find you need to tell your server that your terminal supports 256 colours. On Unix, you do this by ensuring that the setting of TERM describes a 256-colour-capable terminal. You can check this using a command such as infocmp:>ķ„ §† $ €4€€€‚’$ infocmp | grep colorsg<i† ‡ + &€x€˜€€€€‚’ colors#256, cols#80, it#8, lines#24, pairs#256,Īœ§† ܇ 2 2€9€˜€€€€€€‚’If you do not see ‘colors#256’ in the output, you may need to change your terminal setting. On modern Linux machines, you could try ‘xterm-256color’.–e‡ rˆ 1C¬‡rˆ Ո µŒ Section 4.12.3: ‘Indicate bolded text by changing...’CBB("btn_up","JI(`',`t00000065')");EB("btn_up")c:܇ Ո ) "€t€€€€‚’Section 4.12.3: ‘Indicate bolded text by changing...’wKrˆ LŠ , &€—€˜€€€€‚’When the server sends a control sequence indicating that some text should be displayed in bold, PuTTY can handle this in several ways. It can either change the font for a bold version, or use the same font in a brighter colour, or it can do both (brighten the colour and embolden the font). This control lets you choose which.°ŠՈ ü‹ & €€˜€€‚’By default bold is indicated by colour, so non-bold text is displayed in light grey and bold text is displayed in bright white (and similarly in other colours). If you change the setting to ‘The font’ box, bold and non-bold text will be displayed in the same colour, and instead the font will change to indicate the difference. If you select ‘Both’, the font and the colour will both change.¹“LŠ µŒ & €'€˜€€‚’Some applications rely on ‘bold black’ being distinguishable from a black background; if you choose ‘The font’, their text may become invisible.’aü‹ G 1 ķ& ˆG ¦ S Section 4.12.4: ‘Attempt to use logical palettes’CBB("btn_up","JI(`',`t00000065')");EB("btn_up")_6µŒ ¦ ) "€l€€€€‚’Section 4.12.4: ‘Attempt to use logical palettes’źÄG Ž & €‰€˜€€‚’Logical palettes are a mechanism by which a Windows application running on an 8-bit colour display can select precisely the colours it wants instead of going with the Windows standard defaults.Ɲ¦ S & €;€˜€€‚’If you are not getting the colours you ask for on an 8-bit display, you can try enabling this option. However, be warned that it's never worked very well.…TŽ Ą 1$£‰ Ą ^Ą 0Ā Section 4.12.5: ‘Use system colours’CBB("btn_up","JI(`',`t00000065')");EB("btn_up")S Ą S R)S ^Ą ) "€R€€€€‚’Section 4.12.5: ‘Use system colours’÷Ė Ą UĮ , &€—€˜€€ć×TĒ‰‚’Enabling this option will cause PuTTY to ignore the configured colours for ‘Default Background/Foreground’ and ‘Cursor Colour/Text’ (see section 4.12.6), instead going with the system-wide defaults.ŪÆ^Ą 0Ā , &€_€˜€€ć&įŻ\‰‚’Note that non-bold and bold text will be the same colour if this option is enabled. You might want to change to indicating bold text by font changes (see section 4.12.3).lUĮ ĶĀ 1S& u†ŠĶĀ 7Ć Č Section 4.12.6: Adjusting the colours in the terminal windowCBB("btn_up","JI(`',`t00000065')");EB("btn_up")jA0Ā 7Ć ) "€‚€€€€‚’Section 4.12.6: Adjusting the colours in the terminal windowJ$ĶĀ Å & €I€˜€€‚’The main colour control allows you to specify exactly what colours things should be displayed in. To modify one of the PuTTY colours, use the list box to select which colour you want to modify. The RGB values for that colour will appear on the right-hand side of the list box. Now, if you press the ‘Modify’ button, you will be presented with a colour selector, in which you can choose a new colour to go in place of the old one. (You may also edit the RGB values directly in the edit boxes, if you wish; each value is an integer from 0 to 255.)Ÿm7Ć Č 2 2€Ū€˜€€ć&įŻ\‰€€‚’PuTTY allows you to set the cursor colour, the default foreground and background, and the precise shades of all the ANSI configurable colours (black, red, green, yellow, blue, magenta, cyan, and white). You can also modify the precise shades used for the bold versions of these colours; these are used to display bold text if you have chosen to indicate that by colour (see section 4.12.3), and can also be used if the server asks specifically to use them. (Note that ‘Default Bold Background’ is not the background colour used for bold text; it is only used if the server specifically asks for a bold background.)ƒRÅ £Č 1Å£ˆ‹£Č óČ hĖ Section 4.13: The Connection panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")P' Č óČ ) "€N€€€€‚’Section 4.13: The Connection panelŒg£Č É % €Ī€˜€€‚’The Connection panel allows you to configure options that apply to more than one type of connection.o@óČ īÉ / .€€€ćźųĀk€€€‰‚’Section 4.13.1: Using keepalives to prevent disconnectiona2É OŹ / .€d€ćhĖ iĢ ) "€|€€€€‚’Section 4.13.1: Using keepalives to prevent disconnectionŲ²Ģ AĶ & €e€˜€€‚’If you find your sessions are closing unexpectedly (most often with ‘Connection reset by peer’) after they have been idle for a while, you might want to try using this option.‚\iĢ ĆĪ & €¹€˜€€‚’Some network routers and firewalls need to keep track of all connections through them. Usually, these firewalls will assume a connection is dead if no data is transferred in either direction after a certain time interval. This can cause PuTTY sessions to be unexpectedly closed by the firewall if no traffic is seen in the session for some time. ćAĶ Ų & €Ē€˜€€‚’The keepalive option (‘Seconds between keepalives’) allows you to configure PuTTY to send data through the session at regular intervals, in a way that does not disrupt the actual terminal session. If you find your firewall is cutting idle connections off, you can try entering aĆĪ Ų hĖ non-zero value in this field. The value is measured in seconds; so, for example, if your firewall cuts connections off after ten minutes then you might want to enter 300 seconds (5 minutes) in the box.e9ĆĪ = , &€s€˜€€ćįŸ‰‚’Note that keepalives are not always helpful. They help if you have a firewall which drops your connection after an idle period; but if the network between you and the server suffers from breaks in connectivity then keepalives can actually make things worse. If a session is idle, and connectivity is temporarily lost between the endpoints, but the connectivity is restored before either side tries to send anything, then there will be no problem - neither endpoint will notice that anything was wrong. However, if one side does send something during the break, it will repeatedly try to re-send, and eventually give up and abandon the connection. Then when connectivity is restored, the other side will find that the first side doesn't believe there is an open connection any more. Keepalives can make this sort of problem worse, because they increase the probability that PuTTY will attempt to send data during a break in connectivity. (Other types of periodic network activity can cause this behaviour; in particular, SSH-2 re-keys can have this effect. See section 4.19.2.)ęŗŲ # , &€u€˜€€€€‚’Therefore, you might find that keepalives help connection loss, or you might find they make it worse, depending on what kind of network problems you have between you and the server.ĖŸ= ī , &€?€˜€€ćŗw¢‰‚’Keepalives are only supported in Telnet and SSH; the Rlogin and Raw protocols offer no way of implementing them. (For an alternative, see section 4.13.3.)įµ# Ļ , &€k€˜€€ć‚īC‰‚’Note that if you are using SSH-1 and the server has a bug that makes it unable to deal with SSH-1 ignore messages (see section 4.26.1), enabling keepalives will have no effect.Œ[ī [ 1Nˆ![ “ © Section 4.13.2: ‘Disable Nagle's algorithm’CBB("btn_up","JI(`',`t00000066')");EB("btn_up")Y0Ļ “ ) "€`€€€€‚’Section 4.13.2: ‘Disable Nagle's algorithm’†`[ : & €Į€˜€€‚’Nagle's algorithm is a detail of TCP/IP implementations that tries to minimise the number of small data packets sent down a network connection. With Nagle's algorithm enabled, PuTTY's bandwidth usage will be slightly more efficient; with it disabled, you may find you get a faster response to your keystrokes when connecting to some types of server.oJ“ © % €”€˜€€‚’The Nagle algorithm is disabled by default for interactive connections.ˆW: 1 1/G*€Ž1 † l@ Section 4.13.3: ‘Enable TCP keepalives’CBB("btn_up","JI(`',`t00000066')");EB("btn_up")U,© † ) "€X€€€€‚’Section 4.13.3: ‘Enable TCP keepalives’ß1 ” / ,€æ€˜€€€ćźųĀk‰‚’NOTE: TCP keepalives should not be confused with the application-level keepalives described in section 4.13.1. If in doubt, you probably want application-level keepalives; TCP keepalives are provided for completeness.¤† 8 % €ž€˜€€‚’The idea of TCP keepalives is similar to application-level keepalives, and the same caveats apply. The main differences are:ŠW” Ā 3 6€®€T˜‘€8‚€ƒ€€€‚’•TCP keepalives are available on all connection types, including Raw and Rlogin.Š¢8 ’ . *€E€T˜‘€8‚€ƒ€‚’•The interval between TCP keepalives is usually much longer, typically two hours; this is set by the operating system, and cannot be configured within PuTTY.Ł«Ā k . *€W€T˜‘€8‚€ƒ€‚’•If the operating system does not receive a response to a keepalive, it may send out more in quick succession and terminate the connection if no response is received.¦€’ @ & €€˜€€‚’TCP keepalives may be more useful for ensuring that half-open connections are terminated than for keeping a cok @ © nnection alive.O*k l@ % €T€˜€€‚’TCP keepalives are disabled by default.„S@ š@ 1ó!}ƒš@ AA ćD Section 4.13.4: ‘Internet protocol’CBB("btn_up","JI(`',`t00000066')");EB("btn_up")Q(l@ AA ) "€P€€€€‚’Section 4.13.4: ‘Internet protocol’c7š@ ¤B , &€o€˜€€ćnŠ«”‰‚’This option allows the user to select between the old and new Internet protocols and addressing schemes (IPv4 and IPv6). The selected protocol will be used for most outgoing network connections (including connections to proxies); however, tunnels have their own configuration, for which see section 4.25.2.®ˆAA RD & €€˜€€‚’The default setting is ‘Auto’, which means PuTTY will do something sensible and try to guess which protocol you wanted. (If you specify a literal Internet address, it will use whichever protocol that address implies. If you provide a hostname, it will see what kinds of address exist for that hostname; it will use IPv6 if there is an IPv6 address available, and fall back to IPv4 if not.)‘l¤B ćD % €Ų€˜€€‚’If you need to force PuTTY to use a particular protocol, you can explicitly set this to ‘IPv4’ or ‘IPv6’.Ž]RD qE 1% *€qE ĢE ¢€ Section 4.13.5: ‘Logical name of remote host’CBB("btn_up","JI(`',`t00000066')");EB("btn_up")[2ćD ĢE ) "€d€€€€‚’Section 4.13.5: ‘Logical name of remote host’½—qE ‰F & €/€˜€€‚’This allows you to tell PuTTY that the host it will really end up connecting to is different from where it thinks it is making a network connection.f4ĢE ļG 2 2€i€˜€€€€€€‚’You might use this, for instance, if you had set up an SSH port forwarding in one PuTTY session so that connections to some arbitrary port (say, localhost port 10022) were forwarded to a second machine's SSH port (say, foovax port 22), and then started a second PuTTY connecting to the forwarded port.±s‰F  I > J€ē€˜€€€€€€€€€€‚’In normal usage, the second PuTTY will access the host key cache under the host name and port it actually connected to (i.e. localhost port 10022 in this example). Using the logical host name option, however, you can configure the second PuTTY to cache the host key under the name of the host you know that it's really going to end up talking to (here foovax).™mļG 9L , &€Ū€˜€€ć€ Ūi‰‚’This can be useful if you expect to connect to the same actual server through many different channels (perhaps because your port forwarding arrangements keep changing): by consistently setting the logical host name, you can arrange that PuTTY will not keep asking you to reconfirm its host key. Conversely, if you expect to use the same local port number for port forwardings to lots of different servers, you probably didn't want any particular server's host key cached under that local port number. (For this latter case, you could also explicitly configure host keys in the relevant sessions; see section 4.19.3.)‹Y I ÄN 2 2€³€˜€€€€€€‚’If you just enter a host name for this option, PuTTY will cache the SSH host key under the default SSH port for that host, irrespective of the port you really connected to (since the typical scenario is like the above example: you connect to a silly real port number and your connection ends up forwarded to the normal port-22 SSH server of some other machine). To override this, you can append a port number to the logical host name, separated by a colon. E.g. entering ‘foovax:2200’ as the logical host name will cause the host key to be cached as if you had connected to port 2200 of foovax.Ņ¦9L ¢€ , &€M€˜€€€€‚’If you provide a host name using this option, it is also displayed in other locations which contain the remote host name, such as the default window title and the default SSH password prompt. This reflects the fact that this is the host you're really connecting to, whiÄN ¢€ ćD ch is more important than the mere means you happen to be using to contact that host. (This applies even if you're using a protocol other than SSH.)}LÄN  1“}ƒ3‘ i ²„ Section 4.14: The Data panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")J!¢€ i ) "€B€€€€‚’Section 4.14: The Data panel°Š ‚ & €€˜€€‚’The Data panel allows you to configure various pieces of data which can be sent to the server to affect your connection at the far end.¾˜i ׂ & €1€˜€€‚’Each option on this panel applies to more than one protocol. Options which apply to only one protocol appear on that protocol's configuration panels.[,‚ 2ƒ / .€X€ć„õ€€€‰‚’Section 4.14.1: ‘Auto-login username’\-ׂ Žƒ / .€Z€ć£óĀ¼€€€‰‚’Section 4.14.2: Use of system username\-2ƒ źƒ / .€Z€ć6Ձ€€€‰‚’Section 4.14.3: ‘Terminal-type string’W(Žƒ A„ / .€P€ćuƐĪ€€€‰‚’Section 4.14.4: ‘Terminal speeds’qBźƒ ²„ / .€„€ć/PYĻ€€€‰‚’Section 4.14.5: Setting environment variables on the server†UA„ 8… 1“R’8… ‹… Ė† Section 4.14.1: ‘Auto-login username’CBB("btn_up","JI(`',`t00000067')");EB("btn_up")S*²„ ‹… ) "€T€€€€‚’Section 4.14.1: ‘Auto-login username’šŹ8… {† & €•€˜€€‚’All three of the SSH, Telnet and Rlogin protocols allow you to specify what user name you want to log in as, without having to type it explicitly every time. (Some Telnet servers don't support this.)P+‹… Ė† % €V€˜€€‚’In this box you can type that user name.‡V{† R‡ 1ƒ3.“R‡ ¦‡ Պ Section 4.14.2: Use of system usernameCBB("btn_up","JI(`',`t00000067')");EB("btn_up")T+Ė† ¦‡ ) "€V€€€€‚’Section 4.14.2: Use of system username¶ŠR‡ \ˆ , &€€˜€€ć„õ‰‚’When the previous box (section 4.14.1) is left blank, by default, PuTTY will prompt for a username at the time you make a connection.a¦‡ é‰ , &€Ć€˜€€ć›¤c‰‚’In some environments, such as the networks of large organisations implementing single sign-on, a more sensible default may be to use the name of the user logged in to the local operating system (if any); this is particularly likely to be useful with GSSAPI authentication (see section 4.22). This control allows you to change the default behaviour.ģĘ\ˆ Պ & €€˜€€‚’The current system username is displayed in the dialog as a convenience. It is not saved in the configuration; if a saved session is later used by a different user, that user's name will be used.‡Vé‰ \‹ 1R€”\‹ °‹ wĄ Section 4.14.3: ‘Terminal-type string’CBB("btn_up","JI(`',`t00000067')");EB("btn_up")T+Պ °‹ ) "€V€€€€‚’Section 4.14.3: ‘Terminal-type string’‹Y\‹ ;Ž 2 2€³€˜€€€€€€‚’Most servers you might connect to with PuTTY are designed to be connected to from lots of different types of terminal. In order to send the right control sequences to each one, the server will need to know what type of terminal it is dealing with. Therefore, each of the SSH, Telnet and Rlogin protocols allow a text string to be sent down the connection describing the terminal. On a Unix server, this selects an entry from the termcap or terminfo database that tells applications what control sequences to send to the terminal, and what character sequences to expect the keyboard to generate.j2°‹ „ 8 >€e€˜€€€€€€€€‚’PuTTY attempts to emulate the Unix xterm program, and by default it reflects this by sending xterm as a terminal-type string. If you find this is not doing what you want - perhaps the remote system reports ‘Unknown terminal type’ - you could try setting this to something different, such as vt220.Ę ;Ž wĄ & €A€˜€€‚’If you're not sure whether a problem is due to the t„ wĄ Պ erminal type setting or not, you probably need to consult the manual for your application or your server.‚Q„ łĄ 1–.™ƒ•łĄ HĮ Å Section 4.14.4: ‘Terminal speeds’CBB("btn_up","JI(`',`t00000067')");EB("btn_up")O&wĄ HĮ ) "€L€€€€‚’Section 4.14.4: ‘Terminal speeds’ˆcłĄ ŠĮ % €Ę€˜€€‚’The Telnet, Rlogin, and SSH protocols allow the client to specify terminal speeds to the server.Z.HĮ *Ć , &€]€˜€€€€‚’This parameter does not affect the actual speed of the connection, which is always ‘as fast as possible’; it is just a hint that is sometimes used by server software to modify its behaviour. For instance, if a slow speed is indicated, the server may switch to a less bandwidth-hungry display mode.Č¢ŠĮ ņĆ & €E€˜€€‚’The value is usually meaningless in a network environment, but PuTTY lets you configure it, in case you find the server is reacting badly to the default value.H*Ć :Å 8 >€!€˜€€€€€€€€‚’The format is a pair of numbers separated by a comma, for instance, 38400,38400. The first number represents the output speed (from the server) in bits per second, and the second is the input speed (to the server). (Only the first is used in the Rlogin protocol.)U0ņĆ Å % €`€˜€€‚’This option has no effect on Raw connections.œk:Å +Ę 1d€=‡–+Ę ”Ę Ź Section 4.14.5: Setting environment variables on the serverCBB("btn_up","JI(`',`t00000067')");EB("btn_up")i@Å ”Ę ) "€€€€€€‚’Section 4.14.5: Setting environment variables on the servervP+Ę Č & €”€˜€€‚’The Telnet protocol provides a means for the client to pass environment variables to the server. Many Telnet servers have stopped supporting this feature due to security flaws, but PuTTY still supports it for the benefit of any servers which have found other ways around the security problems than just disabling the whole mechanism.į»”Ę ėČ & €w€˜€€‚’Version 2 of the SSH protocol also provides a similar mechanism, which is easier to implement without security flaws. Newer SSH-2 servers are more likely to support it than older ones.rM Č ]É % €š€˜€€‚’This configuration data is not used in the SSH-1, rlogin or raw protocols.2 ėČ Ź & €€˜€€‚’To add an environment variable to the list transmitted down the connection, you enter the variable name in the ‘Variable’ box, enter its value in the ‘Value’ box, and press the ‘Add’ button. To remove one from the list, select it in the list box and press ‘Remove’.~M]É Ė 1Ī™ƒ— Ė XĖ Section 4.15: The Proxy panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")K"Ź XĖ ) "€D€€€€‚’Section 4.15: The Proxy panel]1 Ė µĢ , &€c€˜€€ć¦ÄłN‰‚’The Proxy panel allows you to configure PuTTY to use various types of proxy in order to make its network connections. The settings in this panel affect the primary network connection forming your PuTTY session, and also any extra connections made as a result of SSH port forwarding (see section 3.5).#żXĖ ŲĶ & €ū€˜€€‚’Note that unlike some software (such as web browsers), PuTTY does not attempt to automatically determine whether to use a proxy and (if so) which one to use for a given destination. If you need to use a proxy, it must always be explicitly configured.\-µĢ 4Ī / .€Z€ćč8–€€€‰‚’Section 4.15.1: Setting the proxy typerCŲĶ ¦Ī / .€†€ć „ŁZ€€€‰‚’Section 4.15.2: Excluding parts of the network from proxyingh94Ī Ļ / .€r€ć“8&°€€€‰‚’Section 4.15.3: Name resolution when using a proxy[,¦Ī iĻ / .€X€ćŹh–€€€‰‚’Section 4.15.4: Username and passwordrCĻ / .€†€ć]½v€€€‰‚’Section 4.15.5: Specifying the Telnet or Local proxy commandiĻ Ź ˆWiĻ ” 1S=‡į˜” č ē Section 4.15.1: Setting the proxy typeCBB("btn_up","JI(`',`proxy.main')");EB("btn_up")T+ č ) "€V€€€€‚’Section 4.15.1: Setting the proxy typeõĻ” Ż & €Ÿ€˜€€‚’The ‘Proxy type’ radio buttons allow you to configure what type of proxy you want PuTTY to use for its network connections. The default setting is ‘None’; in this mode no proxy is used for any connection.Ę’č £ 4 6€%€T˜‘€8‚€ƒ€€€‚’•Selecting ‘HTTP’ allows you to proxy your connections through a web server supporting the HTTP CONNECT command, as documented in RFC 2817.cŻ 3 - *€Ę€T˜‘€8‚€ƒ€‚’•Selecting ‘SOCKS 4’ or ‘SOCKS 5’ allows you to proxy your connections through a SOCKS server._+£ ’ 4 6€W€T˜‘€8‚€ƒ€€€‚’•Many firewalls implement a less formal type of proxy in which a user can make a Telnet connection directly to the firewall machine and enter a command such as connect myhost.com 22 to connect through to an external host. Selecting ‘Telnet’ allows you to tell PuTTY to use this type of proxy.I3 Ū 4 6€+€T˜‘€8‚€ƒ€ć]½v‰‚’•Selecting ‘Local’ allows you to specify an arbitrary command on the local machine to act as a proxy. When the session is started, instead of creating a TCP connection, PuTTY runs the command (specified in section 4.15.5), and uses its standard input and output streams.ć¼’ ¾ ' €y€˜‘€€‚’This could be used, for instance, to talk to some kind of network proxy that PuTTY does not natively support; or you could tunnel a connection over something other than TCP/IP entirely.)öŪ ē 3 4€ķ€˜‘€€€€ćūÄłN‰‚’If you want your local proxy command to make a secondary SSH connection to a proxy host and then tunnel the primary connection over that, you might well want the -nc command-line option in Plink. See section 3.8.3.14 for more information. žm¾ … 1¾€™… ļ O@ Section 4.15.2: Excluding parts of the network from proxyingCBB("btn_up","JI(`',`proxy.main')");EB("btn_up")jAē ļ ) "€‚€€€€‚’Section 4.15.2: Excluding parts of the network from proxying”n… ƒ & €Ż€˜€€‚’Typically you will only need to use a proxy to connect to non-local parts of your network; for example, your proxy might be required for connections outside your company's internal network. In the ‘Exclude Hosts/IPs’ box you can enter ranges of IP addresses, or ranges of DNS names, for which PuTTY will avoid using the proxy and make a direct connection instead.ļĆļ r , &€‡€˜€€€€‚’The ‘Exclude Hosts/IPs’ box may contain more than one exclusion range, separated by commas. Each range can be an IP address or a DNS name, with a * character allowing wildcards. For example:5ƒ § % € €˜€€‚’*.example.comxMr  + &€š€˜€€€€‚’This excludes any host with a name ending in .example.com from proxying.4§ S % €€˜€€‚’192.168.88.*yT Ģ % €Ø€˜€€‚’This excludes any host with an IP address starting with 192.168.88 from proxying.BS  % €:€˜€€‚’192.168.88.*,*.example.comW2Ģ e % €d€˜€€‚’This excludes both of the above ranges at once.uI Ś , &€“€˜€€€€‚’Connections to the local host (the host name localhost, and any loopback IP address) are never proxied, even if the proxy exclude list does not explicitly contain them. It is very unlikely that this behaviour would ever cause problems, but if it does you can change it by enabling ‘Consider proxying local host connections’.i=e O@ , &€{€˜€€ć“8&°‰‚’Note that if you are doing DNS at the proxy (see section 4.15.3), you should make sure that your proxy exclusion settings do not depend on knowing the IP address of a host. If the name is passed on to the proxy without PuTTY looking it up, it willŚ O@ ē never know the IP address and cannot check it against your list.”cŚ ć@ 1GįZ…šć@ CA *G Section 4.15.3: Name resolution when using a proxyCBB("btn_up","JI(`',`proxy.main')");EB("btn_up")`7O@ CA ) "€n€€€€‚’Section 4.15.3: Name resolution when using a proxyć½ć@ &B & €{€˜€€‚’If you are using a proxy to access a private network, it can make a difference whether DNS name resolution is performed by PuTTY itself (on the client machine) or performed by the proxy._9CA …C & €s€˜€€‚’The ‘Do DNS name lookup at proxy end’ configuration option allows you to control this. If you set it to ‘No’, PuTTY will always do its own DNS, and will always pass an IP address to the proxy. If you set it to ‘Yes’, PuTTY will always pass host names straight to the proxy without trying to look them up first. ć&B ŽD & €Ē€˜€€‚’If you set this option to ‘Auto’ (the default), PuTTY will do something it considers appropriate for each type of proxy. Telnet, HTTP, and SOCKS5 proxies will have host names passed straight to them; SOCKS4 proxies will not.i=…C ÷E , &€{€˜€€ć „ŁZ‰‚’Note that if you are doing DNS at the proxy, you should make sure that your proxy exclusion settings (see section 4.15.2) do not depend on knowing the IP address of a host. If the name is passed on to the proxy without PuTTY looking it up, it will never know the IP address and cannot check it against your list.3 ŽD *G & €€˜€€‚’The original SOCKS 4 protocol does not support proxy-side DNS. There is a protocol extension (SOCKS 4A) which does support it, but not all SOCKS 4 servers provide this extension. If you enable proxy DNS and your SOCKS 4 server cannot deal with it, this might be why.‡V÷E ±G 1e€=‰›±G H M Section 4.15.4: Username and passwordCBB("btn_up","JI(`',`proxy.main')");EB("btn_up")S**G H ) "€T€€€€‚’Section 4.15.4: Username and passwordžy±G ¢H % €ņ€˜€€‚’If your proxy requires authentication, you can enter a username and a password in the ‘Username’ and ‘Password’ boxes.ŠŖH rI & €U€˜€€‚’Note that if you save your session, the proxy password will be saved in plain text, so anyone who can access your PuTTY configuration data will be able to discover it.e@¢H ×I % €€€˜€€‚’Authentication is not fully supported for all forms of proxy:Š]rI aJ - *€ŗ€T˜‘€8‚€ƒ€‚’•Username and password authentication is supported for HTTP proxies and SOCKS 5 proxies.Õ§×I 6K . *€O€T˜!8‚€ƒ€‚’•With SOCKS 5, authentication is via CHAP if the proxy supports it (this is not supported in PuTTYtel); otherwise the password is sent to the proxy in plain text.½aJ óK . *€€T˜!8‚€ƒ€‚’•With HTTP proxying, the only currently supported authentication method is ‘basic’, where the password is sent to the proxy in plain text.xK6K kL - *€–€T˜‘€8‚€ƒ€‚’•SOCKS 4 can use the ‘Username’ field, but does not support passwords.«xóK M 3 6€š€T˜‘€8‚€ƒ€ć]½v‰‚’•You can specify a way to include a username and password in the Telnet/Local proxy command (see section 4.15.5).žmkL “M 1›Z…„œ“M N [… Section 4.15.5: Specifying the Telnet or Local proxy commandCBB("btn_up","JI(`',`proxy.main')");EB("btn_up")jAM N ) "€‚€€€€‚’Section 4.15.5: Specifying the Telnet or Local proxy commandź“M 4O , &€Õ€˜€€€€‚’If you are using the Telnet proxy type, the usual command required by the firewall's Telnet server is connect, followed by a host name and a port number. If your proxy needs a different command, you can enter an alternative here.zUN ®O % €Ŗ€˜€€‚’If you are using the Local proxy type, the local command to run is specified here.Eū4O ’€ J b€÷€˜€€€€€€€€€€€€€€‚’In this®O ’€ M string, you can use \n to represent a new-line, \r to represent a carriage return, \t to represent a tab character, and \x followed by two hex digits to represent any other character. \\ is used to encode the \ character itself.µ®O ƒ \ †€k€˜€€€€€€€€€€€€€€€€€€€€‚’Also, the special strings %host and %port will be replaced by the host name and port number you want to connect to. The strings %user and %pass will be replaced by the proxy username and password you specify. The strings %proxyhost and %proxyport will be replaced by the host details specified on the Proxy panel, if any (this is most likely to be useful for the Local proxy type). To get a literal % sign, enter %%. {’€ °ƒ % €ö€˜€€‚’If a Telnet proxy server prompts for a username and password before commands can be sent, you can use a command such as:K&ƒ ūƒ % €L€˜€€‚’%user\n%pass\nconnect %host %port\n`.°ƒ [… 2 2€]€˜€€€€€€‚’This will send your username and password as the first two lines to the proxy, followed by a command to connect to the desired host and port. Note that if you do not include the %user or %pass tokens in the Telnet command, then the ‘Username’ and ‘Password’ configuration fields will be ignored.Nūƒ Ś… 1†=‰Ś… &† `ˆ Section 4.16: The Telnet panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")L#[… &† ) "€F€€€€‚’Section 4.16: The Telnet panel|WŚ… ¢† % €®€˜€€‚’The Telnet panel allows you to configure options that only apply to Telnet sessions.i:&† ‡ / .€t€ć¶Ö怀€‰‚’Section 4.16.1: ‘Handling of OLD_ENVIRON ambiguity’qB¢† |‡ / .€„€ćF{€€€‰‚’Section 4.16.2: Passive and active Telnet negotiation modesn? ‡ ź‡ / .€~€ćģA/€€€‰‚’Section 4.16.3: ‘Keyboard sends Telnet special commands’vG|‡ `ˆ / .€Ž€ć‚oæ怀€‰‚’Section 4.16.4: ‘Return key sends Telnet New Line instead of ^M’”cź‡ ōˆ 1’„X žōˆ U‰ ó Section 4.16.1: ‘Handling of OLD_ENVIRON ambiguity’CBB("btn_up","JI(`',`t00000068')");EB("btn_up")a8`ˆ U‰ ) "€p€€€€‚’Section 4.16.1: ‘Handling of OLD_ENVIRON ambiguity’Z4ōˆ Ɗ & €i€˜€€‚’The original Telnet mechanism for passing environment variables was badly specified. At the time the standard (RFC 1408) was written, BSD telnet implementations were already supporting the feature, and the intention of the standard was to describe the behaviour the BSD implementations were already using.’lU‰ AŒ & €Ł€˜€€‚’Sadly there was a typing error in the standard when it was issued, and two vital function codes were specified the wrong way round. BSD implementations did not change, and the standard was not corrected. Therefore, it's possible you might find either BSD or RFC-compliant implementations out there. This switch allows you to choose which one PuTTY claims to be.²€Ɗ ó 2 2€€˜€€€€€€‚’The problem was solved by issuing a second standard, defining a new Telnet mechanism called NEW_ENVIRON, which behaved exactly like the original OLD_ENVIRON but was not encumbered by existing implementations. Most Telnet servers now support this, and it's unambiguous. This feature should only be needed if you have trouble passing environment variables to quite an old server.œkAŒ Ž 1¼l‚ŸŽ ųŽ WĆ Section 4.16.2: Passive and active Telnet negotiation modesCBB("btn_up","JI(`',`t00000068')");EB("btn_up")i@ó ųŽ ) "€€€€€€‚’Section 4.16.2: Passive and active Telnet negotiation modesÖŖŽ Ī , &€U€˜€€€€‚’In a Telnet connection, there are two types of data passed between the client and the server: actual text, and negotiations about which Telnet extra features to use._:ųŽ 9Ą % €t€˜€€‚’PuTTY can usĪ 9Ą ó e two different strategies for negotiation:‘^Ī ŹĄ 3 6€¼€T˜‘€8‚€ƒ€€€‚’•In active mode, PuTTY starts to send negotiations as soon as the connection is opened.•b9Ą _Į 3 6€Ä€T˜‘€8‚€ƒ€€€‚’•In passive mode, PuTTY will wait to negotiate until it sees a negotiation from the server.åæŹĄ DĀ & €€˜€€‚’The obvious disadvantage of passive mode is that if the server is also operating in a passive mode, then negotiation will never begin at all. For this reason PuTTY defaults to active mode.ķ_Į WĆ & €Ū€˜€€‚’However, sometimes passive mode is required in order to successfully get through certain types of firewall and Telnet proxy server. If you have confusing trouble with a firewall, you could try enabling passive mode to see if it helps.™hDĀ šĆ 1²X $„ šĆ VÄ ¢Ę Section 4.16.3: ‘Keyboard sends Telnet special commands’CBB("btn_up","JI(`',`t00000068')");EB("btn_up")f=WĆ VÄ ) "€z€€€€‚’Section 4.16.3: ‘Keyboard sends Telnet special commands’~YšĆ ŌÄ % €²€˜€€‚’If this box is checked, several key sequences will have their normal actions modified:TVÄ UÅ - *€Ø€T˜‘€8‚€ƒ€‚’•the Backspace key on the keyboard will send the Telnet special backspace code;qDŌÄ ĘÅ - *€ˆ€T˜‘€8‚€ƒ€‚’•Control-C will send the Telnet special Interrupt Process code;oBUÅ 5Ę - *€„€T˜‘€8‚€ƒ€‚’•Control-Z will send the Telnet special Suspend Process code.mHĘÅ ¢Ę % €€˜€€‚’You probably shouldn't enable this unless you know what you're doing.”p5Ę CĒ 1l‚Ɇ”CĒ ±Ē ]Ź Section 4.16.4: ‘Return key sends Telnet New Line instead of ^M’CBB("btn_up","JI(`',`t00000068')");EB("btn_up")nE¢Ę ±Ē ) "€Š€€€€‚’Section 4.16.4: ‘Return key sends Telnet New Line instead of ^M’W1CĒ É & €c€˜€€‚’Unlike most other remote login protocols, the Telnet protocol has a special ‘new line’ code that is not the same as the usual line endings of Control-M or Control-J. By default, PuTTY sends the Telnet New Line code when you press Return, instead of sending Control-M as it does in most other protocols.U/±Ē ]Ź & €_€˜€€‚’Most Unix-style Telnet servers don't mind whether they receive Telnet New Line or Control-M; some servers do expect New Line, and some servers prefer to see ^M. If you are seeing surprising behaviour when you press Return in a Telnet session, you might try turning this option off to see if it helps.NÉ ÜŹ 1$„j‡¢ÜŹ (Ė śĖ Section 4.17: The Rlogin panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")L#]Ź (Ė ) "€F€€€€‚’Section 4.17: The Rlogin panel|WÜŹ ¤Ė % €®€˜€€‚’The Rlogin panel allows you to configure options that only apply to Rlogin sessions.V'(Ė śĖ / .€N€ćy÷Oɀ€€‰‚’Section 4.17.1: ‘Local username’P¤Ė {Ģ 1Ɇ…£{Ģ ÉĢ œ Section 4.17.1: ‘Local username’CBB("btn_up","JI(`',`t00000069')");EB("btn_up")N%śĖ ÉĢ ) "€J€€€€‚’Section 4.17.1: ‘Local username’é«{Ģ ²Ī > J€W€˜€€€€€€€€€€‚’Rlogin allows an automated (password-free) form of login by means of a file called .rhosts on the server. You put a line in your .rhosts file saying something like jbloggs@pc1.example.com, and then when you make an Rlogin connection the client transmits the username of the user running the Rlogin client. The server checks the username and hostname against .rhosts, and if they match it does not ask for a password.õĻÉĢ ³ & €Ÿ€˜€€‚’This only works because Unix systems contain a safeguard to stop a user from pretending to be another user in an Rlogin connection. Rlogin connections have to come from port numbers below 1024, and Unix systems prohibit this to unprivileged processes; so when the server sees a connection from a²Ī ³ śĖ low-numbered port, it assumes the client end of the connection is held by a privileged (and therefore trusted) process, so it believes the claim of who the user is.ō¶²Ī § > J€m€˜€€€€€€€€€€‚’Windows does not have this restriction: any user can initiate an outgoing connection from a low-numbered port. Hence, the Rlogin .rhosts mechanism is completely useless for securely distinguishing several different users on a Windows machine. If you have a .rhosts entry pointing at a Windows PC, you should assume that anyone using that PC can spoof your username in an Rlogin connection and access your account on the server.õĻ³ œ & €Ÿ€˜€€‚’The ‘Local username’ control allows you to specify what user name PuTTY should claim you have, in case it doesn't match your Windows user name (or in case you didn't bother to set up a Windows user name).|K§  1Ļj‡¤ a ē Section 4.18: The SSH panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")I œ a ) "€@€€€€‚’Section 4.18: The SSH panelvQ × % €¢€˜€€‚’The SSH panel allows you to configure options that only apply to SSH sessions.pAa G / .€‚€ćóWā܀€€‰‚’Section 4.18.1: Executing a specific command on the serverm>× “ / .€|€ćS0±€€€‰‚’Section 4.18.2: ‘Don't start a shell or command at all’Z+G  / .€V€ćN§µ€€€‰‚’Section 4.18.3: ‘Enable compression’f7“ t / .€n€ć, ŪT€€€‰‚’Section 4.18.4: ‘Preferred SSH protocol version’sD ē / .€ˆ€ćÄö„)€€€‰‚’Section 4.18.5: Sharing an SSH connection between PuTTY tools›jt ‚ 1ń…˜„‚ ź s Section 4.18.1: Executing a specific command on the serverCBB("btn_up","JI(`',`t00000070')");EB("btn_up")h?ē ź ) "€~€€€€‚’Section 4.18.1: Executing a specific command on the serverń‚  & €ć€˜€€‚’In SSH, you don't have to run a general shell session on the server. Instead, you can choose to run a single specific command (such as a mail user agent, for example). If you want to do this, enter the command in the ‘Remote command’ box.rMź s % €š€˜€€‚’Note that most servers will close the session after executing the command.˜g 1ą¬¦ p ė Section 4.18.2: ‘Don't start a shell or command at all’CBB("btn_up","JI(`',`t00000070')");EB("btn_up")e<s p ) "€x€€€€‚’Section 4.18.2: ‘Don't start a shell or command at all’D “ & €=€˜€€‚’If you tick this box, PuTTY will not attempt to run a shell or command after connecting to the remote server. You might want to use this option if you are only using the SSH connection for port forwarding, and your user account on the server does not have the ability to run a shell.­‡p a & €€˜€€‚’This feature is only available in SSH protocol version 2 (since the version 1 protocol assumes you will always want to run a shell)._“ ń 1 2€¾€˜€€€€ćśÄłN‰‚’This feature can also be enabled using the -N command-line option; see section 3.8.3.13.śŌa ė & €©€˜€€‚’If you use this feature in Plink, you will not be able to terminate the Plink process by any graceful means; the only way to kill it will be by pressing Control-C or sending a kill signal from another program.…Tń p 1“˜€§p Ā 0@ Section 4.18.3: ‘Enable compression’CBB("btn_up","JI(`',`t00000070')");EB("btn_up")R)ė Ā ) "€R€€€€‚’Section 4.18.3: ‘Enable compression’b<p 0@ & €y€˜€€‚’This enables data compression in the SSH connection: data sent by the server is compressed before sending, and decompressed at the client end. Likewise, data sent by PuTTY to the server is compressed first and the server decompresses it at the other end. This can help make the mĀ 0@ ė ost of a low-bandwidth connection.‘`Ā Į@ 1®¬ȃØĮ@ A oE Section 4.18.4: ‘Preferred SSH protocol version’CBB("btn_up","JI(`',`t00000070')");EB("btn_up")^50@ A ) "€j€€€€‚’Section 4.18.4: ‘Preferred SSH protocol version’ĄšĮ@ ßA & €5€˜€€‚’This allows you to select whether you would prefer to use SSH protocol version 1 or version 2, and whether to permit falling back to the other version.“ŽA “B & €€˜€€‚’With the settings ‘1’ and ‘2’, PuTTY will attempt to use protocol 1 if the server you connect to does not offer protocol 2, and vice versa.ŗ”ßA MC & €)€˜€€‚’If you select ‘1 only’ or ‘2 only’ here, PuTTY will only connect if the server you connect to offers the SSH protocol version you have specified.’l“B ßD & €Ł€˜€€‚’You should normally leave this at the default, ‘2 only’. The older SSH-1 protocol is no longer developed, has many known cryptographic weaknesses, and is generally not considered to be secure. If you permit use of SSH-1 by selecting ‘2’ instead of ‘2 only’, an active attacker can force downgrade to SSH-1 even if the server you're connecting to supports SSH-2.kMC oE % €Ö€˜€€‚’PuTTY's protocol 1 implementation is provided mainly for compatibility, and is no longer being enhanced.žmßD F 1¬ €© F xF Ń Section 4.18.5: Sharing an SSH connection between PuTTY toolsCBB("btn_up","JI(`',`t00000070')");EB("btn_up")kBoE xF ) "€„€€€€‚’Section 4.18.5: Sharing an SSH connection between PuTTY tools’m F G % €Ś€˜€€‚’The controls in this box allow you to configure PuTTY to reuse an existing SSH connection, where possible.āxF H & €Å€˜€€‚’The SSH-2 protocol permits you to run multiple data channels over the same SSH connection, so that you can log in just once (and do the expensive encryption setup just once) and then have more than one terminal window open.P* G bI & €U€˜€€‚’Each instance of PuTTY can still run at most one terminal session, but using the controls in this box, you can configure PuTTY to check if another instance of itself has already connected to the target host, and if so, share that instance's SSH connection instead of starting a separate new one.Į›H #K & €7€˜€€‚’To enable this feature, just tick the box ‘Share SSH connections if possible’. Then, whenever you start up a PuTTY session connecting to a particular host, it will try to reuse an existing SSH connection if one is available. For example, selecting ‘Duplicate Session’ from the system menu will launch another session on the same host, and if sharing is enabled then it will reuse the existing SSH connection.§bI ŹL & €€˜€€‚’When this mode is in use, the first PuTTY that connected to a given server becomes the ‘upstream’, which means that it is the one managing the real SSH connection. All subsequent PuTTYs which reuse the connection are referred to as ‘downstreams’: they do not connect to the real server at all, but instead connect to the upstream PuTTY via local inter-process communication methods.Ŗ#K tM + &€ž€˜€€€€‚’For this system to be activated, both the upstream and downstream instances of PuTTY must have the sharing option enabled.M'ŹL ĮN & €O€˜€€‚’The upstream PuTTY can therefore not terminate until all its downstreams have closed. This is similar to the effect you get with port forwarding or X11 forwarding, in which a PuTTY whose terminal session has already finished will still remain open so as to keep serving forwarded connections.=tM ‚ , &€#€˜€€€€‚’In case you need to configure this system in more detail, there are two additional checkboxes which allow you to specify whether a particular PuTTY can act as an upstream or a downstream or both. (These boxes only take effect if the main ‘Share SSH connections if possible’ ĮN ‚ oE box is also ticked.) By default both of these boxes are ticked, so that multiple PuTTYs started from the same configuration will designate one of themselves as the upstream and share a single connection; but if for some reason you need a particular PuTTY configuration not to be an upstream (e.g. because you definitely need it to close promptly) or not to be a downstream (e.g. because it needs to do its own authentication using a special private key) then you can untick one or the other of these boxes.»ĮN Ń , &€€˜€€€€‚’I have referred to ‘PuTTY’ throughout the above discussion, but all the other PuTTY tools which make SSH connections can use this mechanism too. For example, if PSCP or PSFTP loads a configuration with sharing enabled, then it can act as a downstream and use an existing SSH connection set up by an instance of GUI PuTTY. The one special case is that PSCP and PSFTP will never act as upstreams.|K ‚ A„ 1ĒȃĄŖA„ Š„ Š Section 4.19: The Kex panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")I Ń Š„ ) "€@€€€€‚’Section 4.19: The Kex paneljA„ … % €Ō€˜€€‚’The Kex panel (short for ‘key exchange’) allows you to configure options related to SSH-2 key exchange.=Š„ V† & €/€˜€€‚’Key exchange occurs at the start of an SSH connection (and occasionally thereafter); it establishes a shared secret that is used as the basis for all of SSH's security features. It is therefore very important for the security of the connection that the key exchange is secure.į»… 7‡ & €w€˜€€‚’Key exchange is a cryptographically intensive process; if either the client or the server is a relatively slow machine, the slower methods may take several tens of seconds to complete.xV† Ō‡ % €š€˜€€‚’If connection startup is too slow, or the connection hangs periodically, you may want to try changing these settings.€[7‡ Tˆ % €¶€˜€€‚’If you don't understand what any of this means, it's safe to leave these settings alone.‘lŌ‡ åˆ % €Ų€˜€€‚’This entire panel is only relevant to SSH protocol version 2; none of these settings affect SSH-1 at all.f7Tˆ K‰ / .€n€ć€E€€€‰‚’Section 4.19.1: Key exchange algorithm selectionY*åˆ ¤‰ / .€T€ćįŸ€€€‰‚’Section 4.19.2: Repeat key exchanged5K‰ Š / .€j€ć€ Ūi€€€‰‚’Section 4.19.3: Manually configuring host keys‘`¤‰ ™Š 1V¾€«™Š ÷Š ūĄ Section 4.19.1: Key exchange algorithm selectionCBB("btn_up","JI(`',`t00000071')");EB("btn_up")^5Š ÷Š ) "€j€€€€‚’Section 4.19.1: Key exchange algorithm selectionß³™Š ֋ , &€g€˜€€ćdŽå؉‚’PuTTY supports a variety of SSH-2 key exchange methods, and allows you to choose which one you prefer to use; configuration is similar to cipher selection (see section 4.20).xS÷Š NŒ % €¦€˜€€‚’PuTTY currently supports the following varieties of Diffie-Hellman key exchange:[.֋ ©Œ - *€\€T˜‘€8‚€ƒ€‚’•‘Group 14’: a well-known 2048-bit group.ōĘNŒ  . *€€T˜‘€8‚€ƒ€‚’•‘Group 1’: a well-known 1024-bit group. This is less secure than group 14, but may be faster with slow client or server machines, and may be the only method supported by older server software.zL©Œ  . *€™€T˜‘€8‚€ƒ€‚’•‘Group exchange’: with this method, instead of using a fixed group, PuTTY requests that the server suggest a group to use for key exchange; the server can avoid groups known to be weak, and possibly invent new ones over time, without any changes required to PuTTY's configuration. We recommend use of this method, if possible.īȝ Ą & €‘€˜€€‚’In addition, PuTTY supports RSA key exchange, which requires much less computational effort on the part of the client, and somewhat less on the part of the server, than Diffie-Hellman key exchan Ą Š ge.ź¾ ūĄ , &€}€˜€€ćdŽå؉‚’If the first algorithm PuTTY finds is below the ‘warn below here’ line, you will see a warning box when you make the connection, similar to that for cipher selection (see section 4.20).„SĄ Į 1” Ą2Œ¬Į ŠĮ Ļ Section 4.19.2: Repeat key exchangeCBB("btn_up","JI(`',`t00000071')");EB("btn_up")Q(ūĄ ŠĮ ) "€P€€€€‚’Section 4.19.2: Repeat key exchange^8Į .Ć & €q€˜€€‚’If the session key negotiated at connection startup is used too much or for too long, it may become feasible to mount attacks against the SSH connection. Therefore, the SSH-2 protocol specifies that a new key exchange should take place every so often; this can be initiated by either the client or the server.\0ŠĮ ŠÄ , &€a€˜€€ć{ÄłN‰‚’While this renegotiation is taking place, no data can pass through the SSH connection, so it may appear to ‘freeze’. (The occurrence of repeat key exchange is noted in the Event Log; see section 3.1.3.1.) Usually the same algorithm is used as at the start of the connection, with a similar overhead.é½.Ć sÅ , &€{€˜€€ć|ÄłN‰‚’These options control how often PuTTY will initiate a repeat key exchange (‘rekey’). You can also force a key exchange at any time from the Special Commands menu (see section 3.1.3.2).1ŠÄ ¤Ę . *€€T˜‘€8‚€ƒ€‚’•‘Max minutes before rekey’ specifies the amount of time that is allowed to elapse before a rekey is initiated. If this is set to zero, PuTTY will not rekey due to elapsed time. The SSH-2 protocol specification recommends a timeout of at most 60 minutes.—_sÅ ;Ź 8 >€æ€˜€€€€ćźųĀk‰€€‚’You might have a need to disable time-based rekeys completely for the same reasons that keepalives aren't always helpful. If you anticipate suffering a network dropout of several hours in the middle of an SSH connection, but were not actually planning to send data down that connection during those hours, then an attempted rekey in the middle of the dropout will probably cause the connection to be abandoned, whereas if rekeys are disabled then the connection should in principle survive (in the absence of interfering firewalls). See section 4.13.1 for more discussion of these issues; for these purposes, rekeys have much the same properties as keepalives. (Except that rekeys have cryptographic value in themselves, so you should bear that in mind when deciding whether to turn them off.) Note, however, the the SSH server can still initiate rekeys.O!¤Ę ŠĖ . *€C€T˜‘€8‚€ƒ€‚’•‘Max data before rekey’ specifies the amount of data (in bytes) that is permitted to flow in either direction before a rekey is initiated. If this is set to zero, PuTTY will not rekey due to transferred data. The SSH-2 protocol specification recommends a limit of at most 1 gigabyte.uO;Ź ’Ė & €ž€˜‘€€‚’As well as specifying a value in bytes, the following shorthand can be used:b/ŠĖ aĢ 3 6€^€T˜!8‚€ƒ€€€‚’•‘1k’ specifies 1 kilobyte (1024 bytes).f3’Ė ĒĢ 3 6€f€T˜!8‚€ƒ€€€‚’•‘1M’ specifies 1 megabyte (1024 kilobytes).f3aĢ -Ķ 3 6€f€T˜!8‚€ƒ€€€‚’•‘1G’ specifies 1 gigabyte (1024 megabytes).ęĄĒĢ Ļ & €€˜€€‚’Disabling data-based rekeys entirely is a bad idea. The integrity, and to a lesser extent, confidentiality of the SSH-2 protocol depend in part on rekeys occuring before a 32-bit packet sequence number wraps around. Unlike time-based rekeys, data-based rekeys won't occur when the SSH connection is idle, so they shouldn't cause the same problems. The SSH-1 protocol, incidentally, has even weaker integrity protection than SSH-2 without rekeys.^-Ķ ¢Ļ 1m ¾€i ­¢Ļ  Section 4.19.3: Manually configuring host keysCBB("btn_up","JI(`',`t00000071')");EB("btn_up")\3Ļ ) "€f€€€€‚’Section 4.19.3: Manually configuring host keys¢Ļ Ļ ņĢ¢Ļ ž& €™€˜€€‚’In some situations, if PuTTY's automated host key management is not doing what you need, you might need to manually configure PuTTY to accept a specific host key, or one of a specific set of host keys.i & €Ó€˜€€‚’One reason why you might want to do this is because the host name PuTTY is connecting to is using round-robin DNS to return one of multiple actual servers, and they all have different host keys. In that situation, you might need to configure PuTTY to accept any of a list of host keys for the possible servers, while still rejecting any key not in that list.[ž2 2€·€˜€€€€ćÅłN‰‚’Another reason is if PuTTY's automated host key management is completely unavailable, e.g. because PuTTY (or Plink or PSFTP, etc) is running in a Windows environment without access to the Registry. In that situation, you will probably want to use the -hostkey command-line option to configure the expected host key(s); see section 3.8.3.20.öŹ, &€•€˜€€ćāĻ#‰‚’For situations where PuTTY's automated host key management simply picks the wrong host name to store a key under, you may want to consider setting a ‘logical host name’ instead; see section 4.13.5.nH~& €‘€˜€€‚’To configure manual host keys via the GUI, enter some text describing the host key into the edit box in the ‘Manually configure host keys for this connection’ container, and press the ‘Add’ button. The text will appear in the ‘Host keys or fingerprints to accept’ list box. You can remove keys again with the ‘Remove’ button.nIģ% €’€˜€€‚’The text describing a host key can be in one of the following formats:Ń£~½. *€G€T˜‘€8‚€ƒ€‚’•An MD5-based host key fingerprint of the form displayed in PuTTY's Event Log and host key dialog boxes, i.e. sixteen 2-digit hex numbers separated by colons.;ģų4 6€€T˜‘€8‚€ƒ€€€‚’•A base64-encoded blob describing an SSH-2 public key in OpenSSH's one-line public key format. How you acquire a public key in this format is server-dependent; on an OpenSSH server it can typically be found in a location like /etc/ssh/ssh_host_rsa_key.pub.–j½Ž , &€Õ€˜€€€€‚’If this box contains at least one host key or fingerprint when PuTTY makes an SSH connection, then PuTTY's automated host key management is completely bypassed: the connection will be permitted if and only if the host key presented by the server is one of the keys listed in this box, and the host key store in the Registry will be neither read nor written.jų % €Ō€˜€€‚’If the box is empty (as it usually is), then PuTTY's automated host key management will work as normal.NŽ œ 1a 2ŒĒ„®œ č  FSection 4.20: The Cipher panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")L# č ) "€F€€€€‚’Section 4.20: The Cipher panelĘ œ ® & €A€˜€€‚’PuTTY supports a variety of different encryption algorithms, and allows you to choose which one you prefer to use. You can do this by dragging the algorithms up and down in the list box (or moving them using the Up and Down buttons) to specify a preference order. When you make an SSH connection, PuTTY will search down the list from the top until it finds an algorithm supported by the server, and then use that.Z5č % €j€˜€€‚’PuTTY currently supports the following algorithms:rE® z- *€Š€T˜‘€8‚€ƒ€‚’•AES (Rijndael) - 256, 192, or 128-bit SDCTR or CBC (SSH-2 only)l?ę- *€~€T˜‘€8‚€ƒ€‚’•Arcfour (RC4) - 256 or 128-bit stream cipher (SSH-2 only)g:zM- *€t€T˜‘€8‚€ƒ€‚’•Blowfish - 256-bit SDCTR (SSH-2 only) or 128-bit CBCa4ę®- *€h€T˜‘€8‚€ƒ€‚’•Triple-DES - 168-bit SDCTR (SSH-2 only) or CBC`3M@- *€f€T˜‘€8‚€ƒ€‚’•Single-DES - 56-bit CBC (see belo®@ w for SSH-2)¢}®¼@% €ś€˜€€‚’If the algorithm PuTTY finds is below the ‘warn below here’ line, you will see a warning box when you make the connection:O+@ A$ €V€€€‚’The first cipher supported by the serverS/¼@^A$ €^€€€‚’is single-DES, which is below the configured9 A—A$ €*€€€‚’warning threshold.U0^AģA% €`€˜€€‚’Do you want to continue with this connection?uO—AaC& €Ÿ€˜€€‚’This warns you that the first available encryption is not a very secure one. Typically you would put the ‘warn below here’ line between the encryptions you consider secure and the ones you consider substandard. By default, PuTTY supplies a preference order intended to reflect a reasonable preference in terms of security and speed.BģA£D& €9€˜€€‚’In SSH-2, the encryption algorithm is negotiated independently for each direction of the connection, although PuTTY does not support separate configuration of the preference orders. As a result you may get two warnings similar to the one above, possibly with different encryptions.f@aC F& €€˜€€‚’Single-DES is not recommended in the SSH-2 protocol standards, but one or two server implementations do support it. PuTTY can use single-DES to interoperate with these servers if you enable the ‘Enable legacy use of single-DES in SSH-2’ option; by default this is disabled and PuTTY will stick to recommended ciphers.}L£D†F1i ‡ƆFŠF¢JSection 4.21: The Auth panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")J! FŠF) "€B€€€€‚’Section 4.21: The Auth panelwR†FGG% €¤€˜€€‚’The Auth panel allows you to configure authentication options for SSH sessions.f7ŠF­G/ .€n€ćģ&z8€€€‰‚’Section 4.21.1: ‘Bypass authentication entirely’i:GGH/ .€t€ćø”3€€€‰‚’Section 4.21.2: ‘Display pre-authentication banner’l=­G‚H/ .€z€ć8\C€€€‰‚’Section 4.21.3: ‘Attempt authentication using Pageant’pAHņH/ .€‚€ć“—€€€‰‚’Section 4.21.4: ‘Attempt TIS or CryptoCard authentication’sD‚HeI/ .€ˆ€ćā¢K!€€€‰‚’Section 4.21.5: ‘Attempt keyboard-interactive authentication’^/ņHĆI/ .€^€ćŹ6ŹÄ€€€‰‚’Section 4.21.6: ‘Allow agent forwarding’tEeI7J/ .€Š€ćU €€€‰‚’Section 4.21.7: ‘Allow attempted changes of username in SSH-2’k<ĆI¢J/ .€x€ć„@ĻŲ€€€‰‚’Section 4.21.8: ‘Private key file for authentication’‘`7J3K1 Ē„‰°3K‘K?NSection 4.21.1: ‘Bypass authentication entirely’CBB("btn_up","JI(`',`t00000072')");EB("btn_up")^5¢J‘K) "€j€€€€‚’Section 4.21.1: ‘Bypass authentication entirely’53KĘL& €€˜€€‚’In SSH-2, it is possible to establish a connection without using SSH's mechanisms to identify or authenticate oneself to the server. Some servers may prefer to handle authentication in the data channel, for instance, or may simply require no authentication whatsoever.ķĒ‘K³M& €€˜€€‚’By default, PuTTY assumes the server requires authentication (most do), and thus must provide a username. If you find you are getting unwanted username prompts, you could try checking this option.ŒgĘL?N% €Ī€˜€€‚’This option only affects SSH-2 connections. SSH-1 connections always require an authentication step.”c³MÓN1Į‡±ÓN4O Section 4.21.2: ‘Display pre-authentication banner’CBB("btn_up","JI(`',`t00000072')");EB("btn_up")a8?N4O) "€p€€€€‚’Section 4.21.2: ‘Display pre-authentication banner’ śÓN`€& €õ€˜€€‚’SSH-2 servers can provide a message for clients to display to the prospective user before the user logs in; this is sometimes known as a pre-authentication ‘banner’.4O`€?N Typically this is used to provide information about the server and legal notices.@4O & €5€˜€€‚’By default, PuTTY displays this message before prompting for a password or similar credentials (although, unfortunately, not before prompting for a login name, due to the nature of the protocol design). By unchecking this option, display of the banner can be suppressed entirely.—f`€7‚18‰²7‚›‚o…Section 4.21.3: ‘Attempt authentication using Pageant’CBB("btn_up","JI(`',`t00000072')");EB("btn_up")d; ›‚) "€v€€€€‚’Section 4.21.3: ‘Attempt authentication using Pageant’Ūµ7‚vƒ& €k€˜€€‚’If this option is enabled, then PuTTY will look for Pageant (the SSH private-key storage agent) and attempt to authenticate with any suitable public keys Pageant currently holds.öŠ›‚l„& €”€˜€€‚’This behaviour is almost always desirable, and is therefore enabled by default. In rare cases you might need to turn it off in order to force authentication by some non-public-key method such as passwords.—fvƒ…1 2€Ģ€˜€€€€ćÕÄłN‰‚’This option can also be controlled using the -noagent command-line option. See section 3.8.3.9.lAl„o…+ &€‚€˜€€ć80«f‰‚’See chapter 9 for more information about Pageant in general.›j… †1æĖ³ †r†ɉSection 4.21.4: ‘Attempt TIS or CryptoCard authentication’CBB("btn_up","JI(`',`t00000072')");EB("btn_up")h?o…r†) "€~€€€€‚’Section 4.21.4: ‘Attempt TIS or CryptoCard authentication’©ƒ †ˆ& €€˜€€‚’TIS and CryptoCard authentication are (despite their names) generic forms of simple challenge/response authentication available in SSH protocol version 1 only. You might use them if you were using S/Key one-time passwords, for example, or if you had a physical security token that generated responses to authentication challenges. They can even be used to prompt for simple passwords.®ˆr†ɉ& €€˜€€‚’With this switch enabled, PuTTY will attempt these forms of authentication if the server is willing to try them. You will be presented with a challenge string (which may be different every time) and must supply the correct response in order to log in. If your server supports this, you should talk to your system administrator about precisely what form these challenges and responses take.žmˆgŠ1•ģ“gŠŅŠüŒSection 4.21.5: ‘Attempt keyboard-interactive authentication’CBB("btn_up","JI(`',`t00000072')");EB("btn_up")kBɉŅŠ) "€„€€€€‚’Section 4.21.5: ‘Attempt keyboard-interactive authentication’ˆbgŠZŒ& €Å€˜€€‚’The SSH-2 equivalent of TIS authentication is called ‘keyboard-interactive’. It is a flexible authentication method using an arbitrary sequence of requests and responses; so it is not only useful for challenge/response mechanisms such as S/Key, but it can also be used for (for example) asking the user for a new password when the old one has expired.¢}ŅŠüŒ% €ś€˜€€‚’PuTTY leaves this option enabled by default, but supplies a switch to turn it off in case you should have trouble with it.‰XZŒ…1*Ė µ…ŪƏSection 4.21.6: ‘Allow agent forwarding’CBB("btn_up","JI(`',`t00000072')");EB("btn_up")V-üŒŪ) "€Z€€€€‚’Section 4.21.6: ‘Allow agent forwarding’É£…¤Ž& €G€˜€€‚’This option allows the SSH server to open forwarded connections back to your local copy of Pageant. If you are not running Pageant, this option will do nothing. ÓŪƏ8 >€§€˜€€ć80«f‰ćųƒłN‰ćłƒłN‰‚’See chapter 9 for general information on Pageant, and section 9.4 for information on agent forwarding. Note that there is a security risk involved with enabling this option; see section 9.5 for details.Ÿn¤ŽZĄ1aģĄƒ¶ZĄĘĄ»ÄSection 4.21.7: ‘Allow attemptedƏZĄƏ changes of username in SSH-2’CBB("btn_up","JI(`',`t00000072')");EB("btn_up")lCƏĘĄ) "€†€€€€‚’Section 4.21.7: ‘Allow attempted changes of username in SSH-2’ÜZĄČĮ& €¹€˜€€‚’In the SSH-1 protocol, it is impossible to change username after failing to authenticate. So if you mis-type your username at the PuTTY ‘login as:’ prompt, you will not be able to change it except by restarting PuTTY.Ī¢ĘĄ–Ć, &€E€˜€€€€‚’The SSH-2 protocol does allow changes of username, in principle, but does not make it mandatory for SSH-2 servers to accept them. In particular, OpenSSH does not accept a change of username; once you have sent one username, it will reject attempts to try to authenticate as another user. (Depending on the version of OpenSSH, it may quietly return failure for all login attempts, or it may send an error message.)%’ČĮ»Ä& €’€˜€€‚’For this reason, PuTTY will by default not prompt you for your username more than once, in case the server complains. If you know your server can cope with it, you can enable the ‘Allow attempted changes of username’ option to modify PuTTY's behaviour.–e–ĆQÅ1’ Ÿ†·QÅ“ÅćČSection 4.21.8: ‘Private key file for authentication’CBB("btn_up","JI(`',`t00000072')");EB("btn_up")c:»Ä“Å) "€t€€€€‚’Section 4.21.8: ‘Private key file for authentication’ą“QÅ”Ę, &€i€˜€€ćĪƒłN‰‚’This box is where you enter the name of your private key file if you are using public key authentication. See chapter 8 for information about public key authentication in SSH.Ģš“Å`Ē2 2€5€˜€€€€ćE@Įv‰‚’This key must be in PuTTY's native format (*.PPK). If you have a private key in another format that you want to use with PuTTY, see section 8.2.12.ƒW”ĘćČ, &€Æ€˜€€ć80«f‰‚’You can use the authentication agent Pageant so that you do not need to explicitly configure a key here; see chapter 9. If a file is specified here with Pageant running, PuTTY will first try asking Pageant to authenticate with that key, and ignore any other keys Pageant may have. If that fails, PuTTY will ask for a passphrase as normal.N`ĒbÉ1æĄƒfŠøbÉ®É!ĪSection 4.22: The GSSAPI panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")L#ćČ®É) "€F€€€€‚’Section 4.22: The GSSAPI panelqKbÉĖ& €—€˜€€‚’The ‘GSSAPI’ subpanel of the ‘Auth’ panel controls the use of GSSAPI authentication. This is a mechanism which delegates the authentication exchange to a library elsewhere on the client machine, which in principle can authenticate in many different ways but in practice is usually used with the Kerberos single sign-on protocol.W2®ÉvĖ% €d€˜€€‚’GSSAPI is only available in the SSH-2 protocol.Ö°ĖLĶ& €a€˜€€‚’The topmost control on the GSSAPI subpanel is the checkbox labelled ‘Attempt GSSAPI authentication’. If this is disabled, GSSAPI will not be attempted at all and the rest of this panel is unused. If it is enabled, GSSAPI authentication will be attempted, and (typically) if your client machine has valid Kerberos credentials loaded, then PuTTY should be able to authenticate automatically to servers that support Kerberos logins.j;vĖ¶Ķ/ .€v€ćķŲ²–€€€‰‚’Section 4.22.1: ‘Allow GSSAPI credential delegation’k<LĶ!Ī/ .€x€ćh4€€€‰‚’Section 4.22.2: Preference order for GSSAPI libraries›j¶Ķ¼Ī1üŸ††¹¼ĪĻÄSection 4.22.1: ‘Allow GSSAPI credential delegation’CBB("btn_up","JI(`',`ssh.auth.gssapi')");EB("btn_up")b9!ĪĻ) "€r€€€€‚’Section 4.22.1: ‘Allow GSSAPI credential delegation’Ɲ¼Īķ& €;€˜€€‚’GSSAPI credential delegation is a mechanism for passing on your Kerberos (or other) identity to the session on the SSH server. If you enable this option, then not only will PuTTY be able Ļķ!Īto log in automatically to a server that accepts your Kerberos credentials, but also you will be able to connect out from that server to other Kerberos-supporting services and use the same credentials just as automatically.rĻŠ+ &€ä€˜€€ćųƒłN‰‚’(This option is the Kerberos analogue of SSH agent forwarding; see section 9.4 for some information on that.):ķÄ& €)€˜€€‚’Note that, like SSH agent forwarding, there is a security implication in the use of this option: the administrator of the server you connect to, or anyone else who has cracked the administrator account on that server, could fake your identity when connecting to further Kerberos-supporting services. However, Kerberos sites are typically run by a central authority, so the administrator of one server is likely to already have access to the other services too; so this would typically be less of a risk than SSH agent forwarding.œkŠ`1]fŠHŗ`Ć½Section 4.22.2: Preference order for GSSAPI librariesCBB("btn_up","JI(`',`ssh.auth.gssapi')");EB("btn_up")c:ÄĆ) "€t€€€€‚’Section 4.22.2: Preference order for GSSAPI librariesį`Ź& €Ć€˜€€‚’GSSAPI is a mechanism which allows more than one authentication method to be accessed through the same interface. Therefore, more than one authentication library may exist on your system which can be accessed using GSSAPI.T.Ć& €]€˜€€‚’PuTTY contains native support for a few well-known such libraries, and will look for all of them on your system and use whichever it finds. If more than one exists on your system and you need to use a specific one, you can adjust the order in which it will search using this preference list control.ŸyŹ½& €ó€˜€€‚’One of the options in the preference list is to use a user-specified GSSAPI library. If the library you want to use is not mentioned by name in PuTTY's list of options, you can enter its full pathname in the ‘User-supplied GSSAPI library path’ field, and move the ‘User-supplied GSSAPI library’ option in the preference list to make sure it is selected before anything else.|K9 1q† »9 ‚ Ŗ Section 4.23: The TTY panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")I ½‚ ) "€@€€€€‚’Section 4.23: The TTY paneld?9 ę % €~€˜€€‚’The TTY panel lets you configure the remote pseudo-terminal.h9‚ N / .€r€ćēр€€‰‚’Section 4.23.1: ‘Don't allocate a pseudo-terminal’\-ę Ŗ / .€Z€ć““9ƀ€€‰‚’Section 4.23.2: Sending terminal modes“bN = 1ĢHR ¼=   Section 4.23.1: ‘Don't allocate a pseudo-terminal’CBB("btn_up","JI(`',`t00000073')");EB("btn_up")`7Ŗ  ) "€n€€€€‚’Section 4.23.1: ‘Don't allocate a pseudo-terminal’U)= ņ , &€S€˜€€€€‚’When connecting to a Unix system, most interactive shell sessions are run in a pseudo-terminal, which allows the Unix system to pretend it's talking to a real physical terminal device but allows the SSH server to catch all the data coming from that fake device and send it back to the client.å  2 2€Ė€˜€€€€ć¢ƒłN‰‚’Occasionally you might find you have a need to run a session not in a pseudo-terminal. In PuTTY, this is generally only useful for very specialist purposes; although in Plink (see chapter 7) it is the usual way of working.‡Vņ 1œ œŠ½ä8NSection 4.23.2: Sending terminal modesCBB("btn_up","JI(`',`t00000073')");EB("btn_up")T+ ä) "€V€€€€‚’Section 4.23.2: Sending terminal modesÖ°ŗ& €a€˜€€‚’The SSH protocol allows the client to send ‘terminal modes’ for the remote pseudo-terminal. These usually control the server's expectation of the local terminal's behaviour.ā¼äØ@& €y€˜€€‚’If your server does not have seŗØ@ nsible defaults for these modes, you may find that changing them here helps. If you don't understand any of this, it's safe to leave these settings alone.†aŗ.A% €Ā€˜€€‚’(None of these settings will have any effect if no pseudo-terminal is requested or allocated.)iCØ@—B& €‡€˜€€‚’You can add or modify a mode by selecting it from the drop-down list, choosing whether it's set automatically or to a specific value with the radio buttons and edit box, and hitting ‘Add’. A mode (or several) can be removed from the list by selecting them and hitting ‘Remove’. The effect of the mode list is as follows:c.A'C- *€Ę€T˜‘€8‚€ƒ€‚’•If a mode is not on the list, it will not be specified to the server under any circumstances.L—BsC- *€>€T˜‘€8‚€ƒ€‚’•If a mode is on the list:Ė'C7D. *€-€T˜!8‚€ƒ€‚’•If the ‘Auto’ option is selected, the PuTTY tools will decide whether to specify that mode to the server, and if so, will send a sensible value.šĆsC'E- (€‡€˜!€€€‚’PuTTY proper will send modes that it has an opinion on (currently only the code for the Backspace key, ERASE). Plink on Unix will propagate appropriate modes from the local terminal, if any.¼Ž7DćE. *€€T˜!8‚€ƒ€‚’•If a value is specified, it will be sent to the server under all circumstances. The precise syntax of the value box depends on the mode.›v'E~F% €ģ€˜€€‚’By default, all of the available modes are listed as ‘Auto’, which should do the right thing in most circumstances.X,ćEÖG, &€Y€˜€€€€‚’The precise effect of each setting, if any, is up to the server. Their names come from POSIX and other Unix systems, and they are most likely to have a useful effect on such systems. (These are the same settings that can usually be changed using the stty command once logged in to such servers.)‡b~F]H% €Ä€˜€€‚’Some notable modes are described below; for fuller explanations, see your server documentation.ŚÖGnI7 <€µ€T˜‘€8‚€ƒ€€ć*Ķˆs‰‚’•ERASE is the character that when typed by the user will delete one space to the left. When set to ‘Auto’ (the default setting), this follows the setting of the local Backspace key in PuTTY (see section 4.4.1).Ū]HIKK d€!€˜‘€€€€€€€€€€€€€€‚’This and other special characters are specified using ^C notation for Ctrl-C, and so on. Use ^<27> or ^<0x1B> to specify a character numerically, and ^~ to get a literal ^. Other non-control characters are denoted by themselves. Leaving the box entirely blank indicates that no character should be assigned to the specified function, although this may not be supported by all servers. ‰LnIŅL= H€™€T˜‘€8‚€ƒ€€€€€€‚’•QUIT is a special character that usually forcefully ends the current process on the server (SIGQUIT). On many servers its default setting is Ctrl-backslash (^\), which is easy to accidentally invoke on many keyboards. If this is getting in your way, you may want to change it to another character or turn it off entirely.īIKĄM^ Š€!€T˜‘€8‚€ƒ€€€€€€€€€€€€€€€€€‚’•Boolean modes such as ECHO and ICANON can be specified in PuTTY in a variety of ways, such as true/false, yes/no, and 0/1.xEŅL8N3 6€Š€T˜‘€8‚€ƒ€ćuƐĪ‰‚’•Terminal speeds are configured elsewhere; see section 4.14.4.|KĄM“N1+R 侓NżNė‚Section 4.24: The X11 panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")I 8NżN) "€@€€€€‚’Section 4.24: The X11 panelwR“NtO% €¤€˜€€‚’The X11 panel allows you to configure forwarding of X11 over an SSH connection.Ņ¬żNR€& €Y€˜€€‚’If your server lets you run X Window System graphical applications, X11 forwarding allows you to secutOR€8Nrely give those applications access to a local X display on your PC.h<tOŗ, &€y€˜€€€€‚’To enable X11 forwarding, check the ‘Enable X11 forwarding’ box. If your X display is somewhere unusual, you will need to enter its location in the ‘X display location’ box; if this is left blank, PuTTY will try to find a sensible default in the environment, or use the primary local display (:0) if that fails.j?R€$‚+ &€~€˜€€ć„ÄłN‰‚’See section 3.4 for more information about X11 forwarding._0ŗƒ‚/ .€`€ćk Z܀€€‰‚’Section 4.24.1: Remote X11 authenticationh9$‚ė‚/ .€r€ćČl.`€€€‰‚’Section 4.24.2: X authority file for local display_ƒ‚{ƒ1© œŠč æ{ƒŅƒ$Section 4.24.1: Remote X11 authenticationCBB("btn_up","JI(`',`ssh.tunnels.x11')");EB("btn_up")W.ė‚Ņƒ) "€\€€€€‚’Section 4.24.1: Remote X11 authentication×±{ƒ©„& €c€˜€€‚’If you are using X11 forwarding, the virtual X server created on the SSH server machine will be protected by authorisation data. This data is invented, and checked, by PuTTY.Ā–Ņƒk†, &€-€˜€€€€‚’The usual authorisation method used for this is called MIT-MAGIC-COOKIE-1. This is a simple password-style protocol: the X client sends some cookie data to the server, and the server checks that it matches the real cookie. The cookie data is sent over an unencrypted X11 connection; so if you allow a client on a third machine to access the virtual X server, then the cookie will be sent in the clear.Šž©„;ˆ2 2€=€˜€€€€€€‚’PuTTY offers the alternative protocol XDM-AUTHORIZATION-1. This is a cryptographically authenticated protocol: the data sent by the X client is different every time, and it depends on the IP address and port of the client's end of the connection and is also stamped with the current time. So an eavesdropper who captures an XDM-AUTHORIZATION-1 string cannot immediately re-use it for their own X connection.Ÿtk†Śˆ+ &€č€˜€€€€‚’PuTTY's support for XDM-AUTHORIZATION-1 is a somewhat experimental feature, and may encounter several problems:æ‹;ˆ™‰4 6€€T˜‘€8‚€ƒ€€€‚’•Some X clients probably do not even support XDM-AUTHORIZATION-1, so they will not know what to do with the data PuTTY has provided.*öŚˆƊ4 6€ķ€T˜‘€8‚€ƒ€€€‚’•This authentication mechanism will only work in SSH-2. In SSH-1, the SSH server does not tell the client the source address of a forwarded connection in a machine-readable format, so it's impossible to verify the XDM-AUTHORIZATION-1 data.Ź™‰Œ: B€!€T˜‘€8‚€ƒ€€€€€‚’•You may find this feature causes problems with some SSH servers, which will not clean up XDM-AUTHORIZATION-1 data after a session, so that if you then connect to the same server using a client which only does MIT-MAGIC-COOKIE-1 and are allocated the same remote display number, you might find that out-of-date authentication data is still present on your server and your X connections fail.—lƊ$+ &€Ų€˜€€€€‚’PuTTY's default is MIT-MAGIC-COOKIE-1. If you change it, you should be sure you know what you're doing.™hŒ½1õäpĄ½Ž¾ĮSection 4.24.2: X authority file for local displayCBB("btn_up","JI(`',`ssh.tunnels.x11')");EB("btn_up")`7$Ž) "€n€€€€‚’Section 4.24.2: X authority file for local displayŗ”½׎& €)€˜€€‚’If you are using X11 forwarding, the local X server to which your forwarded connections are eventually directed may itself require authorisation.?Ž"Ą& €3€˜€€‚’Some Windows X servers do not require this: they do authorisation by simpler means, such as accepting any connection from the local machine but not from anywhere else. However, if your X server does require authorisation, then PuTTY needs to know what author׎"Ą$isation is required.œp׎¾Į, &€į€˜€€€€‚’One way in which this data might be made available is for the X server to store it somewhere in a file which has the same format as the Unix .Xauthority file. If this is how your Windows X server works, then you can tell PuTTY where to find this file by configuring this option. By default, PuTTY will not attempt to find any authorisation for your local display.€O"Ą>Ā1ßč  Į>Ā‹Ā)Section 4.25: The Tunnels panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")M$¾Į‹Ā) "€H€€€€‚’Section 4.25: The Tunnels panel•p>Ā Ć% €ą€˜€€‚’The Tunnels panel allows you to configure tunnelling of arbitrary connection types through an SSH connection.Ś®‹ĀśĆ, &€]€˜€€ć¦ÄłN‰‚’Port forwarding allows you to tunnel other types of network connection down an SSH session. See section 3.5 for a general discussion of port forwarding and how it works.Ü ĆüÄ& €¹€˜€€‚’The port forwarding section in the Tunnels panel shows a list of all the port forwardings that PuTTY will try to set up when it connects to the server. By default no port forwardings are set up, so this list is empty.AśĆ=Å% €8€˜€€‚’To add a port forwarding:É›üÄĒ. *€7€T˜‘€8‚€ƒ€‚’•Set one of the ‘Local’ or ‘Remote’ radio buttons, depending on whether you want to forward a local port to a remote destination (‘Local’) or forward a remote port to a local destination (‘Remote’). Alternatively, select ‘Dynamic’ if you want PuTTY to provide a local SOCKS 4/4A/5 proxy on a local port (note that this proxy only supports TCP connections; the SSH protocol does not support forwarding UDP).X*=Å^Č. *€U€T˜‘€8‚€ƒ€‚’•Enter a source port number into the ‘Source port’ box. For local forwardings, PuTTY will listen on this port of your PC. For remote forwardings, your SSH server will listen on this port of the remote machine. Note that most servers will not allow you to listen on port numbers less than 1024.ōŗĒRŹ: B€u€T˜‘€8‚€ƒ€€€€€‚’•If you have selected ‘Local’ or ‘Remote’ (this step is not needed with ‘Dynamic’), enter a hostname and port number separated by a colon, in the ‘Destination’ box. Connections received on the source port will be directed to this destination. For example, to connect to a POP-3 server, you might enter popserver.example.com:110. (If you need to enter a literal IPv6 address, enclose it in square brackets, for instance ‘[::1]:2200’.)T^ČÓŹ- *€Ø€T˜‘€8‚€ƒ€‚’•Click the ‘Add’ button. Your forwarding details should appear in the list box.ŽiRŹaĖ% €Ņ€˜€€‚’To remove a port forwarding, simply select its details in the list box, and click the ‘Remove’ button.ŅÓŹeĢ2 2€„€˜€€€€ć¦ÄłN‰‚’In the ‘Source port’ box, you can also optionally enter an IP address to listen on, by specifying (for instance) 127.0.0.5:79. See section 3.5 for more information on how this works and its restrictions.ā¶aĖGĶ, &€m€˜€€€€‚’In place of port numbers, you can enter service names, if they are known to the local system. For instance, in the ‘Destination’ box, you could enter popserver.example.com:pop3.SeĢĘĪ, &€§€˜€€ć~ÄłN‰‚’You can modify the currently active set of port forwardings in mid-session using ‘Change Settings’ (see section 3.1.3.4). If you delete a local or dynamic port forwarding in mid-session, PuTTY will stop listening for connections on that port, so it can be re-used by another program. If you delete a remote port forwarding, note that:•hGĶ[Ļ- *€Š€T˜‘€8‚€ƒ€‚’•The SSH-1 protocol contains no mechanism for asking the server to stop listening on a remote port.שĘĪ>. *€S€T˜‘€8‚€ƒ€‚’•The SSH-2 protocol does contain such a mechanism, but not all SSH servers support it. (In particular, OpenSSH does [Ļ>¾Įnot support it in any version earlier than 3.9.)Ø‚[Ļę& €€˜€€‚’If you ask to delete a remote port forwarding and PuTTY cannot make the server actually stop listening on the port, it will instead just start refusing incoming connections on that port. Therefore, although the port cannot be reused by another program, you can at least be reasonably sure that server-side programs can no longer access the service at your end of the port forwarding.ė>÷& €×€˜€€‚’If you delete a forwarding, any existing connections established using that forwarding remain open. Similarly, changes to global settings such as ‘Local ports accept connections from other hosts’ only take effect on new forwardings.Bę9, &€-€˜€€ćāĻ#‰‚’If the connection you are forwarding over SSH is itself a second SSH connection made by another copy of PuTTY, you might find the ‘logical host name’ configuration option useful to warn PuTTY of which host key it should be expecting. See section 4.13.5 for details of this.sD÷¬/ .€ˆ€ćČ6ēY€€€‰‚’Section 4.25.1: Controlling the visibility of forwarded ports}N9)/ .€œ€ćnŠ«”€€€‰‚’Section 4.25.2: Selecting Internet protocol version for forwarded portsØw¬Ń1/p™ ĀŃ< Section 4.25.1: Controlling the visibility of forwarded portsCBB("btn_up","JI(`',`ssh.tunnels.portfwd')");EB("btn_up")kB)<) "€„€€€€‚’Section 4.25.1: Controlling the visibility of forwarded ports śŃ\& €õ€˜€€‚’The source port for a forwarded connection usually does not accept connections from any machine except the SSH client or server machine itself (for local and remote forwardings respectively). There are controls in the Tunnels panel to change this:0<Œ. *€€T˜‘€8‚€ƒ€‚’•The ‘Local ports accept connections from other hosts’ option allows you to set up local-to-remote port forwardings in such a way that machines other than your client PC can connect to the forwarded port. (This also applies to dynamic SOCKS forwarding.)tF\ . *€€T˜‘€8‚€ƒ€‚’•The ‘Remote ports do the same’ option does the same thing for remote-to-local port forwardings (so that machines other than the SSH server machine can connect to the forwarded port.) Note that this feature is only available in the SSH-2 protocol, and not all SSH-2 servers support it (OpenSSH 3.0 does not, for example).²Œ² 1‚ € Ć² ' @@Section 4.25.2: Selecting Internet protocol version for forwarded portsCBB("btn_up","JI(`',`ssh.tunnels.portfwd')");EB("btn_up")uL ' ) "€˜€€€€‚’Section 4.25.2: Selecting Internet protocol version for forwarded portsĻ©² ö & €S€˜€€‚’This switch allows you to select a specific Internet protocol (IPv4 or IPv6) for the local end of a forwarded port. By default, it is set on ‘Auto’, which means that:©|' Ÿ - *€ų€T˜‘€8‚€ƒ€‚’•for a local-to-remote port forwarding, PuTTY will listen for incoming connections in both IPv4 and (if available) IPv6œoö ; - *€Ž€T˜‘€8‚€ƒ€‚’•for a remote-to-local port forwarding, PuTTY will choose a sensible protocol for the outgoing connection.rŸ Ų + &€ä€˜€€ć»†K€‰‚’This overrides the general Internet protocol version preference on the Connection panel (see section 4.13.4).\0; @@, &€a€˜€€€€‚’Note that some operating systems may listen for incoming connections in IPv4 even if you specifically asked for IPv6, because their IPv4 and IPv6 protocol stacks are linked together. Apparently Linux does this, and Windows does not. So if you're running PuTTY on Windows and you tick ‘IPv6’ for a local or dynamic port forwarding, it will only be usable by connecting to it using IPv6; whereas if you do the same on Linux, you can also use it with IPv4. However, ticking ‘Auto’ should always give you a poŲ @@ rt which you can connect to using either protocol.Œ[Ų Ģ@1. ™ ‡ ÄĢ@%AśKSection 4.26: The Bugs and More Bugs panelsCBB("btn_up","JI(`',`t00000053')");EB("btn_up")Y0@@%A) "€`€€€€‚’Section 4.26: The Bugs and More Bugs panelsä¾Ģ@ B& €}€˜€€‚’Not all SSH servers work properly. Various existing servers have bugs in them, which can make it impossible for a client to talk to them unless it knows about the bug and works around it.ļÉ%AųC& €“€˜€€‚’Since most servers announce their software version number at the beginning of the SSH connection, PuTTY will attempt to detect which bugs it can expect to see in the server and automatically enable workarounds. However, sometimes it will make mistakes; if the server has been deliberately configured to conceal its version number, or if the server is a version which PuTTY's bug database does not know about, then PuTTY will not know what bugs to expect.’Ł B÷D& €³€˜€€‚’The Bugs and More Bugs panels (there are two because we have so many bug compatibility modes) allow you to manually configure the bugs PuTTY expects to see in the server. Each bug can be configured in three states:m@ųCdE- *€€€T˜‘€8‚€ƒ€‚’•‘Off’: PuTTY will assume the server does not have the bug.p=÷DŌE3 6€z€T˜‘€8‚€ƒ€€€‚’•‘On’: PuTTY will assume the server does have the bug.©|dE}F- *€ų€T˜‘€8‚€ƒ€‚’•‘Auto’: PuTTY will use the server's version number announcement to try to guess whether or not the server has the bug.g8ŌEäF/ .€p€ć‚īC€€€‰‚’Section 4.26.1: ‘Chokes on SSH-1 ignore messages’m>}FQG/ .€|€ć=0€€€‰‚’Section 4.26.2: ‘Refuses all SSH-1 password camouflage’j;äF»G/ .€v€ć‚-‘€€€‰‚’Section 4.26.3: ‘Chokes on SSH-1 RSA authentication’g8QG"H/ .€p€ćƒīC€€€‰‚’Section 4.26.4: ‘Chokes on SSH-2 ignore messages’yD»G›H5 :€ˆ€ć,hš€€€€€‰‚’Section 4.26.5: ‘Chokes on PuTTY's SSH-2 ‘winadj’ requests’c4"HžH/ .€h€ć‚µQ€€€‰‚’Section 4.26.6: ‘Miscomputes SSH-2 HMAC keys’i:›HgI/ .€t€ćļÜ7Y€€€‰‚’Section 4.26.7: ‘Miscomputes SSH-2 encryption keys’pAžH×I/ .€‚€ćš§žč€€€‰‚’Section 4.26.8: ‘Requires padding on SSH-2 RSA signatures’o@gIFJ/ .€€€ćUŠ8€€€‰‚’Section 4.26.9: ‘Misuses the session ID in SSH-2 PK auth’l=×I²J/ .€z€ć[Äm€€€‰‚’Section 4.26.10: ‘Handles SSH-2 key re-exchange badly’j;FJK/ .€v€ć8ū«ó€€€‰‚’Section 4.26.11: ‘Ignores SSH-2 maximum packet size’o@²J‹K/ .€€€ćW¦|t€€€‰‚’Section 4.26.12: ‘Replies to requests on closed channels’o@KśK/ .€€€ćj!A€€€‰‚’Section 4.26.13: ‘Only supports pre-RFC4419 SSH-2 DH GEX’’a‹KŒL1€ !ŌLėLµ€Section 4.26.1: ‘Chokes on SSH-1 ignore messages’CBB("btn_up","JI(`',`t00000074')");EB("btn_up")_6śKėL) "€l€€€€‚’Section 4.26.1: ‘Chokes on SSH-1 ignore messages’ėæŒLÖN, &€€˜€€ćźųĀk‰‚’An ignore message (SSH_MSG_IGNORE) is a message in the SSH protocol which can be sent from the client to the server, or from the server to the client, at any time. Either side is required to ignore the message whenever it receives it. PuTTY uses ignore messages to hide the password packet in SSH-1, so that a listener cannot tell the length of the user's password; it also uses ignore messages for connection keepalives (see section 4.13.1).Ó§ėLµ€, &€O€˜€€ć=0‰‚’If this bug is detected, PuTTY will stop using ignore messages. This means that keepalives will stop working, and PuTTY will have to fall back to a secondary defence against SSH-1 password-length eavesdropping. See section 4.26.2. If this bug is enablÖNµ€śKed when talking to a correct server, the session will succeed, but keepalives will not work and the session might be more vulnerable to eavesdroppers than it could be.˜gÖNM1‡ p!ĘM²c†Section 4.26.2: ‘Refuses all SSH-1 password camouflage’CBB("btn_up","JI(`',`t00000074')");EB("btn_up")e<µ€²) "€x€€€€‚’Section 4.26.2: ‘Refuses all SSH-1 password camouflage’c1M„2 2€c€˜€€ć‚īC‰€€‚’When talking to an SSH-1 server which cannot deal with ignore messages (see section 4.26.1), PuTTY will attempt to disguise the length of the user's password by sending additional padding within the password packet. This is technically a violation of the SSH-1 specification, and so PuTTY will only do it when it cannot use standards-compliant ignore messages as camouflage. In this sense, for a server to refuse to accept a padded password packet is not really a bug, but it does make life inconvenient if the server can also not handle ignore messages.Ūµ²š…& €k€˜€€‚’If this ‘bug’ is detected, PuTTY will assume that neither ignore messages nor padding are acceptable, and that it thus has no choice but to send the user's password with no form of camouflage, so that an eavesdropping user will be easily able to find out the exact length of the password. If this bug is enabled when talking to a correct server, the session will succeed, but will be more vulnerable to eavesdroppers than it could be.sN„c†% €œ€˜€€‚’This is an SSH-1-specific bug. SSH-2 is secure against this type of attack.•dš…ų†1Ż!³!Ēų†Z‡ՉSection 4.26.3: ‘Chokes on SSH-1 RSA authentication’CBB("btn_up","JI(`',`t00000074')");EB("btn_up")b9c†Z‡) "€r€€€€‚’Section 4.26.3: ‘Chokes on SSH-1 RSA authentication’9ų†“ˆ& €'€˜€€‚’Some SSH-1 servers cannot deal with RSA authentication messages at all. If Pageant is running and contains any SSH-1 keys, PuTTY will normally automatically try RSA authentication before falling back to passwords, so these servers will crash when they see the RSA attempt.üÖZ‡‰& €­€˜€€‚’If this bug is detected, PuTTY will go straight to password authentication. If this bug is enabled when talking to a correct server, the session will succeed, but of course RSA authentication will be impossible.F!“ˆՉ% €B€˜€€‚’This is an SSH-1-specific bug.’a‰gŠ1hp!  !ČgŠʊĻSection 4.26.4: ‘Chokes on SSH-2 ignore messages’CBB("btn_up","JI(`',`t00000074')");EB("btn_up")_6Չʊ) "€l€€€€‚’Section 4.26.4: ‘Chokes on SSH-2 ignore messages’Õ©gŠ›Œ, &€S€˜€€ćźųĀk‰‚’An ignore message (SSH_MSG_IGNORE) is a message in the SSH protocol which can be sent from the client to the server, or from the server to the client, at any time. Either side is required to ignore the message whenever it receives it. PuTTY uses ignore messages in SSH-2 to confuse the encrypted data stream and make it harder to cryptanalyse. It also uses ignore messages for connection keepalives (see section 4.13.1).4ʊĻ& €€˜€€‚’If it believes the server to have this bug, PuTTY will stop using ignore messages. If this bug is enabled when talking to a correct server, the session will succeed, but keepalives will not work and the session might be less cryptographically secure than it could be.œk›ŒkŽ1³!/‚!ÉkŽ܎‘ĆSection 4.26.5: ‘Chokes on PuTTY's SSH-2 ‘winadj’ requests’CBB("btn_up","JI(`',`t00000074')");EB("btn_up")qBĻ܎/ .€„€€€€€ €‚’Section 4.26.5: ‘Chokes on PuTTY's SSH-2 ‘winadj’ requests’N kŽ6ĮD V€€˜€€€€ć䋳N‰€€€€€€‚’PuTTY sometimes sends a special request to SSH servers in the middle of channel data, with the name winadj@putty.projects.tartarus.org (see section F.1). The purpose of this request is to measure the round-trip time to ܎6ĮĻthe server, which PuTTY uses to tune its flow control. The server does not actually have to understand the message; it is expected to send back a SSH_MSG_CHANNEL_FAILURE message indicating that it didn't understand it. (All PuTTY needs for its timing calculations is some kind of response.)[/܎‘Ć, &€_€˜€€€€‚’It has been known for some SSH servers to get confused by this message in one way or another – because it has a long name, or because they can't cope with unrecognised request names even to the extent of sending back the correct failure response, or because they handle it sensibly but fill up the server's log file with pointless spam, or whatever. PuTTY therefore supports this bug-compatibility flag: if it believes the server has this bug, it will never send its ‘winadj@putty.projects.tartarus.org’ request, and will make do without its timing data.Ž]6ĮÄ1ń  !€„!ŹÄzÄĒSection 4.26.6: ‘Miscomputes SSH-2 HMAC keys’CBB("btn_up","JI(`',`t00000074')");EB("btn_up")[2‘ĆzÄ) "€d€€€€‚’Section 4.26.6: ‘Miscomputes SSH-2 HMAC keys’IÄĆÅ, &€;€˜€€€€‚’Versions 2.3.0 and below of the SSH server software from ssh.com compute the keys for their HMAC message authentication codes incorrectly. A typical symptom of this problem is that PuTTY dies unexpectedly at the beginning of the session, saying ‘Incorrect MAC received on packet’.įzÄŹĘ& €Ć€˜€€‚’If this bug is detected, PuTTY will compute its HMAC keys in the same way as the buggy server, so that communication will still be possible. If this bug is enabled when talking to a correct server, communication will fail.F!ĆÅĒ% €B€˜€€‚’This is an SSH-2-specific bug.”cŹĘ¤Ē1į/‚!Į†!Ė¤ĒČ…ŹSection 4.26.7: ‘Miscomputes SSH-2 encryption keys’CBB("btn_up","JI(`',`t00000074')");EB("btn_up")a8ĒČ) "€p€€€€‚’Section 4.26.7: ‘Miscomputes SSH-2 encryption keys’-¤Ē2É, &€€˜€€€€‚’Versions below 2.0.11 of the SSH server software from ssh.com compute the keys for the session encryption incorrectly. This problem can cause various error messages, such as ‘Incoming packet was garbled on decryption’, or possibly even ‘Out of memory’. ēČ?Ź& €Ļ€˜€€‚’If this bug is detected, PuTTY will compute its encryption keys in the same way as the buggy server, so that communication will still be possible. If this bug is enabled when talking to a correct server, communication will fail.F!2É…Ź% €B€˜€€‚’This is an SSH-2-specific bug.›j?Ź Ė1“€„!ŗ‰!Ģ ĖˆĖ³ĪSection 4.26.8: ‘Requires padding on SSH-2 RSA signatures’CBB("btn_up","JI(`',`t00000074')");EB("btn_up")h?…ŹˆĖ) "€~€€€€‚’Section 4.26.8: ‘Requires padding on SSH-2 RSA signatures’žx Ė&Ķ& €ń€˜€€‚’Versions below 3.3 of OpenSSH require SSH-2 RSA signatures to be padded with zero bytes to the same length as the RSA key modulus. The SSH-2 specification says that an unpadded signature MUST be accepted, so this is a bug. A typical symptom of this problem is that PuTTY mysteriously fails RSA authentication once in every few hundred attempts, and falls back to passwords.G!ˆĖmĪ& €C€˜€€‚’If this bug is detected, PuTTY will pad its signatures in the way OpenSSH expects. If this bug is enabled when talking to a correct server, it is likely that no damage will be done, since correct servers usually still accept padded signatures because they're used to talking to OpenSSH.F!&Ķ³Ī% €B€˜€€‚’This is an SSH-2-specific bug.šimĪMĻ1LĮ†!Ń"ĶMĻ“Ļ„Section 4.26.9: ‘Misuses the session ID in SSH-2 PK auth’CBB("btn_up","JI(`',`t00000074')");EB("btn_up")g>³Ī“Ļ) "€|€€€€‚’Section 4.26.9: ‘Misuses the session ID in SSH-2 PK auth’ɝMĻ‰, &€;€˜€€ć{ÄłN‰‚’Versions below 2.3 of OpenSSH r“Ļ‰³Īequire SSH-2 public-key authentication to be done slightly differently: the data to be signed by the client contains the session ID formatted in a different way. If public-key authentication mysteriously does not work but the Event Log (see section 3.1.3.1) thinks it has successfully sent a signature, it might be worth enabling the workaround for this bug to see if it helps.Ö°“Ļ_& €a€˜€€‚’If this bug is detected, PuTTY will sign data in the way OpenSSH expects. If this bug is enabled when talking to a correct server, SSH-2 public-key authentication will fail.F!‰„% €B€˜€€‚’This is an SSH-2-specific bug.—f_<1½ŗ‰!ī"Ī< łSection 4.26.10: ‘Handles SSH-2 key re-exchange badly’CBB("btn_up","JI(`',`t00000074')");EB("btn_up")d;„ ) "€v€€€€‚’Section 4.26.10: ‘Handles SSH-2 key re-exchange badly’ė<·, &€×€˜€€ćįŸ‰‚’Some SSH servers cannot cope with repeat key exchange at all, and will ignore attempts by the client to start one. Since PuTTY pauses the session while performing a repeat key exchange, the effect of this would be to cause the session to hang after an hour (unless you have your rekey timeout set differently; see section 4.19.2 for more about rekeys). Other, very old, SSH servers handle repeat key exchange even more badly, and disconnect upon receiving a repeat key exchange request.üÖ ³& €­€˜€€‚’If this bug is detected, PuTTY will never initiate a repeat key exchange. If this bug is enabled when talking to a correct server, the session should still function, but may be less secure than you would expect.F!·ł% €B€˜€€‚’This is an SSH-2-specific bug.•d³Ž1Ń"z"ĻŽš Section 4.26.11: ‘Ignores SSH-2 maximum packet size’CBB("btn_up","JI(`',`t00000074')");EB("btn_up")b9łš) "€r€€€€‚’Section 4.26.11: ‘Ignores SSH-2 maximum packet size’P*Ž@ & €U€˜€€‚’When an SSH-2 channel is set up, each end announces the maximum size of data packet that it is willing to receive for that channel. Some servers ignore PuTTY's announcement and send packets larger than PuTTY is willing to accept, causing it to report ‘Incoming packet was garbled on decryption’.O)š & €S€˜€€‚’If this bug is detected, PuTTY never allows the channel's flow-control window to grow large enough to allow the server to send an over-sized packet. If this bug is enabled when talking to a correct server, the session will work correctly, but download performance will be less than it could be.ši@ ) 1Żī"€"Š)  @Section 4.26.12: ‘Replies to requests on closed channels’CBB("btn_up","JI(`',`t00000074')");EB("btn_up")g>  ) "€|€€€€‚’Section 4.26.12: ‘Replies to requests on closed channels’–p) & & €į€˜€€‚’The SSH protocol as published in RFC 4254 has an ambiguity which arises if one side of a connection tries to close a channel, while the other side simultaneously sends a request within the channel and asks for a reply. RFC 4254 leaves it unclear whether the closing side should reply to the channel request after having announced its intention to close the channel.9  _, &€€˜€€€€‚’Discussion on the ietf-ssh mailing list in April 2014 formed a clear consensus that the right answer is no. However, because of the ambiguity in the specification, some SSH servers have implemented the other policy; for example, OpenSSH used to until it was fixed.§u& @2 2€ė€˜€€ć,hš‰€€‚’Because PuTTY sends channel requests with the ‘want reply’ flag throughout channels' lifetime (see section 4.26.5), it's possible that when connecting to such a server it might receive a reply to a request after it thinks the channel has entirely closed, and terminate with an error along the lines of ‘Received SSH2_MSG_CHANNEL_FAILURE for nonexistent channel 2_@ 56’.ši_¬@1z"y‚"Ѭ@AĖCSection 4.26.13: ‘Only supports pre-RFC4419 SSH-2 DH GEX’CBB("btn_up","JI(`',`t00000074')");EB("btn_up")g>@A) "€|€€€€‚’Section 4.26.13: ‘Only supports pre-RFC4419 SSH-2 DH GEX’[5¬@nB& €k€˜€€‚’The SSH key exchange method that uses Diffie-Hellman group exchange was redesigned after its original release, to use a slightly more sophisticated setup message. Almost all SSH implementations switched over to the new version. (PuTTY was one of the last.) A few old servers still only support the old one.åA…C2 2€Ė€˜€€€€€€‚’If this bug is detected, and the client and server negotiate Diffie-Hellman group exchange, then PuTTY will send the old message now known as SSH2_MSG_KEX_DH_GEX_REQUEST_OLD in place of the new SSH2_MSG_KEX_DH_GEX_REQUEST.F!nBĖC% €B€˜€€‚’This is an SSH-2-specific bug.N…CJD1j€"{„"ŅJD–D“GSection 4.27: The Serial panelCBB("btn_up","JI(`',`t00000053')");EB("btn_up")L#ĖC–D) "€F€€€€‚’Section 4.27: The Serial panel™tJD/E% €č€˜€€‚’The Serial panel allows you to configure options that only apply when PuTTY is connecting to a local serial line.k<–DšE/ .€x€ć\ąĖ€€€‰‚’Section 4.27.1: Selecting a serial line to connect tom>/EF/ .€|€ćc@€€€‰‚’Section 4.27.2: Selecting the speed of your serial lineg8šEnF/ .€p€ćšq’€€€‰‚’Section 4.27.3: Selecting the number of data bitsg8FÕF/ .€p€ćhć$€€€‰‚’Section 4.27.4: Selecting the number of stop bitsqBnFFG/ .€„€ćE+§€€€‰‚’Section 4.27.5: Selecting the serial parity checking schemen?ÕF“G/ .€~€ćŅģŲĖ€€€‰‚’Section 4.27.6: Selecting the serial flow control scheme–eFGJH1—y‚"f†"ÓJH­HįJSection 4.27.1: Selecting a serial line to connect toCBB("btn_up","JI(`',`t00000075')");EB("btn_up")c:“G­H) "€t€€€€‚’Section 4.27.1: Selecting a serial line to connect to¾˜JHkI& €1€˜€€‚’The ‘Serial line to connect to’ box allows you to choose which serial line you want PuTTY to talk to, if your computer has more than one serial port. o­H J1 2€Ž€˜€€€€€€‚’On Windows, the first serial line is called COM1, and if there is a second it is called COM2, and so on.ÖŖkIįJ, &€U€˜€€ć-„™¦‰‚’This configuration setting is also visible on the Session panel, where it replaces the ‘Host Name’ box (see section 4.1.1) if the connection type is set to ‘Serial’.˜g JyK1ƒ{„"nˆ"ŌyKŽKüMSection 4.27.2: Selecting the speed of your serial lineCBB("btn_up","JI(`',`t00000075')");EB("btn_up")e<įJŽK) "€x€€€€‚’Section 4.27.2: Selecting the speed of your serial lineM'yK+M& €O€˜€€‚’The ‘Speed’ box allows you to choose the speed (or ‘baud rate’) at which to talk to the serial line. Typical values might be 9600, 19200, 38400 or 57600. Which one you need will depend on the device at the other end of the serial cable; consult the manual for that device if you are in doubt.Ń„ŽKüM, &€K€˜€€ć-„™¦‰‚’This configuration setting is also visible on the Session panel, where it replaces the ‘Port’ box (see section 4.1.1) if the connection type is set to ‘Serial’.’a+MŽN1%f†"D‰"ՎNķN³OSection 4.27.3: Selecting the number of data bitsCBB("btn_up","JI(`',`t00000075')");EB("btn_up")_6üMķN) "€l€€€€‚’Section 4.27.3: Selecting the number of data bitsĘ ŽN³O& €A€˜€€‚’The ‘Data bits’ box allows you to choose how many data bits are transmitted in each byte sent or received through the serial line. Typical values are 7 or 8.’aķNQ€1 nˆ"ŗ#ÖQ€°€ZSection 4.27.4: Selecting th³OQ€³Oe number of stop bitsCBB("btn_up","JI(`',`t00000075')");EB("btn_up")_6³O°€) "€l€€€€‚’Section 4.27.4: Selecting the number of stop bitsŖ„Q€Z& € €˜€€‚’The ‘Stop bits’ box allows you to choose how many stop bits are used in the serial line protocol. Typical values are 1, 1.5 or 2.œk°€ö1 D‰"+#×ö_‚–…Section 4.27.5: Selecting the serial parity checking schemeCBB("btn_up","JI(`',`t00000075')");EB("btn_up")i@Z_‚) "€€€€€€‚’Section 4.27.5: Selecting the serial parity checking scheme˜sö÷‚% €ę€˜€€‚’The ‘Parity’ box allows you to choose what type of parity checking is used on the serial line. The settings are:X+_‚Oƒ- *€V€T˜‘€8‚€ƒ€‚’•‘None’: no parity bit is sent at all.¢u÷‚ńƒ- *€ź€T˜‘€8‚€ƒ€‚’•‘Odd’: an extra parity bit is sent alongside each byte, and arranged so that the total number of 1 bits is odd.¤wOƒ•„- *€ī€T˜‘€8‚€ƒ€‚’•‘Even’: an extra parity bit is sent alongside each byte, and arranged so that the total number of 1 bits is even.€Sńƒ…- *€¦€T˜‘€8‚€ƒ€‚’•‘Mark’: an extra parity bit is sent alongside each byte, and always set to 1.T•„–…- *€Ø€T˜‘€8‚€ƒ€‚’•‘Space’: an extra parity bit is sent alongside each byte, and always set to 0.™h…/†1Eŗ#n#Ų/†•†t‰Section 4.27.6: Selecting the serial flow control schemeCBB("btn_up","JI(`',`t00000075')");EB("btn_up")f=–…•†) "€z€€€€‚’Section 4.27.6: Selecting the serial flow control scheme¤/†9‡% €ž€˜€€‚’The ‘Flow control’ box allows you to choose what type of flow control checking is used on the serial line. The settings are:©|•†ā‡- *€ų€T˜‘€8‚€ƒ€‚’•‘None’: no flow control is done. Data may be lost if either side attempts to send faster than the serial line permits.Ža9‡pˆ- *€Ā€T˜‘€8‚€ƒ€‚’•‘XON/XOFF’: flow control is done by sending XON and XOFF characters within the data stream.‚Uā‡ņˆ- *€Ŗ€T˜‘€8‚€ƒ€‚’•‘RTS/CTS’: flow control is done using the RTS and CTS wires on the serial line.‚Upˆt‰- *€Ŗ€T˜‘€8‚€ƒ€‚’•‘DSR/DTR’: flow control is done using the DSR and DTR wires on the serial line.Ž]ņˆŠ1 +#Ŗ#ŁŠ]ŠĆSection 4.28: Storing configuration in a fileCBB("btn_up","JI(`',`t00000053')");EB("btn_up")[2t‰]Š) "€d€€€€‚’Section 4.28: Storing configuration in a fileĘ Š#‹& €A€˜€€‚’PuTTY does not currently support storing its configuration in a file instead of the Registry. However, you can work around this with a couple of batch files.€N]Š£Œ2 2€€˜€€€€€€‚’You will need a file called (say) PUTTY.BAT which imports the contents of a file into the Registry, then runs PuTTY, exports the contents of the Registry back into the file, and deletes the Registry entries. This can all be done using the Regedit command line options, so it's all automatic. Here is what you need in PUTTY.BAT:0 #‹ӌ$ €€€€‚’@ECHO OFF;£Œ$ €.€€€‚’regedit /s putty.reg>ӌL$ €4€€€‚’regedit /s puttyrnd.reg9…$ €*€€€‚’start /w putty.exegCLģ$ €†€€€‚’regedit /ea new.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY=…)Ž$ €2€€€‚’copy new.reg putty.reg2ģ[Ž$ €€€€‚’del new.reg?)ŽšŽ% €4€˜€€‚’regedit /s puttydel.reg2ś[ŽĢ8 >€õ€˜€€€€€€€€‚’This batch file needs two auxiliary files: PUTTYRND.REG which sets up an initial safe location for the PUTTY.RND random seed file, and PUTTYDEL.REG which destroys everything in the Registry once it's been successfully saved back to the file.EšŽĄ+ &€4€˜€€€€‚’Here is ĢĄt‰PUTTYDEL.REG:/ ĢLĄ$ €€€€‚’REGEDIT4(ĄtĄ$ €€€€‚’ W2LĄĖĄ% €d€˜€€‚’[-HKEY_CURRENT_USER\Software\SimonTatham\PuTTY]U*tĄ Į+ &€T€˜€€€€‚’Here is an example PUTTYRND.REG file:/ ĖĄOĮ$ €€€€‚’REGEDIT4( ĮwĮ$ €€€€‚’ U1OĮĢĮ$ €b€€€‚’[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY]F!wĮĀ% €B€˜€€‚’"RandSeedFile"="a:\\putty.rnd" ŽĢĮĆ, &€½€˜€€€€‚’You should replace a:\putty.rnd with the location where you want to store your random number data. If the aim is to carry around PuTTY and its settings on one USB stick, you probably want to store it on the USB stick.‹ZĀ§Ć1`n#2ƒ#Ś§ĆÄĘChapter 5: Using PSCP to transfer files securelyCBB("btn_up","JI(`',`Top')");EB("btn_up")^5ĆÄ) "€j€€€€‚’Chapter 5: Using PSCP to transfer files securely {§Ć„Ä% €ö€˜€€‚’PSCP, the PuTTY Secure Copy client, is a tool for transferring files securely between computers using an SSH connection.řÄjÅ, &€3€˜€€ćÓÅłN‰‚’If you have an SSH-2 server, you might prefer PSFTP (see chapter 6) for interactive use. PSFTP does not in general work with SSH-1 servers, however.P!„ÄŗÅ/ .€B€ćÅłN€€€‰‚’Section 5.1: Starting PSCPMjÅĘ/ .€<€ć‚ÅłN€€€‰‚’Section 5.2: PSCP Usage{JŗÅ‚Ę1Ŗ#Ն#Ū‚ĘŹĘĖSection 5.1: Starting PSCPCBB("btn_up","JI(`',`t00000077')");EB("btn_up")HĘŹĘ) "€>€€€€‚’Section 5.1: Starting PSCPŠd‚ĘTČ& €É€˜€€‚’PSCP is a command line application. This means that you cannot just double-click on its icon to run it and instead you have to bring up a console window. With Windows 95, 98, and ME, this is called an ‘MS-DOS Prompt’ and with Windows NT, 2000, and XP, it is called a ‘Command Prompt’. It should be available from the Programs section of your Start Menu.ńæŹĘEÉ2 2€€˜€€€€€€‚’To start PSCP it will need either to be on your PATH or in your current directory. To add the directory containing PSCP to your PATH environment variable, type into the console window:R-TČ—É% €Z€˜€€‚’set PATH=C:\path\to\putty\directory;%PATH%l4EÉĖ8 >€i€˜€€€€€€€€‚’This will only work for the lifetime of that particular console window. To set your PATH more permanently on Windows NT, 2000, and XP, use the Environment tab of the System Control Panel. On Windows 95, 98, and ME, you will need to edit your AUTOEXEC.BAT to include a set command like the one above.xG—É{Ė1ķ 2ƒ# $Ü{ĖĄĖ‡Section 5.2: PSCP UsageCBB("btn_up","JI(`',`t00000077')");EB("btn_up")EĖĄĖ) "€8€€€€‚’Section 5.2: PSCP UsageÕ{ĖĮĢ, &€«€˜€€€€‚’Once you've got a console window to type into, you can just type pscp on its own to bring up a usage message. This tells you the version of PSCP you're using, and gives you a brief summary of how to use PSCP:9ĄĖśĢ$ €*€€€‚’Z:\owendadmin>pscp?ĮĢ9Ķ$ €6€€€‚’PuTTY Secure Copy client3śĢlĶ$ €€€€‚’Release 0.66V29ĶĀĶ$ €d€€€‚’Usage: pscp [options] [user@]host:source targetb>lĶ$Ī$ €|€€€‚’ pscp [options] source [source...] [user@]host:targetU1ĀĶyĪ$ €b€€€‚’ pscp [options] -ls [user@]host:filespec/ $ĪØĪ$ €€€€‚’Options:U1yĪżĪ$ €b€€€‚’ -V print version information and exitV2ØĪSĻ$ €d€€€‚’ -pgpfp print PGP key fingerprints and exitK'żĪžĻ$ €N€€€‚’ -p preserve file attributesO+SĻ $ €V€€€‚’ -q quiet, don't show statisticsžĻ ĖO+žĻ[$ €V€€€‚’ -r copy directories recursivelyH$ £$ €H€€€‚’ -v show verbose messagesY5[ü$ €j€€€‚’ -load sessname Load settings from saved sessionL(£H$ €P€€€‚’ -P port connect to specified portR.üš$ €\€€€‚’ -l user connect with specified usernameP,Hź$ €X€€€‚’ -pw passw login with specified password_;šI$ €v€€€‚’ -1 -2 force use of particular SSH protocol versionL(ź•$ €P€€€‚’ -4 -6 force use of IPv4 or IPv6E!IŚ$ €B€€€‚’ -C enable compression[7•5$ €n€€€‚’ -i key private key file for user authenticationI%Ś~$ €J€€€‚’ -noagent disable use of PageantH$5Ę$ €H€€€‚’ -agent enable use of Pageant>~$ €4€€€‚’ -hostkey aa:bb:cc:...`<Ęd$ €x€€€‚’ manually specify a host key (may be repeated)R.¶$ €\€€€‚’ -batch disable all interactive promptsZ6d$ €l€€€‚’ -unsafe allow server-side wildcards (DANGEROUS)M)¶]$ €R€€€‚’ -sftp force use of SFTP protocolM(Ŗ% €P€˜€€‚’ -scp force use of SCP protocolƒX]-+ &€°€˜€€€€‚’(PSCP's interface is much like the Unix scp command, if you're familiar with that.)O Ŗ|/ .€@€ć®ÅłN€€€‰‚’Section 5.2.1: The basicsL-Č/ .€:€ć©ÅłN€€€‰‚’Section 5.2.2: OptionsQ"|/ .€D€ćŃÅłN€€€‰‚’Section 5.2.3: Return valuen?ȇ/ .€~€ćŅÅłN€€€‰‚’Section 5.2.4: Using public key authentication with PSCPzI1OՆ#·„$ŻH\GSection 5.2.1: The basicsCBB("btn_up","JI(`',`t00000079')");EB("btn_up")G‡H) "€<€€€€‚’Section 5.2.1: The basicsT/œ% €^€˜€€‚’To receive (a) file(s) from a remote server:P+Hģ% €V€˜€€‚’pscp [options] [user@]host:source targetĒ‰œ³ > J€€˜€€€€€€€€€€‚’So to copy the file /etc/hosts from the server example.com as user fred to the file c:\temp\example-hosts.txt, you would type:b=ģ % €z€˜€€‚’pscp fred@example.com:/etc/hosts c:\temp\example-hosts.txtO*³ d % €T€˜€€‚’To send (a) file(s) to a remote server:\7 Ą % €n€˜€€‚’pscp [options] source [source...] [user@]host:targetƅd ƒ > J€ €˜€€€€€€€€€€‚’So to copy the local file c:\documents\foo.txt to the server example.com as user fred to the file /tmp/foo you would type:[6Ą Ž % €l€˜€€‚’pscp c:\documents\foo.txt fred@example.com:/tmp/fooxSƒ V % €¦€˜€€‚’You can use wildcards to transfer multiple files in either direction, like this:X4Ž ® $ €h€€€‚’pscp c:\documents\*.doc fred@example.com:docfilesR-V  % €Z€˜€€‚’pscp fred@example.com:source/*.c c:\sourcee® 8 >€Ė€˜€€€€€€€€‚’However, in the second case (using a wildcard for multiple remote files) you may see a warning saying something like ‘warning: remote host tried to write to a file called ‘terminal.c’ when we requested a file called ‘*.c’. If this is a wildcard, consider upgrading to SSH-2 or using the ‘-unsafe’ option. Renaming of this file has been disallowed’.‹M 4A> J€›€˜€€€€€€€€€€‚’This is due to a fundamental insecurity in the old-style SCP protocol: the client sends the wildcard string (*.c) to the server, and the server sends back a sequence of file names that match the wildcard pattern. However, there is nothing to stop the server sending back a different patte4A‡rn and writing over one of your other files: if you request *.c, the server might send back the file name AUTOEXEC.BAT and install a virus for you. Since the wildcard matching rules are decided by the server, the client cannot reliably verify that the filenames sent back match the pattern.n<¢B2 2€y€˜€€€€ćŠÅłN‰‚’PSCP will attempt to use the newer SFTP protocol (part of SSH-2) where possible, which does not suffer from this security flaw. If you are talking to an SSH-2 server which supports SFTP, you will never see this warning. (You can force use of the SFTP protocol, if available, with -sftp - see section 5.2.2.6.)®‚4APC, &€€˜€€€€‚’If you really need to use a server-side wildcard with an SSH-1 server, you can use the -unsafe command line option with PSCP:Z5¢BŖC% €j€˜€€‚’pscp -unsafe fred@example.com:source/*.c c:\source‚PPC,F2 2€”€˜€€€€€€‚’This will suppress the warning message and the file transfer will happen. However, you should be aware that by using this option you are giving the server the ability to write to any file in the target directory, so you should only use this option if you trust the server administrator not to be malicious (and not to let the server machine be cracked by malicious people). Alternatively, do any such download in a newly created empty directory. (Even in ‘unsafe’ mode, PSCP will still protect you against the server trying to get out of that directory using pathnames including ‘..’.)KŖCwF/ .€8€ć„ÅłN€€€‰‚’Section 5.2.1.1: userK,FĀF/ .€8€ć¦ÅłN€€€‰‚’Section 5.2.1.2: hostMwFG/ .€<€ć§ÅłN€€€‰‚’Section 5.2.1.3: sourceMĀF\G/ .€<€ćØÅłN€€€‰‚’Section 5.2.1.4: targetvEGŅG1K $­…$ŽŅGHISection 5.2.1.1: userCBB("btn_up","JI(`',`t00000080')");EB("btn_up")C\GH) "€4€€€€ ‚’Section 5.2.1.1: userÜŅGI, &€¹€˜€€€€‚’The login name on the remote server. If this is omitted, and host is a PuTTY saved session, PSCP will use any username specified by that saved session. Otherwise, PSCP will attempt to use the local Windows username.vEH“I1'·„$…†$ߓIÖIŗJSection 5.2.1.2: hostCBB("btn_up","JI(`',`t00000080')");EB("btn_up")CIÖI) "€4€€€€ ‚’Section 5.2.1.2: host侓IŗJ& €}€˜€€‚’The name of the remote server, or the name of an existing PuTTY saved session. In the latter case, the session's settings for hostname, port number, cipher type and username will be used.xGÖI2K1#­…$ ‰$ą2KwKUNSection 5.2.1.3: sourceCBB("btn_up","JI(`',`t00000080')");EB("btn_up")EŗJwK) "€8€€€€ ‚’Section 5.2.1.3: sourceĆy2K:MJ b€ó€˜€€€€€€€€€€€€€€‚’One or more source files. Wildcards are allowed. The syntax of wildcards depends on the system to which they apply, so if you are copying from a Windows system to a UNIX system, you should use Windows wildcard syntax (e.g. *.*), but if you are copying from a UNIX system to a Windows system, you would use the wildcard syntax allowed by your UNIX shell (e.g. *).ļwKUN, &€ß€˜€€€€‚’If the source is a remote server and you do not specify a full pathname (in UNIX, a pathname beginning with a / (slash) character), what you specify as a source will be interpreted relative to your home directory on the remote server.xG:MĶN1ų…†$(%įĶNOсSection 5.2.1.4: targetCBB("btn_up","JI(`',`t00000080')");EB("btn_up")EUNO) "€8€€€€ ‚’Section 5.2.1.4: targetćĶN-€, &€Ē€˜€€€€‚’The filename or directory to put the file(s). When copying from a remote server to a local host, you may wish simply to place the file(s) in the current directory. To do this, you should specifO-€UNy a target of .. For example:P+O}€% €V€˜€€‚’pscp fred@example.com:/home/tom/.emacs .}R-€ś€+ &€¤€˜€€€€‚’...would copy /home/tom/.emacs on the remote server to the current directory.׫}€с, &€W€˜€€€€‚’As with the source parameter, if the target is on a remote server and is not a full path name, it is interpreted relative to your home directory on the remote server.wFś€H‚1Ž ‰$ %āH‚Œ‚ֆSection 5.2.2: OptionsCBB("btn_up","JI(`',`t00000079')");EB("btn_up")DсŒ‚) "€6€€€€‚’Section 5.2.2: Options+’H‚·ƒ, &€’€˜€€ć«ÄłN‰‚’PSCP accepts all the general command line options supported by the PuTTY tools, except the ones which make no sense in a file transfer utility. See section 3.8.3 for a description of these options. (The ones not supported by PSCP are clearly marked.)™tŒ‚P„% €č€˜€€‚’PSCP also supports some of its own options. The following sections describe PSCP's specific command-line options.`.·ƒ°„2 4€\€ćŖÅłN€€€€‰‚’Section 5.2.2.1: -ls list remote filesf4P„…2 4€h€ć«ÅłN€€€€‰‚’Section 5.2.2.2: -p preserve file attributesj8°„€…2 4€p€ć¬ÅłN€€€€‰‚’Section 5.2.2.3: -q quiet, don't show statisticsl:…ģ…2 4€t€ć­ÅłN€€€€‰‚’Section 5.2.2.4: -r copies directories recursivelyk9€…W†2 4€r€ćŁÅłN€€€€‰‚’Section 5.2.2.5: -batch avoid interactive promptsGģ…ֆ8 @€Ž€ćŠÅłN€€€€€€‰‚’Section 5.2.2.6: -sftp, -scp force use of particular protocol‡VW†]‡1÷(%3%ć]‡µ‡TŠSection 5.2.2.1: -ls list remote filesCBB("btn_up","JI(`',`t00000085')");EB("btn_up")X,ֆµ‡, (€X€€€€ €‚’Section 5.2.2.1: -ls list remote filesé½]‡žˆ, &€{€˜€€€€‚’If the -ls option is given, no files are transferred; instead, remote files are listed. Only a hostname specification and optional remote file specification need be given. For example:F!µ‡äˆ% €B€˜€€‚’pscp -ls fred@example.com:dir1 ąžˆš‰, &€Į€˜€€€€‚’The SCP protocol does not contain within itself a means of listing files. If SCP is in use, this option therefore assumes that the server responds appropriately to the command ls -la; this may not work with all servers.d?äˆTŠ% €~€˜€€‚’If SFTP is in use, this option should work with all servers.\š‰įŠ1* %%äįŠ?‹ ŒSection 5.2.2.2: -p preserve file attributesCBB("btn_up","JI(`',`t00000085')");EB("btn_up")^2TŠ?‹, (€d€€€€ €‚’Section 5.2.2.2: -p preserve file attributesĢ įŠ Œ, &€A€˜€€€€‚’By default, files copied with PSCP are timestamped with the date and time they were copied. The -p option preserves the original timestamp on copied files.‘`?‹œŒ1Ö3%9 %圌žŒrSection 5.2.2.3: -q quiet, don't show statisticsCBB("btn_up","JI(`',`t00000085')");EB("btn_up")b6 ŒžŒ, (€l€€€€ €‚’Section 5.2.2.3: -q quiet, don't show statisticszUœŒx% €Ŗ€˜€€‚’By default, PSCP displays a meter displaying the progress of the current transfer:hCžŒą% €†€˜€€‚’mibs.tar | 168 kB | 84.0 kB/s | ETA: 00:00:13 | 13%’fxr, &€Ķ€˜€€€€‚’The fields in this display are (from left to right), filename, size (in kilobytes) of file transferred so far, estimate of how fast the file is being transferred (in kilobytes per second), estimated time that the transfer will be complete, and percentage of the file so far transferred. The -q option to PSCP suppresses the printing of these statistics.“bąĄ1Č%p%ęĄuĄŁĮSection 5.2.2.4: -r copies directories recursivelyCBB("btn_up","JI(`',`t00000085')");EB("btnrĄr_up")d8ruĄ, (€p€€€€ €‚’Section 5.2.2.4: -r copies directories recursivelyd8ĄŁĮ, &€q€˜€€€€‚’By default, PSCP will only copy files. Any directories you specify to copy will be skipped, as will their contents. The -r option tells PSCP to descend into any directories you specify, and to copy them and their contents. This allows you to use PSCP to transfer whole directory structures between machines.’auĄkĀ1x9 %^ƒ%ēkĀĪĀćÄSection 5.2.2.5: -batch avoid interactive promptsCBB("btn_up","JI(`',`t00000085')");EB("btn_up")c7ŁĮĪĀ, (€n€€€€ €‚’Section 5.2.2.5: -batch avoid interactive prompts< kĀ Ä2 2€€˜€€€€ć’ÅłN‰‚’If you use the -batch option, PSCP will never give an interactive prompt while establishing the connection. If the server's host key is invalid, for example (see section 2.2), then the connection will simply be abandoned instead of asking you what to do next.Ł­ĪĀćÄ, &€[€˜€€€€‚’This may help PSCP's behaviour when it is used in automated scripts: using -batch, if something goes wrong at connection time, the batch job will fail rather than hang.žm āÅ1)p%N‰%čÅųÅŖĢSection 5.2.2.6: -sftp, -scp force use of particular protocolCBB("btn_up","JI(`',`t00000085')");EB("btn_up")wEćÄųÅ2 4€Š€€€€ €€ €‚’Section 5.2.2.6: -sftp, -scp force use of particular protocolūɁÅóĘ2 2€“€˜€€ć®ÅłN‰€€‚’As mentioned in section 5.2.1, there are two different file transfer protocols in use with SSH. Despite its name, PSCP (like many other ostensible scp clients) can use either of these protocols.öŹųÅéČ, &€•€˜€€ć®ÅłN‰‚’The older SCP protocol does not have a written specification and leaves a lot of detail to the server platform. Wildcards are expanded on the server. The simple design means that any wildcard specification supported by the server platform (such as brace expansion) can be used, but also leads to interoperability issues such as with filename quoting (for instance, where filenames contain spaces), and also the security issue described in section 5.2.1.³‡óĘœŹ, &€€˜€€ćū„łN‰‚’The newer SFTP protocol, which is usually associated with SSH-2 servers, is specified in a more platform independent way, and leaves issues such as wildcard syntax up to the client. (PuTTY's SFTP wildcard syntax is described in section 6.2.2.) This makes it more consistent across platforms, more suitable for scripting and automation, and avoids security issues with wildcard matching.¬†éČHĖ& € €˜€€‚’Normally PSCP will attempt to use the SFTP protocol, and only fall back to the SCP protocol if SFTP is not available on the server.lAœŹ“Ė+ &€‚€˜€€€€‚’The -scp option forces PSCP to use the SCP protocol or quit.öŹHĖŖĢ, &€•€˜€€€€‚’The -sftp option forces PSCP to use the SFTP protocol or quit. When this option is specified, PSCP looks harder for an SFTP server, which may allow use of SFTP with SSH-1 depending on server setup.|K“Ė&Ķ1„^ƒ%UŠ%é&ĶoĶĖĪSection 5.2.3: Return valueCBB("btn_up","JI(`',`t00000079')");EB("btn_up")I ŖĢoĶ) "€@€€€€‚’Section 5.2.3: Return valueĖŸ&Ķ:Ī, &€?€˜€€€€‚’PSCP returns an ERRORLEVEL of zero (success) only if the files were correctly transferred. You can test for this in a batch file, using code such as this:BoĶ|Ī$ €<€€€‚’pscp file*.* user@hostname:O*:ĪĖĪ% €T€˜€€‚’if errorlevel 1 echo There was an error™h|ĪdĻ1¬N‰%&&źdĻŹĻSection 5.2.4: Using public key authentication with PSCPCBB("btn_up","JI(`',`t00000079')");EB("btn_up")f=ĖĪŹĻ) "€z€€€€‚’Section 5.2.4: Using public key authentication with PSCP™tdĻo% €č€˜€€‚’Like PuTTY, PSCPŹĻoĖĪ can authenticate using a public key instead of a password. There are three ways you can do this.rŹĻ + &€ä€˜€€ć¦ÅłN‰‚’Firstly, PSCP can use PuTTY saved sessions in place of hostnames (see section 5.2.1.2). So you would do this:Üo(@ N€¹€T˜‘€8‚€ƒ€ć}§B‰ć„@ĻŲ‰ć„õ‰‚’•Run PuTTY, and create a PuTTY saved session (see section 4.1.2) which specifies your private key file (see section 4.21.8). You will probably also want to specify a username to log in as (see section 4.14.1).ņø : B€q€T˜‘€8‚€ƒ€€€€€‚’•In PSCP, you can now use the name of the session instead of a hostname: type pscp sessionname:file localfile, where sessionname is replaced by the name of your saved session.Ē(Ž2 2€%€˜€€€€ć’ÄłN‰‚’Secondly, you can supply the name of a private key file on the command line, with the -i option. See section 3.8.3.18 for more information.„zƒ+ &€ō€˜€€ć80«f‰‚’Thirdly, PSCP will attempt to authenticate using Pageant if Pageant is running (see chapter 9). So you would do this:tGŽ÷- *€Ž€T˜‘€8‚€ƒ€‚’•Ensure Pageant is running, and has your private key stored in it.¬ƒ£- *€ž€T˜‘€8‚€ƒ€‚’•Specify a user and host name to PSCP as normal. PSCP will automatically detect Pageant and try to use the keys within it.yN÷+ &€œ€˜€€ćĪƒłN‰‚’For more general information on public-key authentication, see chapter 8.Œ[£Ø1UŠ%æ&ėØÆ Chapter 6: Using PSFTP to transfer files securelyCBB("btn_up","JI(`',`Top')");EB("btn_up")_6) "€l€€€€‚’Chapter 6: Using PSFTP to transfer files securelyšuØ”% €ź€˜€€‚’PSFTP, the PuTTY SFTP client, is a tool for transferring files securely between computers using an SSH connection.V1÷% €b€˜€€‚’PSFTP differs from PSCP in the following ways:ź” . *€Õ€T˜‘€8‚€ƒ€‚’•PSCP should work on virtually every SSH server. PSFTP uses the new SFTP protocol, which is a feature of SSH-2 only. (PSCP will also use this protocol if it can, but there is an SSH-1 equivalent it can fall back to if it cannot.)’R÷” @ N€„€T˜‘€8‚€ƒ€€€€€€€‚’•PSFTP allows you to run an interactive file transfer session, much like the Windows ftp program. You can list the contents of directories, browse around the file system, issue multiple get and put commands, and eventually log out. By contrast, PSCP is designed to do a single file transfer operation and immediately terminate.Q" ņ / .€D€ćŌÅłN€€€‰‚’Section 6.1: Starting PSFTPP!” B / .€B€ć…łN€€€‰‚’Section 6.2: Running PSFTPm>ņ Æ / .€|€ć«ƒłN€€€‰‚’Section 6.3: Using public key authentication with PSFTP|KB + 1 &&5ƒ&ģ+ t ?ESection 6.1: Starting PSFTPCBB("btn_up","JI(`',`t00000094')");EB("btn_up")I Æ t ) "€@€€€€‚’Section 6.1: Starting PSFTP7+ « 2 2€ €˜€€€€€€‚’The usual way to start PSFTP is from a command prompt, much like PSCP. To do this, it will need either to be on your PATH or in your current directory. To add the directory containing PSFTP to your PATH environment variable, type into the console window:R-t ż % €Z€˜€€‚’set PATH=C:\path\to\putty\directory;%PATH%x« š% €š€˜€€‚’Unlike PSCP, however, PSFTP has no complex command-line syntax; you just specify a host name and perhaps a user name:@ż Ś% €6€˜€€‚’psftp server.example.com2 š % €€˜€€‚’or perhapsE ŚQ% €@€˜€€‚’psftp fred@server.example.comöŹ S@, &€•€˜€€€€‚’Alternatively, if you just type psftp on its own (or double-click the PSFTP icon in the Windows GUI), you will see the PSFTP proQS@Æ mpt, and a message telling you PSFTP has not connected to any server:0 Qƒ@$ €€€€‚’C:\>psftpd@S@ē@$ €€€€€‚’psftp: no hostname specified; use "open host.name" to connect. ƒ@A% €€˜€€‚’psftp>žmē@³A1 2€Ś€˜€€€€€€‚’At this point you can type open server.example.com or open fred@server.example.com to start a session.-AąB, &€€˜€€ć«ÄłN‰‚’PSFTP accepts all the general command line options supported by the PuTTY tools, except the ones which make no sense in a file transfer utility. See section 3.8.3 for a description of these options. (The ones not supported by PSFTP are clearly marked.)›v³A{C% €ģ€˜€€‚’PSFTP also supports some of its own options. The following sections describe PSFTP's specific command-line options.uCąBšC2 4€†€ćÕÅłN€€€€‰‚’Section 6.1.1: -b: specify a file containing batch commandstB{CdD2 4€„€ćÖÅłN€€€€‰‚’Section 6.1.2: -bc: display batch commands as they are runq?šCÕD2 4€~€ć×ÅłN€€€€‰‚’Section 6.1.3: -be: continue batch processing on errorsj8dD?E2 4€p€ćŲÅłN€€€€‰‚’Section 6.1.4: -batch: avoid interactive promptsœkÕDŪE1“æ&‡&ķŪEHFKSection 6.1.1: -b: specify a file containing batch commandsCBB("btn_up","JI(`',`t00000095')");EB("btn_up")mA?EHF, (€‚€€€€ €‚’Section 6.1.1: -b: specify a file containing batch commands¢}ŪEźF% €ś€˜€€‚’In normal operation, PSFTP is an interactive program which displays a command line and accepts commands from the keyboard.MHFiH2 2€›€˜€€€€€€‚’If you need to do automated tasks with PSFTP, you would probably prefer to specify a set of commands in advance and have them executed automatically. The -b option allows you to do this. You use it with a file name containing batch commands. For example, you might create a file called myscript.scr containing lines like this:>źF§H$ €4€€€‚’cd /home/ftp/users/jeff9iHąH$ €*€€€‚’del jam-old.tar.gzD §H$I$ €@€€€‚’ren jam.tar.gz jam-old.tar.gz5ąHYI$ €"€€€‚’put jam.tar.gz<$I•I% €.€˜€€‚’chmod a+r jam.tar.gzS.YIčI% €\€˜€€‚’and then you could run the script by typingK&•I3J% €L€˜€€‚’psftp user@hostname -b myscript.scrņĄčI%K2 2€€˜€€€€ć×ÅłN‰‚’When you run a batch script in this way, PSFTP will abort the script if any command fails to complete successfully. To change this behaviour, you can add the -be option (section 6.1.3).jE3JK% €Š€˜€€‚’PSFTP will terminate after it finishes executing the batch script.›j%K*L1I5ƒ&x'ī*L–L„Section 6.1.2: -bc: display batch commands as they are runCBB("btn_up","JI(`',`t00000095')");EB("btn_up")l@K–L, (€€€€€€ €‚’Section 6.1.2: -bc: display batch commands as they are run-õ*LĆM8 >€ė€˜€€€€€€€€‚’The -bc option alters what PSFTP displays while processing a batch script specified with -b. With the -bc option, PSFTP will display prompts and commands just as if the commands had been typed at the keyboard. So instead of seeing this:K'–LN$ €N€€€‚’C:\>psftp fred@hostname -b batchfile;ĆMIN$ €.€€€‚’Sent username "fred"M)N–N$ €R€€€‚’Remote working directory is /home/fredG#INŻN$ €F€€€‚’Listing directory /home/fred/lib`<–N=O$ €x€€€‚’drwxrwsr-x 4 fred fred 1024 Sep 6 10:42 .a=ŻNžO$ €z€€€‚’drwxr-sr-x 25 fred fred 2048 Dec 14 09:36 ..b>=O €$ €|€€€‚’drwxrwsr-x 3 fred fred 1024 Apr 17 2000 jedžO €KeAžOq€$ €‚€€€‚’lrwxrwxrwx 1 fred fred 24 Apr 17 2000 timberc> €Ō€% €|€˜€€‚’drwxrwsr-x 2 fred fred 1024 Mar 13 2000 trn;q€% €,€˜€€‚’you might see this:O+Ō€^$ €V€€€‚’C:\>psftp fred@hostname -bc -b batchfile;™$ €.€€€‚’Sent username "fred"M)^ę$ €R€€€‚’Remote working directory is /home/fred5™‚$ €"€€€‚’psftp> dir libG#ęb‚$ €F€€€‚’Listing directory /home/fred/lib`<‚Ā‚$ €x€€€‚’drwxrwsr-x 4 fred fred 1024 Sep 6 10:42 .a=b‚#ƒ$ €z€€€‚’drwxr-sr-x 25 fred fred 2048 Dec 14 09:36 ..b>Ā‚…ƒ$ €|€€€‚’drwxrwsr-x 3 fred fred 1024 Apr 17 2000 jedeA#ƒźƒ$ €‚€€€‚’lrwxrwxrwx 1 fred fred 24 Apr 17 2000 timberb>…ƒL„$ €|€€€‚’drwxrwsr-x 2 fred fred 1024 Mar 13 2000 trn3źƒ„% €€˜€€‚’psftp> quit˜gL„…1¹‡&ŗ'ļ…€…Š†Section 6.1.3: -be: continue batch processing on errorsCBB("btn_up","JI(`',`t00000095')");EB("btn_up")i=„€…, (€z€€€€ €‚’Section 6.1.3: -be: continue batch processing on errors°Š…0†& €€˜€€‚’When running a batch file, this additional option causes PSFTP to continue processing even if a command fails to complete successfully. {€…Š†% €ö€˜€€‚’You might want this to happen if you wanted to delete a file and didn't care if it was already not present, for example.‘`0†a‡1yx'©'ša‡ƇŚ‰Section 6.1.4: -batch: avoid interactive promptsCBB("btn_up","JI(`',`t00000095')");EB("btn_up")b6Š†Ƈ, (€l€€€€ €‚’Section 6.1.4: -batch: avoid interactive prompts= a‡‰2 2€€˜€€€€ć’ÅłN‰‚’If you use the -batch option, PSFTP will never give an interactive prompt while establishing the connection. If the server's host key is invalid, for example (see section 2.2), then the connection will simply be abandoned instead of asking you what to do next.Ś®Ć‡Ś‰, &€]€˜€€€€‚’This may help PSFTP's behaviour when it is used in automated scripts: using -batch, if something goes wrong at connection time, the batch job will fail rather than hang.{J‰UŠ1Ø ŗ'¾‚'ńUŠŠ ÅSection 6.2: Running PSFTPCBB("btn_up","JI(`',`t00000094')");EB("btn_up")HŚ‰Š) "€>€€€€‚’Section 6.2: Running PSFTPå¹UŠ‚‹, &€s€˜€€€€‚’Once you have started your PSFTP session, you will see a psftp> prompt. You can now type commands to perform file-transfer functions. This section lists all the available commands.tIŠö‹+ &€’€˜€€€€‚’Any line starting with a # will be treated as a comment and ignored.m>‚‹cŒ/ .€|€ćś„łN€€€‰‚’Section 6.2.1: General quoting rules for PSFTP commandsW(ö‹ŗŒ/ .€P€ćū„łN€€€‰‚’Section 6.2.2: Wildcards in PSFTPn9cŒ(5 :€r€ćü„łN€€€€€‰‚’Section 6.2.3: The open command: start a sessiono:ŗŒ—5 :€t€ćż„łN€€€€€‰‚’Section 6.2.4: The quit command: end your sessionu@( Ž5 :€€€ćž„łN€€€€€‰‚’Section 6.2.5: The close command: close your connectiont?—€Ž5 :€~€ć’„łN€€€€€‰‚’Section 6.2.6: The help command: get quick online help“X Ž; F€°€ć…łN€€€€€€€‰‚’Section 6.2.7: The cd and pwd commands: changing the remote working directory”Y€Ž§; F€²€ć…łN€€€€€€€‰‚’Section 6.2.8: The lcd and lpwd commands: changing the local working directoryzE-Ą5 :€Š€ć…łN€€€€€‰‚’Section 6.2.9: The get command§-ĄŚ‰: fetch a file from the serverxC§„Ą5 :€†€ć€ƒłN€€€€€‰‚’Section 6.2.10: The put command: send a file to the serverŽS-Ą3Į; F€¦€ćwƒłN€€€€€€€‰‚’Section 6.2.11: The mget and mput commands: fetch or send multiple files‹P„Ą¾Į; F€ €ćxƒłN€€€€€€€‰‚’Section 6.2.12: The reget and reput commands: resuming file transfersp;3Į.Ā5 :€v€ćyƒłN€€€€€‰‚’Section 6.2.13: The dir command: list remote filesƒN¾Į±Ā5 :€œ€ćzƒłN€€€€€‰‚’Section 6.2.14: The chmod command: change permissions on remote filesr=.Ā#Ć5 :€z€ć{ƒłN€€€€€‰‚’Section 6.2.15: The del command: delete remote fileszE±ĀĆ5 :€Š€ć|ƒłN€€€€€‰‚’Section 6.2.16: The mkdir command: create remote directorieszE#ĆÄ5 :€Š€ć}ƒłN€€€€€‰‚’Section 6.2.17: The rmdir command: remove remote directorieszEĆ‘Ä5 :€Š€ć~ƒłN€€€€€‰‚’Section 6.2.18: The mv command: move and rename remote filesxCÄ Å5 :€†€ćƒłN€€€€€‰‚’Section 6.2.19: The ! command: run a local Windows command˜g‘Ä”Å1}©'؈'ņ”ÅĘĶSection 6.2.1: General quoting rules for PSFTP commandsCBB("btn_up","JI(`',`t00000100')");EB("btn_up")e< ÅĘ) "€x€€€€‚’Section 6.2.1: General quoting rules for PSFTP commands…G”Å‹Ē> J€€˜€€€€€€€€€€‚’Most PSFTP commands are considered by the PSFTP command interpreter as a sequence of words, separated by spaces. For example, the command ren oldfilename newfilename splits up into three words: ren (the command name), oldfilename (the name of the file to be renamed), and newfilename (the new name to give the file).’ÓĘŠČ, &€§€˜€€€€‚’Sometimes you will need to specify file names that contain spaces. In order to do this, you can surround the file name with double quotes. This works equally well for local file names and remote file names:gB‹ĒńČ% €„€˜€€‚’psftp> get "spacey file name.txt" "save it under this name.txt"ā¼ŠČÓÉ& €y€˜€€‚’The double quotes themselves will not appear as part of the file names; they are removed by PSFTP and their only effect is to stop the spaces inside them from acting as word separators."öńČõŹ, &€ķ€˜€€€€‚’If you need to use a double quote (on some types of remote system, such as Unix, you are allowed to use double quotes in file names), you can do this by doubling it. This works both inside and outside double quotes. For example, this commandZ5ÓÉOĖ% €j€˜€€‚’psftp> ren ""this"" "a file with ""quotes"" in it"å³õŹ4Ģ2 2€g€˜€€€€€€‚’will take a file whose current name is "this" (with a double quote character at the beginning and the end) and rename it to a file whose name is a file with "quotes" in it.źøOĖĶ2 2€q€˜€€€€ćƒłN‰‚’(The one exception to the PSFTP quoting rules is the ! command, which passes its command line straight to Windows without splitting it up into words at all. See section 6.2.19.)‚Q4Ģ Ķ1[¾‚'é(ó ĶļĶSection 6.2.2: Wildcards in PSFTPCBB("btn_up","JI(`',`t00000100')");EB("btn_up")O&ĶļĶ) "€L€€€€‚’Section 6.2.2: Wildcards in PSFTPoJ Ķ^Ī% €”€˜€€‚’Several commands in PSFTP support ‘wildcards’ to select multiple files.)ėļĶ‡Ļ> J€×€˜€€€€€€€€€€‚’For local file specifications (such as the first argument to put), wildcard rules for the local operating system are used. For instance, PSFTP running on Windows might require the use of *.* where PSFTP on Unix would need *.ĄŽ^ĪS2 2€€˜€€€€€€‚’For remote file specifications (such as the first argument to get)‡ĻSĶ, PSFTP uses a standard wildcard syntax (similar to POSIX wildcards):O‡ĻŅ0 0€ž€T˜‘€8‚€ƒ€€‚’•* matches any sequence of characters (including a zero-length sequence).W'S)0 0€N€T˜‘€8‚€ƒ€€‚’•? matches exactly one character.‹IŅ“B T€’€T˜‘€8‚€ƒ€€€€€€€€‚’•[abc] matches exactly one character which can be a, b, or c.m8)!5 :€p€˜‘€€€€€€€‚’[a-z] matches any character in the range a to z.†E“§A R€Š€˜‘€€€€€€€€€€€‚’[^abc] matches a single character that is not a, b, or c.ć’!ŠQ p€%€˜‘€€€€€€€€€€€€€€€€‚’Special cases: [-a] matches a literal hyphen (-) or a; [^-a] matches all other characters. [a^] matches a literal caret (^) or a.m§'0 0€Ś€T˜‘€8‚€ƒ€€‚’•\ (backslash) before any of the above characters (or itself) removes that character's special meaning.ą®Š2 2€]€˜€€€€€€‚’A leading period (.) on a filename is not treated specially, unlike in some Unix contexts; get * will fetch all files, whether or not they start with a leading period.‘`'˜1­؈'Ė(ō˜žE Section 6.2.3: The open command: start a sessionCBB("btn_up","JI(`',`t00000100')");EB("btn_up")f7ž/ .€n€€€€€ €‚’Section 6.2.3: The open command: start a sessionŽ˜8 >€½€˜€€€€€€€€‚’If you started PSFTP by double-clicking in the GUI, or just by typing psftp at the command line, you will need to open a connection to an SFTP server before you can issue any other commands (except help and quit).Čž8 >€‘€˜€€€€€€€€‚’To create a connection, type open host.name, or if you need to specify a user name as well you can type open user@host.name. You can optionally specify a port as well: open user@host.name 22.1E , &€ €˜€€€€‚’Once you have issued this command, you will not be able to issue it again, even if the command fails (for example, if you mistype the host name or the connection times out). So if the connection is not opened successfully, PSFTP will terminate immediately.’a× 1źé()(õ× > Į Section 6.2.4: The quit command: end your sessionCBB("btn_up","JI(`',`t00000100')");EB("btn_up")g8E > / .€p€€€€€ €‚’Section 6.2.4: The quit command: end your sessionüŠ× : , &€”€˜€€€€‚’When you have finished your session, type the command quit to close the connection, terminate PSFTP and return to the command line (or just close the PSFTP console window if you started it from the GUI).‡V> Į 1 2€¬€˜€€€€€€‚’You can also use the bye and exit commands, which have exactly the same effect.˜g: Y 1IĖ((öY Ę ¢ Section 6.2.5: The close command: close your connectionCBB("btn_up","JI(`',`t00000100')");EB("btn_up")m>Į Ę / .€|€€€€€ €‚’Section 6.2.5: The close command: close your connectionÜŖY ¢ 2 2€U€˜€€€€€€‚’If you just want to close the network connection but keep PSFTP running, you can use the close command. You can then use the open command to open a new connection.—fĘ 91£)(€(÷9„ @Section 6.2.6: The help command: get quick online helpCBB("btn_up","JI(`',`t00000100')");EB("btn_up")l=¢ „/ .€z€€€€€ €‚’Section 6.2.6: The help command: get quick online helpyN9+ &€œ€˜€€€€‚’If you type help, PSFTP will give a short list of the available commands.¾Œ„ @2 2€€˜€€€€€€‚’If you type help with a command name - for example, help get - then PSFTP will give a short piece of help on that particular command. @¢ ®}ŗ@1W(“‚(ųŗ@EADSection 6.2.7: The cd and pwd commands: changing the remote working directoryCBB("btn_up","JI(`',`t00000100')");EB("btn_up")‹V @EA5 :€¬€€€€€ €€ €‚’Section 6.2.7: The cd and pwd commands: changing the remote working directory? ŗ@„B2 2€€˜€€€€€€‚’PSFTP maintains a notion of your ‘working directory’ on the server. This is the default directory that other commands will operate on. For example, if you type get filename.dat then PSFTP will look for filename.dat in your remote working directory on the server."šEA¦C2 2€į€˜€€€€€€‚’To change your remote working directory, use the cd command. If you don't provide an argument, cd will return you to your home directory on the server (more precisely, the remote directory you were in at the start of the connection).k@„BD+ &€€€˜€€€€‚’To display your current remote working directory, type pwd.Æ~¦CĄD1Ü€(ׄ(łĄDLEœGSection 6.2.8: The lcd and lpwd commands: changing the local working directoryCBB("btn_up","JI(`',`t00000100')");EB("btn_up")ŒWDLE5 :€®€€€€€ €€ €‚’Section 6.2.8: The lcd and lpwd commands: changing the local working directory nĄDģF2 2€Ż€˜€€€€€€‚’As well as having a working directory on the remote server, PSFTP also has a working directory on your local machine (just like any other Windows process). This is the default local directory that other commands will operate on. For example, if you type get filename.dat then PSFTP will save the resulting file as filename.dat in your local working directory.°LEœG1 2€ž€˜€€€€€€‚’To change your local working directory, use the lcd command. To display your current local working directory, type lpwd.lģF9H1“‚( ˆ(ś9H«HNMSection 6.2.9: The get command: fetch a file from the serverCBB("btn_up","JI(`',`t00000100')");EB("btn_up")rCœG«H/ .€†€€€€€ €‚’Section 6.2.9: The get command: fetch a file from the serverŠ_9H5I+ &€¾€˜€€€€‚’To download a file from the server and store it on your local PC, you use the get command.a<«H–I% €x€˜€€‚’In its simplest form, you just use this with a file name:65IĢI% €"€˜€€‚’get myfile.dat—r–IcJ% €ä€˜€€‚’If you want to store the file locally under a different name, specify the local file name after the remote one:BĢI„J% €:€˜€€‚’get myfile.dat newname.datµƒcJZK2 2€€˜€€€€€€‚’This will fetch the file on the server called myfile.dat, but will save it to your local machine under the name newname.dat.tI„JĪK+ &€’€˜€€€€‚’To fetch an entire directory recursively, you can use the -r option:3ZKL$ €€€€‚’get -r mydir<ĪK=L% €.€˜€€‚’get -r mydir newnameŁLNM8 >€³€˜€€€€€€€€‚’(If you want to fetch a file whose name starts with a hyphen, you may have to use the -- special argument, which stops get from interpreting anything as a switch after it. For example, ‘get -- -silly-name-’.)›j=LéM1ņׄ(Ö)ūéMYNē‚Section 6.2.10: The put command: send a file to the serverCBB("btn_up","JI(`',`t00000100')");EB("btn_up")pANMYN/ .€‚€€€€€ €‚’Section 6.2.10: The put command: send a file to the server{PéMŌN+ &€ €˜€€€€‚’To upload a file to the server from your local PC, you use the put command.a<YN5O% €x€˜€€‚’In its simplest form, you just use this with a file name:6ŌNkO% €"€˜€€‚’put myfile.dat˜s5O€% €ę€˜€€‚’If you want to store the file remotely under a different name, specify the remote file name after the local onekO€NM:BkOQ€% €:€˜€€‚’put myfile.dat newname.dat¤s€õ€1 2€ę€˜€€€€€€‚’This will send the local file called myfile.dat, but will store it on the server under the name newname.dat.sHQ€h+ &€€˜€€€€‚’To send an entire directory recursively, you can use the -r option:3õ€›$ €€€€‚’put -r mydir<hׁ% €.€˜€€‚’put -r mydir newnameŲ›ē‚8 >€±€˜€€€€€€€€‚’(If you want to send a file whose name starts with a hyphen, you may have to use the -- special argument, which stops put from interpreting anything as a switch after it. For example, ‘put -- -silly-name-’.)©xׁƒ1f ˆ(Õ)üƒ„ö‡Section 6.2.11: The mget and mput commands: fetch or send multiple filesCBB("btn_up","JI(`',`t00000100')");EB("btn_up")†Qē‚„5 :€¢€€€€€ €€ €‚’Section 6.2.11: The mget and mput commands: fetch or send multiple files搐ƒՄ/ ,€!€˜€€€€€‚’mget works almost exactly like get, except that it allows you to specify more than one file to fetch at once. You can do this in two ways:N„V…3 6€œ€T˜‘€8‚€ƒ€€€‚’•by giving two or more explicit file names (‘mget file1.txt file2.txt’)^+Մ“…3 6€V€T˜‘€8‚€ƒ€€€‚’•by using a wildcard (‘mget *.txt’).X&V… ‡2 2€M€˜€€€€€€‚’Every argument to mget is treated as the name of a file to fetch (unlike get, which will interpret at most one argument like that, and a second argument will be treated as an alternative name under which to store the retrieved file), or a wildcard expression matching more than one file.„G“…‡= J€Ž€˜€€€€€€€€€€‚’The -r and -- options from get are also available with mget.f8 ‡ö‡. ,€p€˜€€€€€‚’mput is similar to put, with the same differences.¦u‡œˆ1äÖ)p)żœˆ‰€Section 6.2.12: The reget and reput commands: resuming file transfersCBB("btn_up","JI(`',`t00000100')");EB("btn_up")ƒNö‡‰5 :€œ€€€€€ €€ €‚’Section 6.2.12: The reget and reput commands: resuming file transfers£eœˆĀŠ> J€Ė€˜€€€€€€€€€€‚’If a file transfer fails half way through, and you end up with half the file stored on your disk, you can resume the file transfer using the reget and reput commands. These work exactly like the get and put commands, but they check for the presence of the half-written destination file and start transferring from where the last attempt left off.—Z‰Y‹= J€“€˜€€€€€€€€€€‚’The syntax of reget and reput is exactly the same as the syntax of get and put:7ĀŠ‹$ €&€€€‚’reget myfile.datCY‹Ӌ$ €>€€€‚’reget myfile.dat newname.dat6‹ Œ% €"€˜€€‚’reget -r mydirwKӋ€, &€—€˜€€€€‚’These commands are intended mainly for resuming interrupted transfers. They assume that the remote file or directory structure has not changed in any way; if there have been changes, you may end up with corrupted files. In particular, the -r option will not pick up changes to files or directories already transferred in full.“b ŒŽ1+Õ)µ€)žŽ{Ž`ĮSection 6.2.13: The dir command: list remote filesCBB("btn_up","JI(`',`t00000100')");EB("btn_up")h9€{Ž/ .€r€€€€€ €‚’Section 6.2.13: The dir command: list remote filesrGŽķŽ+ &€Ž€˜€€€€‚’To list the files in your remote working directory, just type dir.•j{Ž‚+ &€Ō€˜€€€€‚’You can also list the contents of a different directory by typing dir followed by the directory name:5ķŽ·$ €"€€€‚’dir /home/fred3‚ Ą% €€˜€€‚’dir sources· Ą€yT·…Ą% €Ø€˜€€‚’And you can list a subset of the contents of a directory by providing a wildcard:; ĄĄĄ$ €.€€€‚’dir /home/fred/*.txt7…Ą÷Ą% €$€˜€€‚’dir sources/*.ci8ĄĄ`Į1 2€p€˜€€€€€€‚’The ls command works exactly the same way as dir.¦u÷ĄĀ1Ć p)‹)’ĀĀÉĻSection 6.2.14: The chmod command: change permissions on remote filesCBB("btn_up","JI(`',`t00000100')");EB("btn_up"){L`ĮĀ/ .€˜€€€€€ €‚’Section 6.2.14: The chmod command: change permissions on remote filesč¶ĀiĆ2 2€m€˜€€€€€€‚’PSFTP allows you to modify the file permissions on files and directories on the server. You do this using the chmod command, which works very much like the Unix chmod command.ĖĀlÄ8 >€—€˜€€€€€€€€‚’The basic syntax is chmod modes file, where modes represents a modification to the file permissions, and file is the filename to modify. You can specify multiple files or wildcards. For example:CiĆÆÄ$ €>€€€‚’chmod go-rwx,u+w privatefile8lÄēÄ$ €(€€€‚’chmod a+r public*G"ÆÄ.Å% €D€˜€€‚’chmod 640 groupfile1 groupfile22ēÄ`Ę, &€ €˜€€€€‚’The modes parameter can be a set of octal digits in the Unix style. (If you don't know what this means, you probably don't want to be using it!) Alternatively, it can be a list of permission modifications, separated by commas. Each modification consists of:4ī.Å”ĒF Z€Ż€T˜‘€8‚€ƒ€€€€€€€€€‚’•The people affected by the modification. This can be u (the owning user), g (members of the owning group), or o (everybody else - ‘others’), or some combination of those. It can also be a (‘all’) to affect everybody at once.ŒS`Ę Č9 B€¦€T˜‘€8‚€ƒ€€€€€‚’•A + or - sign, indicating whether permissions are to be added or removed.E”ĒeÉ@ N€ €T˜‘€8‚€ƒ€€€€€€€‚’•The actual permissions being added or removed. These can be r (permission to read the file), w (permission to write to the file), and x (permission to execute the file, or in the case of a directory, permission to access files within the directory).G" ȬÉ% €D€˜€€‚’So the above examples would do:*šeÉÖŹ: B€į€T˜‘€8‚€ƒ€€€€€‚’•The first example: go-rwx removes read, write and execute permissions for members of the owning group and everybody else (so the only permissions left are the ones for the file owner). u+w adds write permission for the file owner.Ŗw¬É€Ė3 6€ī€T˜‘€8‚€ƒ€€€‚’•The second example: a+r adds read permission for everybody to all files and directories starting with ‘public’.¬†ÖŹ,Ģ& € €˜€€‚’In addition to all this, there are a few extra special cases for Unix systems. On non-Unix systems these are unlikely to be useful:üĀ€Ė(Ķ: B€…€T˜‘€8‚€ƒ€€€€€‚’•You can specify u+s and u-s to add or remove the Unix set-user-ID bit. This is typically only useful for special purposes; refer to your Unix documentation if you're not sure about it.e+,ĢĪ: B€W€T˜‘€8‚€ƒ€€€€€‚’•You can specify g+s and g-s to add or remove the Unix set-group-ID bit. On a file, this works similarly to the set-user-ID bit (see your Unix documentation again); on a directory it ensures that files created in the directory are accessible by members of the group that owns the directory.<ü(ĶÉĻ@ N€ł€T˜‘€8‚€ƒ€€€€€€€‚’•You can specify +t and -t to add or remove the Unix ‘sticky bit’. When applied to a directory, this means that the owner of a file in that directory can delete the file (whereas normally only the owner of the directory would be allowed to).•dĪj1üµ€)±*jŌfSectioÉĻjÉĻn 6.2.15: The del command: delete remote filesCBB("btn_up","JI(`',`t00000100')");EB("btn_up")j;ÉĻŌ/ .€v€€€€€ €‚’Section 6.2.15: The del command: delete remote files|QjP+ &€¢€˜€€€€‚’To delete a file on the server, type del and then the filename or filenames:6Ō†$ €$€€€‚’del oldfile.dat>PÄ$ €4€€€‚’del file1.txt file2.txt/ †ó% €€˜€€‚’del *.o~YÄq% €²€˜€€‚’Files will be deleted without further prompting, even if multiple files are specified.Œ^óż. ,€¼€˜€€€€€‚’del will only delete files. You cannot use it to delete directories; use rmdir for that.i8qf1 2€p€˜€€€€€€‚’The rm command works exactly the same way as del.lż1æ‹)§*uĀSection 6.2.16: The mkdir command: create remote directoriesCBB("btn_up","JI(`',`t00000100')");EB("btn_up")rCfu/ .€†€€€€€ €‚’Section 6.2.16: The mkdir command: create remote directories|Qń+ &€¢€˜€€€€‚’To create a directory on the server, type mkdir and then the directory name:6u'% €"€˜€€‚’mkdir newstuff_:ń†% €t€˜€€‚’You can specify multiple directories to create at once:<'Ā% €.€˜€€‚’mkdir dir1 dir2 dir3l†_1Ŗ±*c*_Ń Section 6.2.17: The rmdir command: remove remote directoriesCBB("btn_up","JI(`',`t00000100')");EB("btn_up")rCĀŃ/ .€†€€€€€ €‚’Section 6.2.17: The rmdir command: remove remote directories…Z_V+ &€“€˜€€€€‚’To remove a directory on the server, type rmdir and then the directory name or names:5Ń‹$ €"€€€‚’rmdir oldstuff;VĘ% €,€˜€€‚’rmdir *.old ancientŠe‹P% €Ź€˜€€‚’Directories will be deleted without further prompting, even if multiple directories are specified.¹“Ę & €'€˜€€‚’Most SFTP servers will probably refuse to remove a directory if the directory has anything in it, so you will need to delete the contents first.lP¦ 1Ź§*š*¦  p Section 6.2.18: The mv command: move and rename remote filesCBB("btn_up","JI(`',`t00000100')");EB("btn_up")rC  / .€†€€€€€ €‚’Section 6.2.18: The mv command: move and rename remote files—l¦ Æ + &€Ų€˜€€€€‚’To rename a single file on the server, type mv, then the current file name, and then the new file name:: é % €*€˜€€‚’mv oldfile newnamerMÆ [ % €š€˜€€‚’You can also move the file into a different directory and change the name:>é ™ % €2€˜€€‚’mv oldfile dir/newnameµ[ N & €€˜€€‚’To move one or more files into an existing subdirectory, specify the files (using wildcards if desired), and then the destination directory:2™ € $ €€€€‚’mv file dir?N æ $ €6€€€‚’mv file1 dir1/file2 dir25€ ō % € €˜€€‚’mv *.c *.h ..|Eæ p 7 >€Š€˜€€€€€€€€‚’The rename and ren commands work exactly the same way as mv.›jō  1yc** {ŖASection 6.2.19: The ! command: run a local Windows commandCBB("btn_up","JI(`',`t00000100')");EB("btn_up")pAp {/ .€‚€€€€€ €‚’Section 6.2.19: The ! command: run a local Windows commandk3  @8 >€g€˜€€€€ćś„łN‰€€‚’You can run local Windows commands using the ! command. This is the only PSFTP command that is not subject to the command quoting rules given in section 6.2.1. If any command line begins with the ! character, then the rest of the line will be passed straight to Windows without further translation.{ @p Ŗ„{¶@& € €˜€€‚’For example, if you want to move an existing copy of a file out of the way before downloading an updated version, you might type:H$ @ž@$ €H€€€‚’psftp> !ren myfile.dat myfile.bak=¶@;A% €0€˜€€‚’psftp> get myfile.datoDž@ŖA+ &€ˆ€˜€€€€‚’using the Windows ren command to rename files on your local PC.˜g;ABB1†š*ŗ…*BB§BČHSection 6.3: Using public key authentication with PSFTPCBB("btn_up","JI(`',`t00000094')");EB("btn_up")e<ŖA§B) "€x€€€€‚’Section 6.3: Using public key authentication with PSFTPšuBBAC% €ź€˜€€‚’Like PuTTY, PSFTP can authenticate using a public key instead of a password. There are three ways you can do this.€[§BĮC% €¶€˜€€‚’Firstly, PSFTP can use PuTTY saved sessions in place of hostnames. So you might do this:ÜACŻD@ N€¹€T˜‘€8‚€ƒ€ć}§B‰ć„@ĻŲ‰ć„õ‰‚’•Run PuTTY, and create a PuTTY saved session (see section 4.1.2) which specifies your private key file (see section 4.21.8). You will probably also want to specify a username to log in as (see section 4.14.1).å«ĮCĀE: B€W€T˜‘€8‚€ƒ€€€€€‚’•In PSFTP, you can now use the name of the session instead of a hostname: type psftp sessionname, where sessionname is replaced by the name of your saved session.ĒŻD†F2 2€%€˜€€€€ć’ÄłN‰‚’Secondly, you can supply the name of a private key file on the command line, with the -i option. See section 3.8.3.18 for more information.¦{ĀE,G+ &€ö€˜€€ć80«f‰‚’Thirdly, PSFTP will attempt to authenticate using Pageant if Pageant is running (see chapter 9). So you would do this:tG†F G- *€Ž€T˜‘€8‚€ƒ€‚’•Ensure Pageant is running, and has your private key stored in it.Ɓ,GOH. *€€T˜‘€8‚€ƒ€‚’•Specify a user and host name to PSFTP as normal. PSFTP will automatically detect Pageant and try to use the keys within it.yN GČH+ &€œ€˜€€ćĪƒłN‰‚’For more general information on public-key authentication, see chapter 8.’aOHZI1|*ч*ZIæIÖLChapter 7: Using the command-line connection tool PlinkCBB("btn_up","JI(`',`Top')");EB("btn_up")e<ČHæI) "€x€€€€‚’Chapter 7: Using the command-line connection tool PlinkŌØZI“J, &€Q€˜€€€€‚’Plink is a command-line connection tool similar to UNIX ssh. It is mostly used for automated operations, such as making CVS access a repository on a remote server.ŠeæIK% €Ź€˜€€‚’Plink is probably not what you want if you want to run an interactive session in a console window.Q"“JnK/ .€D€ć£ƒłN€€€‰‚’Section 7.1: Starting PlinkNK¼K/ .€>€ć¤ƒłN€€€‰‚’Section 7.2: Using Plinki:nK%L/ .€t€ćŖƒłN€€€‰‚’Section 7.3: Using Plink in batch files and scriptsW(¼K|L/ .€P€ćփłN€€€‰‚’Section 7.4: Using Plink with CVSZ+%LÖL/ .€V€ćĶƒłN€€€‰‚’Section 7.5: Using Plink with WinCVS|K|LRM1¢ŗ…*a+RM›M‚Section 7.1: Starting PlinkCBB("btn_up","JI(`',`t00000121')");EB("btn_up")I ÖL›M) "€@€€€€‚’Section 7.1: Starting PlinkˆbRM#O& €Å€˜€€‚’Plink is a command line application. This means that you cannot just double-click on its icon to run it and instead you have to bring up a console window. In Windows 95, 98, and ME, this is called an ‘MS-DOS Prompt’, and in Windows NT, 2000, and XP, it is called a ‘Command Prompt’. It should be available from the Programs section of your Start Menu.Ū›MB€8 >€·€˜€€€€€€€€‚’In order to use Plink, the file plink.exe will need either to be on your PATH or in your current directory. To add the directory containing Plink to your PATH#OB€ÖL environment variable, type into the console window:R-#O”€% €Z€˜€€‚’set PATH=C:\path\to\putty\directory;%PATH%l4B€‚8 >€i€˜€€€€€€€€‚’This will only work for the lifetime of that particular console window. To set your PATH more permanently on Windows NT, 2000, and XP, use the Environment tab of the System Control Panel. On Windows 95, 98, and ME, you will need to edit your AUTOEXEC.BAT to include a set command like the one above.yH”€y‚1Ćч*§+y‚æ‚HĆSection 7.2: Using PlinkCBB("btn_up","JI(`',`t00000121')");EB("btn_up")F‚æ‚) "€:€€€€‚’Section 7.2: Using Plink‘ly‚Pƒ% €Ų€˜€€‚’This section describes the basics of how to use Plink for interactive logins and for automated processes.Ųæ‚T„, &€±€˜€€€€‚’Once you've got a console window to type into, you can just type plink on its own to bring up a usage message. This tells you the version of Plink you're using, and gives you a brief summary of how to use Plink:6PƒŠ„$ €$€€€‚’Z:\sysosd>plinkM)T„ׄ$ €R€€€‚’Plink: command-line connection utility3Š„ …$ €€€€‚’Release 0.66S/ׄ]…$ €^€€€‚’Usage: plink [options] [user@]host [command]]9 …ŗ…$ €r€€€‚’ ("host" can also be a PuTTY saved session name)/ ]…é…$ €€€€‚’Options:U1ŗ…>†$ €b€€€‚’ -V print version information and exitV2é…”†$ €d€€€‚’ -pgpfp print PGP key fingerprints and exitH$>†܆$ €H€€€‚’ -v show verbose messagesY5”†5‡$ €j€€€‚’ -load sessname Load settings from saved sessionJ&܆‡$ €L€€€‚’ -ssh -telnet -rlogin -raw -serialU15‡Ō‡$ €b€€€‚’ force use of a particular protocolL(‡ ˆ$ €P€€€‚’ -P port connect to specified portR.Ō‡rˆ$ €\€€€‚’ -l user connect with specified usernameR. ˆĈ$ €\€€€‚’ -batch disable all interactive promptsZ6rˆ‰$ €l€€€‚’ -sercfg configuration-string (e.g. 19200,8,n,1,X)a=Ĉ‰$ €z€€€‚’ Specify the serial configuration (serial only)[7‰Ś‰$ €n€€€‚’The following options only apply to SSH connections:P,‰*Š$ €X€€€‚’ -pw passw login with specified passwordCŚ‰mŠ$ €>€€€‚’ -D [listen-IP:]listen-portV2*ŠƊ$ €d€€€‚’ Dynamic SOCKS-based port forwardingM)mŠ‹$ €R€€€‚’ -L [listen-IP:]listen-port:host:portW3Ɗg‹$ €f€€€‚’ Forward local port to remote addressM)‹“‹$ €R€€€‚’ -R [listen-IP:]listen-port:host:portW3g‹ Œ$ €f€€€‚’ Forward remote port to local addressR.“‹]Œ$ €\€€€‚’ -X -x enable / disable X11 forwardingT0 Œ±Œ$ €`€€€‚’ -A -a enable / disable agent forwardingR.]Œ$ €\€€€‚’ -t -T enable / disable pty allocation[7±Œ^$ €n€€€‚’ -1 -2 force use of particular protocol versionL(Ŗ$ €P€€€‚’ -4 -6 force use of IPv4 or IPv6E!^ļ$ €B€€€‚’ -C enable compression[7ŖJŽ$ €n€€€‚’ -i key private key file for user authenticationI%ļ“Ž$ €J€€€‚’ -noagent disable use of PageantH$JŽŪŽ$ €H€€€‚’ -agent enable use of Pageant>“Ž$ €4€€€‚’ -hostkey aa:bb:cc:...`<ŪŽy$ €x€€€‚’ manually specify a host key (may be repeated)S/Ģ$ €^€€€‚’ -m file read remote command(s) from fileb>y:Ą$ €|€€€‚’ -s remĢ:Ą‚ote command is an SSH subsystem (SSH-2 only)[7Ģ•Ą$ €n€€€‚’ -N don't start a shell/command (SSH-2 only)6:ĄĖĄ$ €$€€€‚’ -nc host:port_;•Ą*Į$ €v€€€‚’ open tunnel in place of session (SSH-2 only)5ĖĄ_Į$ €"€€€‚’ -shareexistse@*ĮÄĮ% €€€˜€€‚’ test whether a connection-sharing upstream existsT/_ĮĀ% €^€˜€€‚’Once this works, you are ready to use Plink.g8ÄĮĀ/ .€p€ć„ƒłN€€€‰‚’Section 7.2.1: Using Plink for interactive loginsj;ĀéĀ/ .€v€ć¦ƒłN€€€‰‚’Section 7.2.2: Using Plink for automated connections_0ĀHĆ/ .€`€ć§ƒłN€€€‰‚’Section 7.2.3: Plink command line options’aéĀŚĆ1ża+ó‡+ ŚĆ9Ä×ĢSection 7.2.1: Using Plink for interactive loginsCBB("btn_up","JI(`',`t00000123')");EB("btn_up")_6HĆ9Ä) "€l€€€€‚’Section 7.2.1: Using Plink for interactive logins“hŚĆĢÄ+ &€Š€˜€€€€‚’To make a simple interactive connection to a remote server, just type plink and then the host name:H$9ÄÅ$ €H€€€‚’Z:\sysosd>plink login.example.com'ĢÄ;Å$ €€€€‚’N*ʼnÅ$ €T€€€‚’Debian GNU/Linux 2.2 flunky.example.com5;žÅ% € €˜€€‚’flunky login:Ż·‰Å›Ē& €o€˜€€‚’You should then be able to log in as normal and run a session. The output sent by the server will be written straight to your command prompt window, which will most likely not interpret terminal control codes in the way the server expects it to. So if you run any full-screen applications, for example, you can expect to see strange characters appearing in your window. Interactive connections like this are not the main point of Plink.姾Å€Č> J€O€˜€€€€€€€€€€‚’In order to connect with a different protocol, you can give the command line options -ssh, -telnet, -rlogin or -raw. To make an SSH connection, for example:M)›ĒĶČ$ €R€€€‚’Z:\sysosd>plink -ssh login.example.com1 €ČžČ% €€˜€€‚’login as:ōĶČŹ& €é€˜€€‚’If you have already set up a PuTTY saved session, then instead of supplying a host name, you can give the saved session name. This allows you to use public-key authentication, specify a user name, and use most of the other features of PuTTY:E!žČ]Ź$ €B€€€‚’Z:\sysosd>plink my-ssh-session;Ź˜Ź$ €.€€€‚’Sent username "fred"S/]ŹėŹ$ €^€€€‚’Authenticating with public key "fred@winbox"U1˜Ź@Ė$ €b€€€‚’Last login: Thu Dec 6 19:25:33 2001 from :0.06ėŹvĖ% €"€˜€€‚’fred@flunky:~$a@Ė×ĢD V€;€˜€€€€ć×ÄłN‰€€€€€€‚’(You can also use the -load command-line option to load a saved session; see section 3.8.3.1. If you use -load, the saved session exists, and it specifies a hostname, you cannot also specify a host or user@host argument - it will be treated as part of the remote command.)•dvĖlĶ1ą§+ę, lĶĪĶ` Section 7.2.2: Using Plink for automated connectionsCBB("btn_up","JI(`',`t00000123')");EB("btn_up")b9×ĢĪĶ) "€r€€€€‚’Section 7.2.2: Using Plink for automated connectionsŪlĶÕĪ, &€·€˜€€€€‚’More typically Plink is used with the SSH protocol, to enable you to talk directly to a program running on the server. To do this you have to ensure Plink is using the SSH protocol. You can do this in several ways:u<ĪĶJĻ9 B€x€T˜‘€8‚€ƒ€€€ć„ƒłN‰‚’•Use the -ssh option as described in section 7.2.1.®€ÕĪ . *€€T˜‘€8‚€ƒ€‚’•Set up a PuTTY saved session that describes the server you are connecting to, and that also specifies the protocol as SSH.JĻ ×Ģ‡NJĻ“9 B€œ€T˜‘€8‚€ƒ€€€€€‚’•Set the Windows environment variable PLINK_PROTOCOL to the word ssh.Ś“ m& €i€˜€€‚’Usually Plink is not invoked directly by a user, but run automatically by another process. Therefore you typically do not want Plink to prompt you for a user name or a password.Ś“m& €µ€˜€€‚’Next, you are likely to need to avoid the various interactive prompts Plink can produce. You might be prompted to verify the host key of the server you're connecting to, to enter a user name, or to enter a password.Ł§mF2 2€O€˜€€€€ć’ÅłN‰‚’To avoid being prompted for the server host key when using Plink for an automated connection, you should first make a manual connection (using either of PuTTY or Plink) to the same server, verify the host key (see section 2.2 for more information), and select Yes to add the host key to the Registry. After that, Plink commands connecting to that server should not give a host key prompt unless the host key changes.Y4mŸ% €h€˜€€‚’To avoid being prompted for a user name, you can:®uFM9 B€ź€T˜‘€8‚€ƒ€€€€€‚’•Use the -l option to specify a user name on the command line. For example, plink login.example.com -l fred.ѝŸ4 6€;€T˜‘€8‚€ƒ€ć„õ‰‚’•Set up a PuTTY saved session that describes the server you are connecting to, and that also specifies the username to log in as (see section 4.14.1).×M!, &€Æ€˜€€ćĪƒłN‰‚’To avoid being prompted for a password, you should almost certainly set up public-key authentication. (See chapter 8 for a general introduction to public-key authentication.) Again, you can do this in two ways: ģA4 6€Ł€T˜‘€8‚€ƒ€ć„@ĻŲ‰‚’•Set up a PuTTY saved session that describes the server you are connecting to, and that also specifies a private key file (see section 4.21.8). For this to work without prompting, your private key will need to have no passphrase.ƒP!Ä3 6€ €T˜‘€8‚€ƒ€ć80«f‰‚’•Store the private key in Pageant. See chapter 9 for further information.æ™Aƒ & €3€˜€€‚’Once you have done all this, you should be able to run a remote command on the SSH server machine and have it execute automatically with no prompting:b>Äå $ €|€€€‚’Z:\sysosd>plink login.example.com -l fred echo hello, world3ƒ  $ €€€€‚’hello, world'å ? $ €€€€‚’2  q % €€˜€€‚’Z:\sysosd>oJ? ą % €”€˜€€‚’Or, if you have set up a saved session with all the connection details:R.q 2 $ €\€€€‚’Z:\sysosd>plink mysession echo hello, world3ą e $ €€€€‚’hello, world'2 Œ $ €€€€‚’2 e ¾ % €€˜€€‚’Z:\sysosd>¢}Œ ` % €ś€˜€€‚’Then you can set up other programs to run this Plink command and talk to it as if it were a process on the server machine.ŠY¾ ź 1‰ó‡+‘ , ź A sSection 7.2.3: Plink command line optionsCBB("btn_up","JI(`',`t00000123')");EB("btn_up")W.` A ) "€\€€€€‚’Section 7.2.3: Plink command line options·‹ź ų , &€€˜€€ć«ÄłN‰‚’Plink accepts all the general command line options supported by the PuTTY tools. See section 3.8.3 for a description of these options.›vA “% €ģ€˜€€‚’Plink also supports some of its own options. The following sections describe Plink's specific command-line options.r@ų 2 4€€€ć؃łN€€€€‰‚’Section 7.2.3.1: -batch: disable all interactive promptsn<“s2 4€x€ć©ƒłN€€€€‰‚’Section 7.2.3.2: -s: remote command is SSH subsystem™h@1ę,÷, @‚@™BSection 7.2.3.1: -batch: disable all interactive promptsCBB("btn_up","JI(`',`t00000126')");s@sEB("btn_up")j>s‚@, (€|€€€€ €‚’Section 7.2.3.1: -batch: disable all interactive prompts= @æA2 2€€˜€€€€ć’ÅłN‰‚’If you use the -batch option, Plink will never give an interactive prompt while establishing the connection. If the server's host key is invalid, for example (see section 2.2), then the connection will simply be abandoned instead of asking you what to do next.Ś®‚@™B, &€]€˜€€€€‚’This may help Plink's behaviour when it is used in automated scripts: using -batch, if something goes wrong at connection time, the batch job will fail rather than hang.•dæA.C1€‘ ,ś‚, .C”C®DSection 7.2.3.2: -s: remote command is SSH subsystemCBB("btn_up","JI(`',`t00000126')");EB("btn_up")f:™B”C, (€t€€€€ €‚’Section 7.2.3.2: -s: remote command is SSH subsystem¹.CMD, &€€˜€€€€‚’If you specify the -s option, Plink passes the specified command as the name of an SSH ‘subsystem’ rather than an ordinary command line.a<”C®D% €x€˜€€‚’(This option is only meaningful with the SSH-2 protocol.)”cMDBE1{÷,‹…,BE£E½HSection 7.3: Using Plink in batch files and scriptsCBB("btn_up","JI(`',`t00000121')");EB("btn_up")a8®D£E) "€p€€€€‚’Section 7.3: Using Plink in batch files and scripts5 BEŲF, &€€˜€€ć¦ƒłN‰‚’Once you have set up Plink to be able to log in to a remote server without any interactive prompting (see section 7.2.2), you can use it for lots of scripting and batch purposes. For example, to start a backup on a remote machine, you might use a command like:U0£E-G% €`€˜€€‚’plink root@myserver /etc/backups/do-backup.sh|WŲF©G% €®€˜€€‚’Or perhaps you want to fetch all system log lines relating to a particular web area:hC-GH% €†€˜€€‚’plink mysession grep /~fred/ /var/log/httpd/access.log > fredlog¬†©G½H& € €˜€€‚’Any non-interactive command you could usefully run on the server command line, you can run in a batch file using Plink in this way.‚QH?I1ś‚,Ž‡,?IŽIĢLSection 7.4: Using Plink with CVSCBB("btn_up","JI(`',`t00000121')");EB("btn_up")O&½HŽI) "€L€€€€‚’Section 7.4: Using Plink with CVSŠ_?IJ+ &€¾€˜€€€€‚’To use Plink with CVS, you need to set the environment variable CVS_RSH to point to Plink:F!ŽI^J% €B€˜€€‚’set CVS_RSH=\path\to\plink.exe°„JK, &€ €˜€€ć¦ƒłN‰‚’You also need to arrange to be able to connect to a remote host without any interactive prompts, as described in section 7.2.2.V1^JdK% €b€˜€€‚’You should then be able to run CVS as follows:b=KĘK% €z€˜€€‚’cvs -d :ext:user@sessionname:/path/to/repository co module©ƒdKoL& €€˜€€‚’If you specified a username in your saved session, you don't even need to specify the ‘user’ part of this, and you can just say:]8ĘKĢL% €p€˜€€‚’cvs -d :ext:sessionname:/path/to/repository co module…ToLQM11‹…,}-QM£MŽ‚Section 7.5: Using Plink with WinCVSCBB("btn_up","JI(`',`t00000121')");EB("btn_up")R)ĢL£M) "€R€€€€‚’Section 7.5: Using Plink with WinCVSȜQMkN, &€9€˜€€ć¦ƒłN‰‚’Plink can also be used with WinCVS. Firstly, arrange for Plink to be able to connect to a remote host non-interactively, as described in section 7.2.2.e-£MŠO8 >€[€˜€€€€€€€€‚’Then, in WinCVS, bring up the ‘Preferences’ dialogue box from the Admin menu, and switch to the ‘Ports’ tab. Tick the box there labelled ‘Check for an alternate rsh name’ and in the text entry field to the right enter the full path to plink.exe. Select ‘OK’ on the ‘Preferences’ dialogue box. ukN|€+ &€ź€˜€€ćփłN‰‚’NextŠO|€ĢL, select ‘Command Line’ from the WinCVS ‘Admin’ menu, and type a CVS command as in section 7.4, for example:_:ŠOŪ€% €t€˜€€‚’cvs -d :ext:user@hostname:/path/to/repository co moduleM(|€(% €P€˜€€‚’or (if you're using a saved session):b=Ū€Š% €z€˜€€‚’cvs -d :ext:user@sessionname:/path/to/repository co moduleŽ(Ž‚& €½€˜€€‚’Select the folder you want to check out to with the ‘Change Folder’ button, and click ‘OK’ to check out your module. Once you've got modules checked out, WinCVS will happily invoke plink from the GUI for CVS operations.Ž]Šƒ1§Ž‡,n-ƒ}ƒƄChapter 8: Using public keys for SSH authenticationCBB("btn_up","JI(`',`Top')");EB("btn_up")a8Ž‚}ƒ) "€p€€€€‚’Chapter 8: Using public keys for SSH authenticationn?ƒėƒ/ .€~€ćĻƒłN€€€‰‚’Section 8.1: Public key authentication - an introductionj;}ƒU„/ .€v€ćL%„Ķ€€€‰‚’Section 8.2: Using PuTTYgen, the PuTTY key generatorn?ėƒƄ/ .€~€ćуłN€€€‰‚’Section 8.3: Getting ready for public key authentication™hU„\…1Ķ }-ś€-\…Ā…5ĆSection 8.1: Public key authentication - an introductionCBB("btn_up","JI(`',`t00000132')");EB("btn_up")f=ƄĀ…) "€z€€€€‚’Section 8.1: Public key authentication - an introductionęĄ\…؆& €€˜€€‚’Public key authentication is an alternative means of identifying yourself to a login server, instead of typing a password. It is more secure and more flexible, but more difficult to set up.ŠXĀ…2ˆ2 2€±€˜€€€€ć’ÅłN‰‚’In conventional password authentication, you prove you are who you claim to be by proving that you know the correct password. The only way to prove you know the password is to tell the server what you think the password is. This means that if the server has been hacked, or spoofed (see section 2.2), an attacker can learn your password.š¾؆"Š2 2€}€˜€€€€€€‚’Public key authentication solves this problem. You generate a key pair, consisting of a public key (which everybody is allowed to know) and a private key (which you keep secret and do not give to anybody). The private key is able to generate signatures. A signature created using your private key cannot be forged by anybody who does not have that key; but anybody who has your public key can verify that a particular signature is genuine. å2ˆ-Œ& €Ė€˜€€‚’So you generate a key pair on your own computer, and you copy the public key to the server. Then, when the server asks you to prove who you are, PuTTY can generate a signature using your private key. The server can verify that signature (since it has your public key) and allow you to log in. Now if the server is hacked or spoofed, the attacker does not gain your private key or password; they only gain one signature. And signatures cannot be re-used, so they have gained nothing.ė"ŠJŽ2 2€×€˜€€€€€€‚’There is a problem with this: if your private key is stored unprotected on your own computer, then anybody who gains access to that will be able to generate signatures as if they were you. So they will be able to log in to your server under your account. For this reason, your private key is usually encrypted when it is stored on your local machine, using a passphrase of your choice. In order to generate a signature, PuTTY must decrypt the key, so you have to type your passphrase.¹‡-ŒĀ2 2€€˜€€€€ć80«f‰‚’This can make public-key authentication less convenient than password authentication: every time you log in to the server, instead of typing a short password, you have to type a longer passphrase. One solution to this is to use an authentication agent, a separate program which holds decrypted private keys and generates signatures on request. PuTTY's authentication agent is called PaJŽĀƄgeant. When you begin a Windows session, you start Pageant and load your private key into it (typing your passphrase once). For the rest of your session, you can start PuTTY any number of times and Pageant will automatically generate signatures without you having to do anything. When you close your Windows session, Pageant shuts down, without ever having stored your decrypted private key on disk. Many people feel this is a good compromise between security and convenience. See chapter 9 for further details.&śJŽ5Ć, &€õ€˜€€ć5ij‰‚’There is more than one public-key algorithm available. The most common is RSA, but others exist, notably DSA (otherwise known as DSS), the USA's federal Digital Signature Standard. The key types supported by PuTTY are described in section 8.2.2.•dĀŹĆ1n-M…-ŹĆ,ÄĢŹSection 8.2: Using PuTTYgen, the PuTTY key generatorCBB("btn_up","JI(`',`t00000132')");EB("btn_up")b95Ć,Ä) "€r€€€€‚’Section 8.2: Using PuTTYgen, the PuTTY key generator ąŹĆ8Å, &€Į€˜€€ć80«f‰‚’PuTTYgen is a key generator. It generates pairs of public and private keys to be used with PuTTY, PSCP, and Plink, as well as the PuTTY authentication agent, Pageant (see chapter 9). PuTTYgen generates RSA and DSA keys.ÕÆ,Ä Ę& €_€˜€€‚’When you run PuTTYgen you will see a window where you have two choices: ‘Generate’, to generate a new public/private key pair, or ‘Load’ to load in an existing private key.Y*8ÅfĘ/ .€T€ćŠƒłN€€€‰‚’Section 8.2.1: Generating a new key^/ ĘÄĘ/ .€^€ć5ij€€€‰‚’Section 8.2.2: Selecting the type of keym>fĘ1Ē/ .€|€ć&lĻ†€€€‰‚’Section 8.2.3: Selecting the size (strength) of the keyZ+ÄĘ‹Ē/ .€V€ć1E½Š€€€‰‚’Section 8.2.4: The ‘Generate’ button^/1ĒéĒ/ .€^€ć„QÜc€€€‰‚’Section 8.2.5: The ‘Key fingerprint’ boxc4‹ĒLČ/ .€h€ć/§ųA€€€‰‚’Section 8.2.6: Setting a comment for your keyf7éĒ²Č/ .€n€ćB'ó6€€€‰‚’Section 8.2.7: Setting a passphrase for your keyk<LČÉ/ .€x€ć䀅a€€€‰‚’Section 8.2.8: Saving your private key to a disk filej;²Č‡É/ .€v€ć“åU€€€‰‚’Section 8.2.9: Saving your public key to a disk filexIÉ’É/ .€’€ć eHm€€€‰‚’Section 8.2.10: ‘Public key for pasting into authorized_keys file’].‡É\Ź/ .€\€ćśµŪ†€€€‰‚’Section 8.2.11: Reloading a private keypA’ÉĢŹ/ .€‚€ćE@Įv€€€‰‚’Section 8.2.12: Dealing with private keys in other formats‹Z\ŹWĖ1“ś€-—.WĖØĖSection 8.2.1: Generating a new keyCBB("btn_up","JI(`',`puttygen.general')");EB("btn_up")Q(ĢŹØĖ) "€P€€€€‚’Section 8.2.1: Generating a new key®ˆWĖVĢ& €€˜€€‚’This is a general outline of the procedure for generating a new key pair. The following sections describe the process in more detail.ó¹ØĖIĶ: B€s€T˜‘€8‚€ƒ€ć5ij‰ć&lĻ†‰‚’•First, you need to select which type of key you want to generate, and also select the strength of the key. This is described in more detail in section 8.2.2 and section 8.2.3.jVĢęĶ3 6€Ō€T˜‘€8‚€ƒ€ć1E½Š‰‚’•Then press the ‘Generate’ button, to actually generate the key. Section 8.2.4 describes this step.¬sIĶ’Ī9 B€ę€T˜‘€8‚€ƒ€ć/§ųA‰ćB'ó6‰‚’•Once you have generated the key, select a comment field (section 8.2.6) and a passphrase (section 8.2.7).¦sęĶ8Ļ3 6€ę€T˜‘€8‚€ƒ€ć䀅a‰‚’•Now you're ready to save the private key to disk; press the ‘Save private key’ button. (See section 8.2.8).Ų’ĪT8 >€±€˜€€ć eHm‰ć“åU‰ćśµŪ†‰‚’Your key pair is now ready for use. You may also want to copy the public key to your server, either by copying it out of the ‘Public key for pa8ĻTĢŹsting into authorized_keys file’ box (see section 8.2.10), or by using the ‘Save public key’ button (section 8.2.9). However, you don't need to do this immediately; if you want, you can load the private key back into PuTTYgen later (see section 8.2.11) and the public key will be available for copying and pasting again.Ɨ8Ļ, &€/€˜€ćуłN€‰‚’Section 8.3 describes the typical process of configuring PuTTY to attempt public-key authentication, and configuring your SSH server to accept it._T§1¦M…-Ä.§żM Section 8.2.2: Selecting the type of keyCBB("btn_up","JI(`',`puttygen.general')");EB("btn_up")V-ż) "€Z€€€€‚’Section 8.2.2: Selecting the type of key“Ž§±& €€˜€€‚’Before generating a key pair using PuTTYgen, you need to select which type of key you need. PuTTYgen currently supports three types of key:^1ż- *€b€T˜‘€8‚€ƒ€‚’•An RSA key for use with the SSH-1 protocol.^1±m- *€b€T˜‘€8‚€ƒ€‚’•An RSA key for use with the SSH-2 protocol.]0Ź- *€`€T˜‘€8‚€ƒ€‚’•A DSA key for use with the SSH-2 protocol.Ņ¬mœ& €Y€˜€€‚’The SSH-1 protocol only supports RSA keys; if you will be connecting using the SSH-1 protocol, you must select the first key type or your key will be completely useless.hŹ)% €Š€˜€€‚’The SSH-2 protocol supports more than one key type. The two types supported by PuTTY are RSA and DSA.źœE2 2€Õ€˜€€€€€€‚’The PuTTY developers strongly recommend you use RSA. DSA has an intrinsic weakness which makes it very easy to create a signature which contains enough information to give away the private key! This would allow an attacker to pretend to be you for any number of future sessions. PuTTY's implementation has taken very careful precautions to avoid this weakness, but we cannot be 100% certain we have managed it, and if you have the choice we strongly recommend using RSA keys instead.ā)M & €Å€˜€€‚’If you really need to connect to an SSH server which only supports DSA, then you probably have no choice but to use DSA. If you do use DSA, we recommend you do not use the same key to authenticate with more than one server.ŸnEģ 1S—.¤.ģ Q ? Section 8.2.3: Selecting the size (strength) of the keyCBB("btn_up","JI(`',`puttygen.general')");EB("btn_up")e<M Q ) "€x€€€€‚’Section 8.2.3: Selecting the size (strength) of the key‹fģ Ü % €Ģ€˜€€‚’The ‘Number of bits’ input box allows you to choose the strength of the key PuTTYgen will generate.c>Q ? % €|€˜€€‚’Currently 1024 bits should be sufficient for most purposes.Œ[Ü Ė 1•Ä.i€.Ė  lASection 8.2.4: The ‘Generate’ buttonCBB("btn_up","JI(`',`puttygen.general')");EB("btn_up")R)?  ) "€R€€€€‚’Section 8.2.4: The ‘Generate’ buttonŌ®Ė ń & €]€˜€€‚’Once you have chosen the type of key you want, and the strength of the key, press the ‘Generate’ button and PuTTYgen will begin the process of actually generating the key.(ü , &€ł€˜€€€€‚’First, a progress bar will appear and PuTTYgen will ask you to move the mouse around to generate randomness. Wave the mouse in circles over the blank area in the PuTTYgen window, and the progress bar will gradually fill up as PuTTYgen collects enough randomness. You don't need to wave the mouse in particularly imaginative patterns (although it can't hurt); PuTTYgen will collect enough randomness just from the fine detail of exactly how far the mouse has moved each time Windows samples its position.¹“ń Ž@& €'€˜€€‚’When the progress bar reaches the end, PuTTYgen will begin creating the key. The progress bar will reset to the start, and gradually move up again to track the progress of the key generation. Ž@? It will not move evenly, and may occasionally slow down to a stop; this is unfortunately unavoidable, because key generation is a random process and it is impossible to reliably predict how long it will take.ŽilA% €Ņ€˜€€‚’When the key generation is complete, a new set of controls will appear in the window to indicate this._Ž@üA1ö¤.Ų‚.üARBņDSection 8.2.5: The ‘Key fingerprint’ boxCBB("btn_up","JI(`',`puttygen.general')");EB("btn_up")V-lARB) "€Z€€€€‚’Section 8.2.5: The ‘Key fingerprint’ boxā¶üA4C, &€m€˜€€€€‚’The ‘Key fingerprint’ box shows you a fingerprint value for the generated key. This is derived cryptographically from the public key value, so it doesn't need to be kept secret.¾ŒRBņD2 2€€˜€€ć‰§L‰€€‚’The fingerprint value is intended to be cryptographically secure, in the sense that it is computationally infeasible for someone to invent a second key with the same fingerprint, or to find a key with a particular fingerprint. So some utilities, such as the Pageant key list box (see section 9.2.1) and the Unix ssh-add utility, will list key fingerprints rather than the whole public key.•d4C‡E1ōi€.†.‡EāE{ISection 8.2.6: Setting a comment for your keyCBB("btn_up","JI(`',`puttygen.general')");EB("btn_up")[2ņDāE) "€d€€€€‚’Section 8.2.6: Setting a comment for your keyD‡E&G, &€1€˜€€€€‚’If you have more than one key and use them for different purposes, you don't need to memorise the key fingerprints in order to tell them apart. PuTTYgen allows you to enter a comment for your key, which will be displayed whenever PuTTY or Pageant asks you for the passphrase.< āEbH2 2€€˜€€€€€€‚’The default comment format, if you don't specify one, contains the key type and the date of generation, such as rsa-key-20011212. Another commonly used approach is to use your name and the name of the computer the key will be used on, such as simon@simons-pc.ó&G{I& €ē€˜€€‚’To alter the key comment, just type your comment text into the ‘Key comment’ box before saving the private key. If you want to change the comment later, you can load the private key back into PuTTYgen, change the comment, and save it again.˜gbHJ1Ÿ Ų‚./JqJ¾ƒSection 8.2.7: Setting a passphrase for your keyCBB("btn_up","JI(`',`puttygen.general')");EB("btn_up")^5{IqJ) "€j€€€€‚’Section 8.2.7: Setting a passphrase for your keyėJ‚K& €×€˜€€‚’The ‘Key passphrase’ and ‘Confirm passphrase’ boxes allow you to choose a passphrase for your key. The passphrase will be used to encrypt the key on disk, so you will not be able to use the key without first entering the passphrase.į»qJcL& €w€˜€€‚’When you save the key, PuTTYgen will check that the ‘Key passphrase’ and ‘Confirm passphrase’ boxes both contain exactly the same passphrase, and will refuse to save the key otherwise.ūÉ‚K^N2 2€“€˜€€€€ć80«f‰‚’If you leave the passphrase fields blank, the key will be saved unencrypted. You should not do this without good reason; if you do, your private key file on disk will be all an attacker needs to gain access to any machine configured to accept that key. If you want to be able to log in without having to type a passphrase every time, you should consider using Pageant (chapter 9) so that your decrypted key is only held in memory rather than on disk.sAcLŻ€2 2€ƒ€˜€€€€€€‚’Under special circumstances you may genuinely need to use a key with no passphrase; for example, if you need to run an automated batch script that needs to make an SSH connection, you can't be there to type the passphrase. In this case we recommend you generate a special key for each specific batch script (or whatever) that needs one, and on the server side you s^NŻ€{Ihould arrange that each key is restricted so that it can only be used for that specific purpose. The documentation for your SSH server should explain how to do this (it will probably vary between servers).xL^NUƒ, &€™€˜€€€€‚’Choosing a good passphrase is difficult. Just as you shouldn't use a dictionary word as a password because it's easy for an attacker to run through a whole dictionary, you should not use a song lyric, quotation or other well-known sentence as a passphrase. DiceWare (www.diceware.com) recommends using at least five words each generated randomly by rolling five dice, which gives over 2^64 possible passphrases and is probably not a bad scheme. If you want your passphrase to make grammatical sense, this cuts down the possibilities a lot and you should use a longer one as a result.iAŻ€¾ƒ( €‚€˜€€€‚’Do not forget your passphrase. There is no way to recover it.lUƒ[„1ņ.¦/[„¾„ ‡Section 8.2.8: Saving your private key to a disk fileCBB("btn_up","JI(`',`puttygen.general')");EB("btn_up")c:¾ƒ¾„) "€t€€€€‚’Section 8.2.8: Saving your private key to a disk file {[„^…% €ö€˜€€‚’Once you have generated a key, set a comment field and set a passphrase, you are ready to save your private key to disk.Ķ§¾„+†& €O€˜€€‚’Press the ‘Save private key’ button. PuTTYgen will put up a dialog box asking you where to save the file. Select a directory, type in a file name, and press ‘Save’.õ½^… ‡8 >€{€˜€€€€ć„@ĻŲ‰ćĀ<ū—‰‚’This file is in PuTTY's native format (*.PPK); it is the one you will need to tell PuTTY to use for authentication (see section 4.21.8) or tell Pageant to load (see section 9.2.2).œk+†¼‡1ø/‹/¼‡ˆtŒSection 8.2.9: Saving your public key to a disk fileCBB("btn_up","JI(`',`puttygen.general')");EB("btn_up")b9 ‡ˆ) "€r€€€€‚’Section 8.2.9: Saving your public key to a disk fileZ(¼‡x‰2 2€Q€˜€€€€ć eHm‰‚’RFC 4716 specifies a standard format for storing SSH-2 public keys on disk. Some SSH servers (such as ssh.com's) require a public key in this format in order to accept authentication with the corresponding private key. (Others, such as OpenSSH, use a different format; see section 8.2.10.)čˆ†Š& €Ń€˜€€‚’To save your public key in the SSH-2 standard format, press the ‘Save public key’ button in PuTTYgen. PuTTYgen will put up a dialog box asking you where to save the file. Select a directory, type in a file name, and press ‘Save’.õÉx‰{‹, &€“€˜€€ćуłN‰‚’You will then probably want to copy the public key file to your SSH server machine. See section 8.3 for general instructions on configuring public-key authentication once you have generated a key.łÓ†ŠtŒ& €§€˜€€‚’If you use this option with an SSH-1 key, the file PuTTYgen saves will contain exactly the same text that appears in the ‘Public key for pasting’ box. This is the only existing standard for SSH-1 public keys.Ŗy{‹1b¦/u€/Ž¬ĄSection 8.2.10: ‘Public key for pasting into authorized_keys file’CBB("btn_up","JI(`',`puttygen.general')");EB("btn_up")pGtŒŽ) "€Ž€€€€‚’Section 8.2.10: ‘Public key for pasting into authorized_keys file’ꡍtŽ& €€˜€€‚’All SSH-1 servers require your public key to be given to it in a one-line format before it will accept authentication with your private key. The OpenSSH server also requires this for SSH-2.lFŽ Ą& €€˜€€‚’The ‘Public key for pasting into authorized_keys file’ gives the public-key data in the correct one-line format. Typically you will want to select the entire contents of the box using the mouse, press Ctrl+C to copy it to the clipboard, and then paste the data into a PuTTY session which is already connected to the server.tŽ ĄtŒ utŽ¬Ą+ &€ź€˜€€ćуłN‰‚’See section 8.3 for general instructions on configuring public-key authentication once you have generated a key.^ Ą;Į1Ś‹/®ƒ/;ĮĮÅSection 8.2.11: Reloading a private keyCBB("btn_up","JI(`',`puttygen.general')");EB("btn_up")U,¬ĄĮ) "€X€€€€‚’Section 8.2.11: Reloading a private key÷Ń;Į‡Ā& €£€˜€€‚’PuTTYgen allows you to load an existing private key file into memory. If you do this, you can then change the passphrase and comment before saving it again; you can also make extra copies of the public key.kEĮņĆ& €‹€˜€€‚’To load an existing key, press the ‘Load’ button. PuTTYgen will put up a dialog box where you can browse around the file system and find your key file. Once you select the file, PuTTYgen will ask you for a passphrase (if necessary) and will then display the key details in the same way as if it had just generated the key.#÷‡ĀÅ, &€ļ€˜€€ćE@Įv‰‚’If you use the Load command to load a foreign key format, it will work, but you will see a message box warning you that the key you have loaded is not a PuTTY native key. See section 8.2.12 for information about importing foreign key formats.¢qņĆ·Å1,u€/ɉ/·ÅĘćĢSection 8.2.12: Dealing with private keys in other formatsCBB("btn_up","JI(`',`puttygen.general')");EB("btn_up")h?ÅĘ) "€~€€€€‚’Section 8.2.12: Dealing with private keys in other formatsė·Å6Ē, &€×€˜€€€€‚’Most SSH-1 clients use a standard format for storing private keys on disk. PuTTY uses this format as well; so if you have generated an SSH-1 private key using OpenSSH or ssh.com's client, you can use it with PuTTY, and vice versa.żŃĘ3Č, &€£€˜€€€€‚’However, SSH-2 private keys have no standard format. OpenSSH and ssh.com have different formats, and PuTTY's is different again. So a key generated with one client cannot immediately be used with another.n66Ē”Ź8 >€m€˜€€€€€€€€‚’Using the ‘Import’ command from the ‘Conversions’ menu, PuTTYgen can load SSH-2 private keys in OpenSSH's format and ssh.com's format. Once you have loaded one of these key types, you can then save it back out as a PuTTY-format key (*.PPK) so that you can use it with the PuTTY suite. The passphrase will be unchanged by this process (unless you deliberately change it). You may want to change the key comment before you save the key, since OpenSSH's SSH-2 key format contains no space for a comment and ssh.com's default comment format is long and verbose.–d3Č7Ģ2 2€É€˜€€€€ć䀅a‰‚’PuTTYgen can also export private keys in OpenSSH format and in ssh.com format. To do so, select one of the ‘Export’ options from the ‘Conversions’ menu. Exporting a key works exactly like saving it (see section 8.2.8) - you need to have typed your passphrase in beforehand, and you will be warned if you are about to save a key without a passphrase.¬†”ŹćĢ& € €˜€€‚’Note that since only SSH-2 keys come in different formats, the export options are not available if you have generated an SSH-1 key.™h7Ģ|Ķ1X ®ƒ/n0 |ĶāĶą Section 8.3: Getting ready for public key authenticationCBB("btn_up","JI(`',`t00000132')");EB("btn_up")f=ćĢāĶ) "€z€€€€‚’Section 8.3: Getting ready for public key authenticationų|ĶĻ& €ń€˜€€‚’Connect to your SSH server using PuTTY with the SSH protocol. When the connection succeeds you will be prompted for your user name and password to login. Once logged in, you must configure the server to accept your public key for authentication:r,āĶ~F Z€Y€T˜‘€8‚€ƒ€€€€€ć eHm‰€€‚’•If your server is using the SSH-1 protocol, you should change into the .ssh directory and open the file authorized_keys with your favourite editor. (You may have to create this fĻ~ćĢile if this is the first key you have put in it). Then switch to the PuTTYgen window, select all of the text in the ‘Public key for pasting into authorized_keys file’ box (see section 8.2.10), and copy it to the clipboard (Ctrl+C). Then, switch back to the PuTTY window and insert the data into the open file, making sure it ends up all on one line. Save the file.YĻ×: B€?€T˜‘€8‚€ƒ€€€€€‚’•If your server is OpenSSH and is using the SSH-2 protocol, you should follow the same instructions, except that in earlier versions of OpenSSH 2 the file might be called authorized_keys2. (In modern versions the same authorized_keys file is used for both SSH-1 and SSH-2 keys.)ō–~Ė^ Š€-€T˜‘€8‚€ƒ€€€€€ć“åU‰€€€€€€€€€€‚’•If your server is ssh.com's product and is using SSH-2, you need to save a public key file from PuTTYgen (see section 8.2.9), and copy that into the .ssh2 directory on the server. Then you should go into that .ssh2 directory, and edit (or create) a file called authorization. In this file you should put a line like Key mykey.pub, with mykey.pub replaced by the name of your key file.T×L- *€Ø€T˜‘€8‚€ƒ€‚’•For other SSH server software, you should refer to the manual for that server.LĖ˜> J€€˜€€€€€€€€€€‚’You may also need to ensure that your home directory, your .ssh directory, and any other files involved (such as authorized_keys, authorized_keys2 or authorization) are not group-writable or world-writable. You can typically do this by using a command such as^9Lö% €r€˜€€‚’chmod go-w $HOME $HOME/.ssh $HOME/.ssh/authorized_keysžŅ˜ō, &€„€˜€€€€‚’Your server should now be configured to accept authentication using your private key. Now you need to configure PuTTY to attempt authentication using your private key. You can do this in any of three ways:‹Xö3 6€°€T˜‘€8‚€ƒ€ć„@ĻŲ‰‚’•Select the private key in PuTTY's configuration. See section 4.21.8 for details.”hō 9 B€Š€T˜‘€8‚€ƒ€€€ć’ÄłN‰‚’•Specify the key file on the command line with the -i option. See section 3.8.3.18 for details.ĄŒą 4 6€€T˜‘€8‚€ƒ€ć80«f‰‚’•Load the private key into Pageant (see chapter 9). In this case PuTTY will automatically try to use it for authentication if it can.†U f 1ģɉ/ 0!f æ R Chapter 9: Using Pageant for authenticationCBB("btn_up","JI(`',`Top')");EB("btn_up")Y0ą æ ) "€`€€€€‚’Chapter 9: Using Pageant for authenticationĢ¦f ‹ & €M€˜€€‚’Pageant is an SSH authentication agent. It holds your private keys in memory, already decoded, so that you can use them often without needing to type a passphrase._0æ ź / .€`€ćŅƒłN€€€‰‚’Section 9.1: Getting started with PageantZ+‹ D / .€V€ćӃłN€€€‰‚’Section 9.2: The Pageant main window[,ź Ÿ / .€X€ćŌƒłN€€€‰‚’Section 9.3: The Pageant command lineY*D ų / .€T€ćųƒłN€€€‰‚’Section 9.4: Using agent forwardingZ+Ÿ R / .€V€ćłƒłN€€€‰‚’Section 9.5: Security considerations_ų ā 1Än0é„0"ā 9²FSection 9.1: Getting started with PageantCBB("btn_up","JI(`',`pageant.general')");EB("btn_up")W.R 9) "€\€€€€‚’Section 9.1: Getting started with Pageant·…ā š2 2€ €˜€€€€ćĪƒłN‰‚’Before you run Pageant, you need to have a private key in *.PPK format. See chapter 8 to find out how to generate and use one.Ė„9»& €K€˜€€‚’When you run Pageant, it will put an icon of a computer wearing a hat into the System tray. It will then sit and do nothing, until you load a private key into it. ęšÓ@& €Ķ€˜€€‚’If you click the Pageant icon »Ó@R with the right mouse button, you will see a menu. Select ‘View Keys’ from this menu. The Pageant main window will appear. (You can also bring this window up by double-clicking on the Pageant icon.) 仯A& €É€˜€€‚’The Pageant window contains a list box. This shows the private keys Pageant is holding. When you start Pageant, it has no keys, so the list box will be empty. After you add one or more keys, they will show up in the list box.ć½Ó@ĄB& €{€˜€€‚’To add a key to Pageant, press the ‘Add Key’ button. Pageant will bring up a file dialog, labelled ‘Select Private Key File’. Find your private key file in this dialog, and press ‘Open’.õĻŻAµC& €Ÿ€˜€€‚’Pageant will now load the private key. If the key is protected by a passphrase, Pageant will ask you to type the passphrase. When the key has been loaded, it will appear in the list in the Pageant window.G!ĄBüD& €C€˜€€‚’Now start PuTTY and open an SSH session to a site that accepts your key. PuTTY will notice that Pageant is running, retrieve the key automatically from Pageant, and use it to authenticate. You can now open as many PuTTY sessions as you like without having to type your passphrase again.ʔµCĀE2 2€)€˜€€ć8\C‰ćÕÄłN‰‚’(PuTTY can be configured not to try to use Pageant, but it will try by default. See section 4.21.3 and section 3.8.3.9 for more information.)šÄüD²F, &€‰€˜€€€€‚’When you want to shut down Pageant, click the right button on the Pageant icon in the System tray, and select ‘Exit’ from the menu. Closing the Pageant main window does not shut down Pageant.‹ZĀE=G1š 0§†0#=GG×ISection 9.2: The Pageant main windowCBB("btn_up","JI(`',`pageant.general')");EB("btn_up")R)²FG) "€R€€€€‚’Section 9.2: The Pageant main window>=GĶH& €1€˜€€‚’The Pageant main window appears when you left-click on the Pageant system tray icon, or alternatively right-click and select ‘View Keys’ from the menu. You can use it to keep track of what keys are currently loaded into Pageant, and to add new ones or remove the existing keys.U&G"I/ .€L€ć‰§L€€€‰‚’Section 9.2.1: The key list boxY*ĶH{I/ .€T€ćĀ<ū—€€€‰‚’Section 9.2.2: The ‘Add Key’ button\-"I×I/ .€Z€ć :0-€€€‰‚’Section 9.2.3: The ‘Remove Key’ button€O{IWJ1é„0Š0$WJ¤J\OSection 9.2.1: The key list boxCBB("btn_up","JI(`',`t00000137')");EB("btn_up")M$×I¤J) "€H€€€€‚’Section 9.2.1: The key list box¾˜WJbK& €1€˜€€‚’The large list box in the Pageant main window lists the private keys that are currently loaded into Pageant. The list might look something like this:fB¤JČK$ €„€€€‚’ssh1 1024 22:c3:68:3b:09:41:36:c3:39:83:91:ae:71:b2:0f:04 k1gBbK/L% €„€˜€€‚’ssh-rsa 1023 74:63:08:82:95:75:e1:7c:33:31:bb:cb:00:c0:89:8b k2Q,ČK€L% €X€˜€€‚’For each key, the list box will tell you:Ų/L˜M@ N€±€T˜‘€8‚€ƒ€€€€€€€‚’•The type of the key. Currently, this can be ssh1 (an RSA key for use with the SSH-1 protocol), ssh-rsa (an RSA key for use with the SSH-2 protocol), or ssh-dss (a DSA key for use with the SSH-2 protocol).Q$€LéM- *€H€T˜‘€8‚€ƒ€‚’•The size (in bits) of the key. ę˜M O: B€Ķ€T˜‘€8‚€ƒ€€€€€‚’•The fingerprint for the public key. This should be the same fingerprint given by PuTTYgen, and (hopefully) also the same fingerprint shown by remote utilities such as ssh-keygen when applied to your authorized_keys file.S&éM\O- *€L€T˜‘€8‚€ƒ€‚’•The comment attached to the key.„S O €1&§†0_1% €]€2„Section 9.2.2: The ‘Add Key’ buttonCBB("btn_up","JI(`',`t00000137')");EB("btn_up")\O €\OQ(\O]€) "€P€€€€‚’Section 9.2.2: The ‘Add Key’ buttonŽ €a& €½€˜€€‚’To add a key to Pageant by reading it out of a local disk file, press the ‘Add Key’ button in the Pageant main window, or alternatively right-click on the Pageant icon in the system tray and select ‘Add Key’ from there.]7]€¾‚& €o€˜€€‚’Pageant will bring up a file dialog, labelled ‘Select Private Key File’. Find your private key file in this dialog, and press ‘Open’. If you want to add more than one key at once, you can select multiple files using Shift-click (to select several adjacent files) or Ctrl-click (to select non-adjacent files).¦€adƒ& €€˜€€‚’Pageant will now load the private key(s). If a key is protected by a passphrase, Pageant will ask you to type the passphrase.Ī¢¾‚2„, &€E€˜€€ćųƒłN‰‚’(This is not the only way to add a private key to Pageant. You can also add one from a remote system by using agent forwarding; see section 9.4 for details.)‡Vdƒ¹„1čŠ0Ģ1&¹„ …”†Section 9.2.3: The ‘Remove Key’ buttonCBB("btn_up","JI(`',`t00000137')");EB("btn_up")T+2„ …) "€V€€€€‚’Section 9.2.3: The ‘Remove Key’ buttonƝ¹„Š…& €;€˜€€‚’If you need to remove a key from Pageant, select that key in the list box, and press the ‘Remove Key’ button. Pageant will remove the key from its memory.Ń„ …”†, &€K€˜€€ćųƒłN‰‚’You can apply this to keys you added using the ‘Add Key’ button, or to keys you added remotely using agent forwarding (see section 9.4); it makes no difference.Œ[Š…-‡1_11'-‡€‡CŠSection 9.3: The Pageant command lineCBB("btn_up","JI(`',`pageant.general')");EB("btn_up")S*”†€‡) "€T€€€€‚’Section 9.3: The Pageant command line,-‡¬ˆ& € €˜€€‚’Pageant can be made to do things automatically when it starts up, by specifying instructions on its command line. If you're starting Pageant from the Windows GUI, you can arrange this by editing the properties of the Windows shortcut that it was started from.ŗ”€‡f‰& €)€˜€€‚’If Pageant is already running, invoking it again with the options below causes actions to be performed with the existing instance, not a new one.vG¬ˆ܉/ .€Ž€ćՃłN€€€‰‚’Section 9.3.1: Making Pageant automatically load keys on startupg8f‰CŠ/ .€p€ć„łN€€€‰‚’Section 9.3.2: Making Pageant run another program”p܉äŠ1…Ģ1Ö1(äŠR‹iSection 9.3.1: Making Pageant automatically load keys on startupCBB("btn_up","JI(`',`t00000138')");EB("btn_up")nECŠR‹) "€Š€€€€‚’Section 9.3.1: Making Pageant automatically load keys on startupĢ¦äŠŒ& €M€˜€€‚’Pageant can automatically load one or more private keys when it starts up, if you provide them on the Pageant command line. Your command line might then look like:Y4R‹wŒ% €h€˜€€‚’C:\PuTTY\pageant.exe d:\main.ppk d:\secondary.ppkzUŒńŒ% €Ŗ€˜€€‚’If the keys are stored encrypted, Pageant will request the passphrases on startup.xSwŒi% €¦€˜€€‚’If Pageant is already running, this syntax loads keys into the existing Pageant.’ańŒū1j19€1)ūZŽqĄSection 9.3.2: Making Pageant run another programCBB("btn_up","JI(`',`t00000138')");EB("btn_up")_6iZŽ) "€l€€€€‚’Section 9.3.2: Making Pageant run another program2 ūŒ& €€˜€€‚’You can arrange for Pageant to start another program once it has initialised itself and loaded any keys specified on its command line. This program (perhaps a PuTTY, or a WinCVS making use of Plink, or whatever) will then be able to use the keys Pageant has loaded.{PZŽĄ+ &€ €˜€€€€‚’You do this by specifying the -c option followed by the command, like ŒĄithis:^9ŒqĄ% €r€˜€€‚’C:\PuTTY\pageant.exe d:\main.ppk -c C:\PuTTY\putty.exeŠYĄūĄ1f Ö1üˆ1*ūĄLĮaĶSection 9.4: Using agent forwardingCBB("btn_up","JI(`',`pageant.general')");EB("btn_up")Q(qĄLĮ) "€P€€€€‚’Section 9.4: Using agent forwarding©ƒūĄõĮ& €€˜€€‚’Agent forwarding is a mechanism that allows applications on your SSH server machine to talk to the agent on your client machine.é½LĮŽĀ, &€{€˜€€€€‚’Note that at present, agent forwarding in SSH-2 is only available when your SSH server is OpenSSH. The ssh.com server uses a different agent protocol, which PuTTY does not yet support.KõĮ)Ä8 >€'€˜€€ćŹ6ŹÄ‰€€ćÖÄłN‰‚’To enable agent forwarding, first start Pageant. Then set up a PuTTY SSH session in which ‘Allow agent forwarding’ is enabled (see section 4.21.6). Open the session as normal. (Alternatively, you can use the -A command line option; see section 3.8.3.10 for details.)@ŽĀiÅ& €5€˜€€‚’If this has worked, your applications on the server should now have access to a Unix domain socket which the SSH server will forward back to PuTTY, and PuTTY will forward on to the agent. To check that this has actually happened, you can try this command on Unix server machines:E!)Ä®Å$ €B€€€‚’unixbox:~$ echo $SSH_AUTH_SOCKD iÅņÅ$ €@€€€‚’/tmp/ssh-XXNP18Jz/agent.287942 ®Å$Ę% €€˜€€‚’unixbox:~$xSņÅœĘ% €¦€˜€€‚’If the result line comes up blank, agent forwarding has not been enabled at all.ŪÆ$ĘwĒ, &€_€˜€€€€‚’Now if you run ssh on the server and use it to connect through to another server that accepts one of the keys in Pageant, you should be able to log in without a password:E!œĘ¼Ē$ €B€€€‚’unixbox:~$ ssh -v otherunixbox,wĒčĒ$ €€€€‚’[...]R.¼Ē:Č$ €\€€€‚’debug: next auth method to try is publickeyb>čĒœČ$ €|€€€‚’debug: userauth_pubkey_agent: trying agent key my-putty-keyX4:ČōČ$ €h€€€‚’debug: ssh-userauth2 successful: method publickey-œČ!É% €€˜€€‚’[...]N"ōČoŹ, &€E€˜€€€€‚’If you enable agent forwarding on that SSH connection as well (see the manual for your server-side SSH client to find out how to do this), your authentication keys will still be available on the next machine you connect to - two SSH connections away from where they're actually stored.æ“!É.Ė, &€'€˜€€€€‚’In addition, if you have a private key on one of the SSH servers, you can send it all the way back to Pageant using the local ssh-add command:G#oŹuĖ$ €F€€€‚’unixbox:~$ ssh-add ~/.ssh/id_rsaQ-.ĖĘĖ$ €Z€€€‚’Need passphrase for /home/fred/.ssh/id_rsaS/uĖĢ$ €^€€€‚’Enter passphrase for /home/fred/.ssh/id_rsa:gCĘĖ€Ģ$ €†€€€‚’Identity added: /home/fred/.ssh/id_rsa (/home/simon/.ssh/id_rsa)2 Ģ²Ģ% €€˜€€‚’unixbox:~$Ɖ€ĢaĶ& €€˜€€‚’and then it's available to every machine that has agent forwarding available (not just the ones downstream of the place you added it).‹Z²ĢģĶ1¹ 9€1 2+ģĶ>Ī± Section 9.5: Security considerationsCBB("btn_up","JI(`',`pageant.general')");EB("btn_up")R)aĶ>Ī) "€R€€€€‚’Section 9.5: Security considerationsqKģĶÆĻ& €—€˜€€‚’Using Pageant for public-key authentication gives you the convenience of being able to open multiple SSH sessions without having to type a passphrase every time, but also gives you the security benefit of never storing a decrypted private key on disk. Many people feel this is a good compromise between security and convenience. Ž>ĪÅ, &€½€˜€€€€‚’It is a compromise, however. HoldiÆĻÅaĶng your decrypted private keys in Pageant is better than storing them in easy-to-find disk files, but still less secure than not storing them anywhere at all. This is for two reasons: ŁÆĻŅ4 6€³€T˜‘€8‚€ƒ€€€‚’•Windows unfortunately provides no way to protect pieces of memory from being written to the system swap file. So if Pageant is holding your private keys for a long period of time, it's possible that decrypted private key data may be written to the system swap file, and an attacker who gained access to your hard disk later on might be able to recover that data. (However, if you stored an unencrypted key in a disk file they would certainly be able to recover it.)#õÅõ. *€ė€T˜‘€8‚€ƒ€‚’•Although, like most modern operating systems, Windows prevents programs from accidentally accessing one another's memory space, it does allow programs to access one another's memory space deliberately, for special purposes such as debugging. This means that if you allow a virus, trojan, or other malicious program on to your Windows system while Pageant is running, it could access the memory of the Pageant process, extract your decrypted authentication keys, and send them back to its master.ķŅ, &€Ū€˜€€€€‚’Similarly, use of agent forwarding is a security improvement on other methods of one-touch authentication, but not perfect. Holding your keys in Pageant on your Windows box has a security advantage over holding them on the remote server machine itself (either in an agent or just unencrypted on disk), because if the server machine ever sees your unencrypted private key then the sysadmin or anyone who cracks the machine can steal the keys and pretend to be you for as long as they want.? õM 2 2€€˜€€€€€€‚’However, the sysadmin of the server machine can always pretend to be you on that machine. So if you forward your agent to a server machine, then the sysadmin of that machine can access the forwarded agent connection and request signatures from your private keys, and can therefore log in to other machines as you. They can only do this to a limited extent - when the agent forwarding disappears they lose the ability - but using Pageant doesn't actually prevent the sysadmin (or hackers) on the server from doing this.d8± , &€q€˜€€€€‚’Therefore, if you don't trust the sysadmin of a server machine, you should never use agent forwarding to that machine. (Of course you also shouldn't store private keys on that machine, type passphrases into it, or log into other machines from it in any way at all; Pageant is hardly unique in this respect.)|KM - 1‚ üˆ1Tƒ2,- | »EChapter 10: Common error messagesCBB("btn_up","JI(`',`Top')");EB("btn_up")O&± | ) "€L€€€€‚’Chapter 10: Common error messages»•- 7 & €+€˜€€‚’This chapter lists a number of common error messages which PuTTY and its associated tools can produce, and explains what they mean in more detail.o=| ¦ 2 2€{€˜€€€€ć]‹łN‰‚’We do not attempt to list all error messages here: there are many which should never occur, and some which should be self-explanatory. If you get an error message which is not listed in this chapter and which you don't understand, report it to us as a bug (see appendix B) and we will add documentation for it.yJ7 / .€”€ćSo~…€€€‰‚’Section 10.1: ‘The server's host key is not cached in the registry’j;¦ ‰/ .€v€ćŽĄŽ€€€‰‚’Section 10.2: ‘WARNING - POTENTIAL SECURITY BREACH!’œm%/ .€Ś€ćūƒłN€€€‰‚’Section 10.3: ‘The first cipher supported by the server is ... below the configured warning threshold’©z‰Ī/ .€ō€ćüƒłN€€€‰‚’Section 10.4: ‘Server sent disconnect message type 2 (protocol error): "Too many authentication failures for root"’S$%-@/ .€H€ćżƒłN€€€‰‚’SĪ-@± ection 10.5: ‘Out of memory’zKĪ§@/ .€–€ćžƒłN€€€‰‚’Section 10.6: ‘Internal error’, ‘Internal fault’, ‘Assertion failed’žo-@EA/ .€Ž€ć$ä³q€€€‰‚’Section 10.7: ‘Unable to use this private key file’, ‘Couldn't load private key’, ‘Key is of wrong type’tE§@¹A/ .€Š€ć’ƒłN€€€‰‚’Section 10.8: ‘Server refused our public key’ or ‘Key refused’m>EA&B/ .€|€ć„łN€€€‰‚’Section 10.9: ‘Access denied’, ‘Authentication refused’tE¹AšB/ .€Š€ć,„łN€€€‰‚’Section 10.10: ‘No supported authentication methods available’^&B'C/ .€¼€ć#„łN€€€‰‚’Section 10.11: ‘Incorrect CRC received on packet’ or ‘Incorrect MAC received on packet’pAšB—C/ .€‚€ć$„łN€€€‰‚’Section 10.12: ‘Incoming packet was garbled on decryption’n9'CD5 :€r€ć%„łN€€€€€‰‚’Section 10.13: ‘PuTTY X11 proxy: various errors’vG—C{D/ .€Ž€ć&„łN€€€‰‚’Section 10.14: ‘Network error: Software caused connection abort’n?DéD/ .€~€ć'„łN€€€‰‚’Section 10.15: ‘Network error: Connection reset by peer’h9{DQE/ .€r€ć(„łN€€€‰‚’Section 10.16: ‘Network error: Connection refused’j;éD»E/ .€v€ć)„łN€€€‰‚’Section 10.17: ‘Network error: Connection timed out’¤sQE_F1Ź 2R‡2-_FŠF)KSection 10.1: ‘The server's host key is not cached in the registry’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")qH»EŠF) "€€€€€‚’Section 10.1: ‘The server's host key is not cached in the registry’._FžG& €€˜€€‚’This error message occurs when PuTTY connects to a new SSH server. Every server identifies itself by means of a host key; once PuTTY knows the host key for a server, it will be able to detect if a malicious attacker redirects your connection to another machine.šŠFI& €į€˜€€‚’If you see this message, it means that PuTTY has not seen this host key before, and has no way of knowing whether it is correct or not. You should attempt to verify the host key by other means, such as asking the machine's administrator.³‡žGĒJ, &€€˜€€€€‚’If you see this message and you know that your installation of PuTTY has connected to the same server before, it may have been recently upgraded to SSH protocol version 2. SSH protocols 1 and 2 use separate host keys, so when you first use SSH-2 with a server you have only used SSH-1 with before, you will see this message again. You should verify the correctness of the key as before.b7I)K+ &€n€˜€€ć’ÅłN‰‚’See section 2.2 for more information on host keys.•dĒJ¾K1DTƒ23.¾K L€Section 10.2: ‘WARNING - POTENTIAL SECURITY BREACH!’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")b9)K L) "€r€€€€‚’Section 10.2: ‘WARNING - POTENTIAL SECURITY BREACH!’ź¾K6M, &€Õ€˜€€€€‚’This message, followed by ‘The server's host key does not match the one PuTTY has cached in the registry’, means that PuTTY has connected to the SSH server before, knows what its host key should be, but has found a different one.Žb LÄN, &€Å€˜€€€€‚’This may mean that a malicious attacker has replaced your server with a different one, or has redirected your network connection to their own machine. On the other hand, it may simply mean that the administrator of your server has accidentally changed the key while upgrading the SSH software; this shouldn't happen but it is unfortunately possible.ܶ6M O& €m€˜€€‚’You should contact your server's administrator and see whether they expect the host key to have changed. If so, verify the new host key in the same way as you would if it was new.b7ÄN€+ &€n€˜€€ć’ÅłN‰‚’See section 2.2 for more information on host keys. O€)KĒ– OՀ1ėR‡2q3/ՀiĄ‚Section 10.3: ‘The first cipher supported by the server is ... below the configured warning threshold’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")”k€i) "€Ö€€€€‚’Section 10.3: ‘The first cipher supported by the server is ... below the configured warning threshold’ńĖՀZ‚& €—€˜€€‚’This occurs when the SSH server does not offer any ciphers which you have configured PuTTY to consider strong enough. By default, PuTTY puts up this warning only for single-DES and Arcfour encryption.f;iĄ‚+ &€v€˜€€ćdŽå؉‚’See section 4.20 for more information on this message.Ō£Z‚”ƒ13į30”ƒ5„±‡Section 10.4: ‘Server sent disconnect message type 2 (protocol error): "Too many authentication failures for root"’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")”xĄ‚5„) "€š€€€€‚’Section 10.4: ‘Server sent disconnect message type 2 (protocol error): "Too many authentication failures for root"’¶”ƒė„& €!€˜€€‚’This message is produced by an OpenSSH (or Sun SSH) server if it receives more failed authentication attempts than it is willing to tolerate.żŃ5„č†, &€£€˜€€ć„@ĻŲ‰‚’This can easily happen if you are using Pageant and have a large number of keys loaded into it, since these servers count each offer of a public key as an authentication attempt. This can be worked around by specifying the key that's required for the authentication in the PuTTY configuration (see section 4.21.8); PuTTY will ignore any other keys Pageant may have, but will ask Pageant to do the authentication, so that you don't have to type your passphrase.ɗė„±‡2 2€/€˜€€€€€€‚’On the server, this can be worked around by disabling public-key authentication or (for Sun SSH only) by increasing MaxAuthTries in sshd_config.~Mč†/ˆ1mq3u 31/ˆzˆœŽSection 10.5: ‘Out of memory’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")K"±‡zˆ) "€D€€€€‚’Section 10.5: ‘Out of memory’¢v/ˆŠ, &€ķ€˜€€€€‚’This occurs when PuTTY tries to allocate more memory than the system can give it. This may happen for genuine reasons: if the computer really has run out of memory, or if you have configured an extremely large number of lines of scrollback in your terminal. PuTTY is not able to recover from running out of memory; it will terminate immediately after giving this error. äzˆ&Œ& €É€˜€€‚’However, this error can also occur when memory is not running out at all, because PuTTY receives data in the wrong format. In SSH-2 and also in SFTP, the server sends the length of each message before the message itself; so PuTTY will receive the length, try to allocate space for the message, and then receive the rest of the message. If the length PuTTY receives is garbage, it will try to allocate a ridiculous amount of memory, and will terminate with an ‘Out of memory’ error.ÓŠ+2 2€§€˜€€ć6ŒłN‰ć“ŠłN‰‚’This can happen in SSH-2, if PuTTY and the server have not enabled encryption in the same way (see question A.7.5 in the FAQ). Some versions of OpenSSH have a known problem with this: see question A.7.16.qE&ŒœŽ, &€‹€˜€€ć7ŒłN‰‚’This can also happen in PSCP or PSFTP, if your login scripts on the server generate output: the client program will be expecting an SFTP message starting with a length, and if it receives some text from your login scripts instead it will try to interpret them as a message length. See question A.7.6 for details of this.„t+A1į3¢€32A³^ĮSection 10.6: ‘Internal error’, ‘Internal fault’, ‘Assertion failed’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")rIœŽ³) "€’€€€€‚’Section 10.6: ‘Internal error’, ‘Internal fault’, ‘Assertion failed’ׄA–Ą2 2€K€˜€€€€ć]‹łN‰‚’Any error beginning with t³–ĄœŽhe word ‘Internal’ should never occur. If it does, there is a bug in PuTTY by definition; please see appendix B and report it to us.Č¢³^Į& €E€˜€€‚’Similarly, any error message starting with ‘Assertion failed’ is a bug in PuTTY. Please report it to us, and include the exact text from the error message box.ɘ–Ą'Ā1–u 3_„33'Ā½Ā½ĘSection 10.7: ‘Unable to use this private key file’, ‘Couldn't load private key’, ‘Key is of wrong type’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")–m^Į½Ā) "€Ś€€€€‚’Section 10.7: ‘Unable to use this private key file’, ‘Couldn't load private key’, ‘Key is of wrong type’×'ĀĄĆ, &€Æ€˜€€ć{ÄłN‰‚’Various forms of this error are printed in the PuTTY window, or written to the PuTTY Event Log (see section 3.1.3.1) when trying public-key authentication, or given by Pageant when trying to load a private key.Āœ½Ā‚Ä& €9€˜€€‚’If you see one of these messages, it often indicates that you've tried to load a key of an inappropriate type into PuTTY, Plink, PSCP, PSFTP, or Pageant.įĄĆ‰Å& €Ć€˜€€‚’You may have specified a key that's inappropriate for the connection you're making. The SSH-1 and SSH-2 protocols require different private key formats, and a SSH-1 key can't be used for a SSH-2 connection (or vice versa).4ü‚ĽĘ8 >€ł€˜€€€€€€ćE@Įv‰‚’Alternatively, you may have tried to load an SSH-2 key in a ‘foreign’ format (OpenSSH or ssh.com) directly into one of the PuTTY tools, in which case you need to import it into PuTTY's native format (*.PPK) using PuTTYgen - see section 8.2.12.Ÿn‰Å\Ē1¹¢€3Fˆ34\ĒČĒĢSection 10.8: ‘Server refused our public key’ or ‘Key refused’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")lC½ĘČĒ) "€†€€€€‚’Section 10.8: ‘Server refused our public key’ or ‘Key refused’Ģ \Ē”Č, &€A€˜€€ć{ÄłN‰‚’Various forms of this error are printed in the PuTTY window, or written to the PuTTY Event Log (see section 3.1.3.1) when trying public-key authentication.?ČĒÓÉ& €3€˜€€‚’If you see one of these messages, it means that PuTTY has sent a public key to the server and offered to authenticate with it, and the server has refused to accept authentication. This usually means that the server is not configured to accept this key to authenticate this user.׫”ČŖĖ, &€W€˜€€€€‚’This is almost certainly not a problem with PuTTY. If you see this type of message, the first thing you should do is check your server configuration carefully. Common errors include having the wrong permissions or ownership set on the public key or the user's home directory on the server. Also, read the PuTTY Event Log; the server may have sent diagnostic messages explaining exactly what problem it had with your setup.k@ÓÉĢ+ &€€€˜€ćуłN€‰‚’Section 8.3 has some hints on server-side public key setup.˜gŖĖ­Ģ1_„345­ĢĶISection 10.9: ‘Access denied’, ‘Authentication refused’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")e<ĢĶ) "€x€€€€‚’Section 10.9: ‘Access denied’, ‘Authentication refused’¼­ĢĪĶ, &€!€˜€€ć{ÄłN‰‚’Various forms of this error are printed in the PuTTY window, or written to the PuTTY Event Log (see section 3.1.3.1) during authentication.¼–ĶŠĪ& €-€˜€€‚’If you see one of these messages, it means that the server has refused all the forms of authentication PuTTY has tried and it has no further ideas.ŠeĪĶĻ% €Ź€˜€€‚’It may be worth checking the Event Log for diagnostic messages from the server giving more detail.)÷ŠĪI2 2€ļ€˜€€ć‚īC‰ć=0‰‚’This error can be caused by buggy SSH-1 servers that fail to cope with the various strategies we use for camouflaging passwords in transit. Upgrade your server, or use the workarounds dĻIĢescribed in section 4.26.1 and possibly section 4.26.2.ŸnĻč1‚Fˆ3'46čTjSection 10.10: ‘No supported authentication methods available’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")lCIT) "€†€€€€‚’Section 10.10: ‘No supported authentication methods available’äčj2 2€É€˜€€ć“—‰ćā¢K!‰‚’This error indicates that PuTTY has run out of ways to authenticate you to an SSH server. This may be because PuTTY has TIS or keyboard-interactive authentication disabled, in which case section 4.21.4 and section 4.21.5.ø‡T"1$4«47"§FSection 10.11: ‘Incorrect CRC received on packet’ or ‘Incorrect MAC received on packet’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")…\j§) "€ø€€€€‚’Section 10.11: ‘Incorrect CRC received on packet’ or ‘Incorrect MAC received on packet’F "ķ& €A€˜€€‚’This error occurs when PuTTY decrypts an SSH packet and its checksum is not correct. This probably means something has gone wrong in the encryption or decryption process. It's difficult to tell from this error message whether the problem is in the client, in the server, or in between.Ģ¦§¹& €M€˜€€‚’In particular, if the network is corrupting data at the TCP level, it may only be obvious with cryptographic protocols such as SSH, which explicitly check the integrity of the transferred data and complain loudly if the checks fail. Corruption of protocols without integrity protection (such as HTTP) will manifest in more subtle failures (such as misdisplayed text or images in a web browser) which may not be noticed.bķF+ &€Ä€˜€€ć“ŠłN‰‚’A known server problem which can cause this error is described in question A.7.16 in the FAQ.›j¹į1_'4^48įI@ Section 10.12: ‘Incoming packet was garbled on decryption’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")h?FI) "€~€€€€‚’Section 10.12: ‘Incoming packet was garbled on decryption’L&į• & €M€˜€€‚’This error occurs when PuTTY decrypts an SSH packet and the decrypted data makes no sense. This probably means something has gone wrong in the encryption or decryption process. It's difficult to tell from this error message whether the problem is in the client, in the server, or in between.ęI­ 2 2€Ķ€˜€€ćļÜ7Y‰ć8ū«ó‰‚’If you get this error, one thing you could try would be to fiddle with the setting of ‘Miscomputes SSH-2 encryption keys’ (see section 4.26.7) or ‘Ignores SSH-2 maximum packet size’ (see section 4.26.11) on the Bugs panel .“h• @ + &€Š€˜€€ć“ŠłN‰‚’Another known server problem which can cause this error is described in question A.7.16 in the FAQ.‘`­ Ń 1«4&49Ń 7 ąBSection 10.13: ‘PuTTY X11 proxy: various errors’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")f7@ 7 / .€n€€€€€€‚’Section 10.13: ‘PuTTY X11 proxy: various errors’į»Ń  & €w€˜€€‚’This family of errors are reported when PuTTY is doing X forwarding. They are sent back to the X application running on the SSH server, which will usually report the error to the user. ß7 #, &€æ€˜€€ć„ÄłN‰‚’When PuTTY enables X forwarding (see section 3.4) it creates a virtual X display running on the SSH server. This display requires authentication to connect to it (this is how PuTTY prevents other users on your server machine from connecting through the PuTTY proxy to your real X display). PuTTY also sends the server the details it needs to enable clients to connect, and the server should put this mechanism in place automatically, so your X applications should just work.S' ‚A, &€O€˜€€€€‚’A common reason why people see one of these messages is because they used SSH to log in as one user (let's say ‘fred’), and then used the Unix su command to become another us#‚A@ er (typically ‘root’). The original user, ‘fred’, has access to the X authentication data provided by the SSH server, and can run X applications which are forwarded over the SSH connection. However, the second user (‘root’) does not automatically have the authentication data passed on to it, so attempting to run an X application as that user often fails with this error.^&#ąB8 >€M€˜€€€€€€€€‚’If this happens, it is not a problem with PuTTY. You need to arrange for your X authentication data to be passed from the user you logged in as to the user you used su to become. How you do this depends on your particular system; in fact many modern versions of su do it automatically.”p‚AC1č^4;†4:CļCiISection 10.14: ‘Network error: Software caused connection abort’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")nEąBļC) "€Š€€€€‚’Section 10.14: ‘Network error: Software caused connection abort’mGC\E& €€˜€€‚’This is a generic error produced by the Windows network code when it kills an established connection for some reason. For example, it might happen if you pull the network cable out of the back of an Ethernet-connected computer, or if Windows has any other similar reason to believe the entire network has become unreachable.)żļC…G, &€ū€˜€€ćįŸ‰‚’Windows also generates this error if it has given up on the machine at the other end of the connection ever responding to it. If the network between your client and server goes down and your client then tries to send some data, Windows will make several attempts to send the data and will then give up and kill the connection. In particular, this can occur even if you didn't type anything, if you are using SSH-2 and PuTTY attempts a key re-exchange. (See section 4.19.2 for more about key re-exchange.)Ö\EH2 2€­€˜€€€€ćźųĀk‰‚’(It can also occur if you are using keepalives in your connection. Other people have reported that keepalives fix this error for them. See section 4.13.1 for a discussion of the pros and cons of keepalives.)ܶ…GiI& €m€˜€€‚’We are not aware of any reason why this error might occur that would represent a bug in PuTTY. The problem is between you, your Windows system, your network and the remote system.™hHJ1Ä&4X‰4;JhJĘMSection 10.15: ‘Network error: Connection reset by peer’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")f=iIhJ) "€z€€€€‚’Section 10.15: ‘Network error: Connection reset by peer’*J’K& € €˜€€‚’This error occurs when the machines at each end of a network connection lose track of the state of the connection between them. For example, you might see it if your SSH server crashes, and manages to reboot fully before you next attempt to send data to it.c1hJõL2 2€c€˜€€ć;ŒłN‰ćźųĀk‰‚’However, the most common reason to see this message is if you are connecting through a firewall or a NAT router which has timed the connection out. See question A.7.10 in the FAQ for more details. You may be able to improve the situation by using keepalives; see section 4.13.1 for details on this.Ń«’KĘM& €W€˜€€‚’Note that Windows can produce this error in some circumstances without seeing a connection reset from the server, for instance if the connection to the network is lost.“bõLYN17;†45<YN¹Nœ€Section 10.16: ‘Network error: Connection refused’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")`7ĘM¹N) "€n€€€€‚’Section 10.16: ‘Network error: Connection refused’śŌYN³O& €©€˜€€‚’This error means that the network connection PuTTY tried to make to your server was rejected by the server. Usually this happens because the server does not provide the service which PuTTY is trying to access.Ż·¹Nœ€& €o€˜€€‚’Check that you are connecting with the³Oœ€ĘM correct protocol (SSH, Telnet or Rlogin), and check that the port number is correct. If that fails, consult the administrator of your server.•d³O11PX‰4©5=1“…Section 10.17: ‘Network error: Connection timed out’CBB("btn_up","JI(`',`t00000143')");EB("btn_up")b9œ€“) "€r€€€€‚’Section 10.17: ‘Network error: Connection timed out’õ1®‚& €ė€˜€€‚’This error means that the network connection PuTTY tried to make to your server received no response at all from the server. Usually this happens because the server machine is completely isolated from the network, or because it is turned off.»•“iƒ& €+€˜€€‚’Check that you have correctly entered the host name or IP address of your server machine. If that fails, consult the administrator of your server.ꮂ…2 2€Ķ€˜€€ćįŸ‰ćźųĀk‰‚’Unix also generates this error when it tries to send data down a connection and contact with the server has been completely lost during a connection. (There is a delay of minutes before Unix gives up on receiving a reply from the server.) This can occur if you type things into PuTTY while the network is down, but it can also occur if PuTTY decides of its own accord to send data: due to a repeat key exchange in SSH-2 (see section 4.19.2) or due to keepalives (section 4.13.1).p?iƒń…1I5Ī5>ń…4†:ŠAppendix A: PuTTY FAQCBB("btn_up","JI(`',`Top')");EB("btn_up")C…4†) "€4€€€€‚’Appendix A: PuTTY FAQ„_ń…ø†% €¾€˜€€‚’This FAQ is published on the PuTTY web site, and also provided as an appendix in the manual.O 4†‡/ .€@€ć+„łN€€€‰‚’Section A.1: Introduction^/ø†e‡/ .€^€ćN„łN€€€‰‚’Section A.2: Features supported in PuTTYc4‡ȇ/ .€h€ć{„łN€€€‰‚’Section A.3: Ports to other operating systemsd5e‡,ˆ/ .€j€ć„„łN€€€‰‚’Section A.4: Embedding PuTTY in other programs_0ȇ‹ˆ/ .€`€ć©„łN€€€‰‚’Section A.5: Details of PuTTY's operationR#,ˆŻˆ/ .€F€ć¬„łN€€€‰‚’Section A.6: HOWTO questionsR#‹ˆ/‰/ .€F€ćׄłN€€€‰‚’Section A.7: TroubleshootingU&Żˆ„‰/ .€L€ćߊłN€€€‰‚’Section A.8: Security questions[,/‰߉/ .€X€ć‹łN€€€‰‚’Section A.9: Administrative questions[,„‰:Š/ .€X€ć7‹łN€€€‰‚’Section A.10: Miscellaneous questionszI߉“Š1›©55?“ŠūŠO‹Section A.1: IntroductionCBB("btn_up","JI(`',`t00000158')");EB("btn_up")G:ŠūŠ) "€<€€€€‚’Section A.1: IntroductionT%“ŠO‹/ .€J€ćW„łN€€€‰‚’Question A.1.1: What is PuTTY?NūŠĪ‹1wĪ5ī5@Ī‹ŒEQuestion A.1.1: What is PuTTY?CBB("btn_up","JI(`',`t00000159')");EB("btn_up")L#O‹Œ) "€F€€€€‚’Question A.1.1: What is PuTTY?sNĪ‹Œ% €œ€˜€€‚’PuTTY is a client program for the SSH, Telnet and Rlogin network protocols.žŲŒ‹& €±€˜€€‚’These protocols are all used to run a remote session on a computer, over a network. PuTTY implements the client end of that session: the end at which the session is displayed, rather than the end at which it runs.ŗ”ŒE& €)€˜€€‚’In really simple terms: you run PuTTY on a Windows machine, and tell it to connect to (for example) a Unix machine. PuTTY opens a window. Then, anything you type into that window is sent straight to the Unix machine, and everything the Unix machine sends back is displayed in the window. So you can work on the Unix machine as if you were sitting at its console, while actually sitting somewhere else.‰X‹Ī1™5Ŗ…5AĪ0ĄsČSection A.2: Features supported in PuTTYCBB("btn_up","JI(`',`t00000158')");EB("btn_up")V-E0Ą) "€Z€€€€‚’Section Ī0ĄEA.2: Features supported in PuTTY­‡ĪŻĄ& €€˜€€‚’In general, if you want to know if PuTTY supports a particular feature, you should look for it on the PuTTY web site. In particular:O0Ą,Ā4 6€7€T˜‘€8‚€ƒ€€€‚’•try the changes page, and see if you can find the feature on there. If a feature is listed there, it's been implemented. If it's listed as a change made since the latest version, it should be available in the development snapshots, in which case testing will be very welcome.Ż©ŻĄ Ć4 6€S€T˜‘€8‚€ƒ€€€‚’•try the Wishlist page, and see if you can find the feature there. If it's on there, and not in the ‘Recently fixed’ section, it probably hasn't been implemented._0,ĀhĆ/ .€`€ćO„łN€€€‰‚’Question A.2.1: Does PuTTY support SSH-2?”_ ĆüĆ5 :€¾€ćP„łN€€€€€‰‚’Question A.2.2: Does PuTTY support reading OpenSSH or ssh.com SSH-2 private key files?_0hĆ[Ä/ .€`€ćQ„łN€€€‰‚’Question A.2.3: Does PuTTY support SSH-1?d5üĆæÄ/ .€j€ćR„łN€€€‰‚’Question A.2.4: Does PuTTY support local echo?•f[ÄTÅ/ .€Ģ€ćS„łN€€€‰‚’Question A.2.5: Does PuTTY support storing settings, so I don't have to change them every time?}NæÄŃÅ/ .€œ€ćT„łN€€€‰‚’Question A.2.6: Does PuTTY support storing its settings in a disk file?zKTÅKĘ/ .€–€ćU„łN€€€‰‚’Question A.2.7: Does PuTTY support full-screen mode, like a DOS box? qŃÅėĘ/ .€ā€ćV„łN€€€‰‚’Question A.2.8: Does PuTTY have the ability to remember my password so I don't have to type it every time?ƒTKĘnĒ/ .€Ø€ć‚„łN€€€‰‚’Question A.2.9: Is there an option to turn off the annoying host key prompts?`ėĘżĒ/ .€Ą€ćy„łN€€€‰‚’Question A.2.10: Will you write an SSH server for the PuTTY suite, to go with the client?vGnĒsČ/ .€Ž€ćz„łN€€€‰‚’Question A.2.11: Can PSCP or PSFTP transfer files in ASCII mode?ŠYżĒżČ16ī5m†5BżČTÉ3ŹQuestion A.2.1: Does PuTTY support SSH-2?CBB("btn_up","JI(`',`t00000161')");EB("btn_up")W.sČTÉ) "€\€€€€‚’Question A.2.1: Does PuTTY support SSH-2?jEżČ¾É% €Š€˜€€‚’Yes. SSH-2 support has been available in PuTTY since version 0.50.uPTÉ3Ź% € €˜€€‚’Public key authentication (both RSA and DSA) in SSH-2 is new in version 0.52.·†¾ÉźŹ1rŖ…5„‡5CźŹvĖ\ĢQuestion A.2.2: Does PuTTY support reading OpenSSH or ssh.com SSH-2 private key files?CBB("btn_up","JI(`',`t00000161')");EB("btn_up")Œ]3ŹvĖ/ .€ŗ€€€€€ €‚’Question A.2.2: Does PuTTY support reading OpenSSH or ssh.com SSH-2 private key files?ęŗźŹ\Ģ, &€u€˜€€€€‚’PuTTY doesn't support this natively (see the wishlist entry for reasons why not), but as of 0.53 PuTTYgen can convert both OpenSSH and ssh.com private key files into PuTTY's format.ŠYvĖęĢ1Ym†5jˆ5DęĢ=Ķ?ĪQuestion A.2.3: Does PuTTY support SSH-1?CBB("btn_up","JI(`',`t00000161')");EB("btn_up")W.\Ģ=Ķ) "€\€€€€‚’Question A.2.3: Does PuTTY support SSH-1?^9ęĢ›Ķ% €r€˜€€‚’Yes. SSH-1 support has always been available in PuTTY.¤=Ķ?Ī% €ž€˜€€‚’However, the SSH-1 protocol has many weaknesses and is no longer considered secure; it should be avoided if at all possible.^›ĶĪĪ1¹„‡56EĪĪ*Ļ“Question A.2.4: Does PuTTY support local echo?CBB("btn_up","JI(`',`t00000161')");EB("btn_up")\3?Ī*Ļ) "€f€€€€‚’Question A.2.4: Does PuTTY support local echo?\7ĪĪ†Ļ% €n€˜€€‚’Yes. Version 0.52 has proper support for local echo.Õ*Ļ“, &€«€˜€€€€‚’In version 0.51 and before, local echo could not be separated from local line†Ļ“?Ī editing (where you type a line of text locally, and it is not sent to the server until you press Return, so you have the chance to edit it and correct mistakes before the server sees it). New in version 0.52, local echo and local line editing are separate options, and by default PuTTY will try to determine automatically whether to enable them or not, based on which protocol you have selected and also based on hints from the server. If you have a problem with PuTTY's default choice, you can force each option to be enabled or disabled as you choose. The controls are in the Terminal panel, in the section marked ‘Line discipline options’.Ą†ĻS1†jˆ516FSąŁQuestion A.2.5: Does PuTTY support storing settings, so I don't have to change them every time?CBB("btn_up","JI(`',`t00000161')");EB("btn_up")d“ą) "€Č€€€€‚’Question A.2.5: Does PuTTY support storing settings, so I don't have to change them every time?łĶSŁ, &€›€˜€€ć}§B‰‚’Yes, all of PuTTY's settings can be saved in named session profiles. You can also change the default settings that are used for new sessions. See section 4.1.2 in the documentation for how to do this.Øwą1 6é6GöQuestion A.2.6: Does PuTTY support storing its settings in a disk file?CBB("btn_up","JI(`',`t00000161')");EB("btn_up")uLŁö) "€˜€€€€‚’Question A.2.6: Does PuTTY support storing its settings in a disk file?—l+ &€Ų€˜€€ćÅłN‰‚’Not at present, although section 4.28 in the documentation gives a method of achieving the same effect.„tö21Å16`6H2¤÷Question A.2.7: Does PuTTY support full-screen mode, like a DOS box?CBB("btn_up","JI(`',`t00000161')");EB("btn_up")rI¤) "€’€€€€‚’Question A.2.7: Does PuTTY support full-screen mode, like a DOS box?S.2÷% €\€˜€€‚’Yes; this is a new feature in version 0.52.Ėš¤Ā1Šé6d6IĀZ ’ Question A.2.8: Does PuTTY have the ability to remember my password so I don't have to type it every time?CBB("btn_up","JI(`',`t00000161')");EB("btn_up")˜o÷Z ) "€Ž€€€€‚’Question A.2.8: Does PuTTY have the ability to remember my password so I don't have to type it every time?7Ā‘ % €$€˜€€‚’No, it doesn't.ŚZ ‘ & €µ€˜€€‚’Remembering your password is a bad plan for obvious security reasons: anyone who gains access to your machine while you're away from your desk can find out the remembered password, and use it, abuse it or change it.½‘‘ N , &€#€˜€€€€‚’In addition, it's not even possible for PuTTY to automatically send your password in a Telnet session, because Telnet doesn't give the client software any indication of which part of the login process is the password prompt. PuTTY would have to guess, by looking for words like ‘password’ in the session data; and if your login program is written in something other than English, this won't work.D‘ ’ , &€1€˜€€ćĪƒłN‰‚’In SSH, remembering your password would be possible in theory, but there doesn't seem to be much point since SSH supports public key authentication, which is more flexible and more secure. See chapter 8 in the documentation for a full discussion of public key authentication.®}N @1 `6§…6J@»ŁGQuestion A.2.9: Is there an option to turn off the annoying host key prompts?CBB("btn_up","JI(`',`t00000161')");EB("btn_up"){R’ ») "€¤€€€€‚’Question A.2.9: Is there an option to turn off the annoying host key prompts?•p@P% €ą€˜€€‚’No, there isn't. And there won't be. Even if you write it yourself and send us the patch, we won't accept it.4»A, &€€˜€€€€‚’Those annoying host key prompts are the whole point of SSH. Without them, all the cryptographic technology SSH uses to secure youPA’ r session is doing nothing more than making an attacker's job slightly harder; instead of sitting between you and the server with a packet sniffer, the attacker must actually subvert a router and start modifying the packets going back and forth. But that's not all that much harder than just sniffing; and without host key checking, it will go completely undetected by client or server.«sP;D8 >€ē€˜€€€€€€€€‚’Host key checking is your guarantee that the encryption you put on your data at the client end is the same encryption taken off the data at the server end; it's your guarantee that it hasn't been removed and replaced somewhere on the way. Host key checking makes the attacker's job astronomically hard, compared to packet sniffing, and even compared to subverting a router. Instead of applying a little intelligence and keeping an eye on Bugtraq, the attacker must now perform a brute-force attack against at least one military-strength cipher. That insignificant host key prompt really does make that much difference.ˆVAĆF2 2€­€˜€€€€€€‚’If you're having a specific problem with host key checking - perhaps you want an automated batch job to make use of PSCP or Plink, and the interactive host key prompt is hanging the batch process - then the right way to fix it is to add the correct host key to the Registry in advance, or if the Registry is not available, to use the -hostkey command-line option. That way, you retain the important feature of host key checking: the right key will be accepted and the wrong ones will not. Adding an option to turn host key checking off completely is the wrong solution and we will not do it.Ž;DŁG8 >€½€˜€€€€€€€€‚’If you have host keys available in the common known_hosts format, we have a script called kh2reg.py to convert them to a Windows .REG file, which can be installed ahead of time by double-clicking or using REGEDIT.ŗ‰ĆF“H1Dd6vˆ6K“HI×KQuestion A.2.10: Will you write an SSH server for the PuTTY suite, to go with the client?CBB("btn_up","JI(`',`t00000161')");EB("btn_up")‡^ŁGI) "€¼€€€€‚’Question A.2.10: Will you write an SSH server for the PuTTY suite, to go with the client?&“H@J& €€˜€€‚’No. The only reason we might want to would be if we could easily re-use existing code and significantly cut down the effort. We don't believe this is the case; there just isn't enough common ground between an SSH client and server to make it worthwhile.—qI×K& €ć€˜€€‚’If someone else wants to use bits of PuTTY in the process of writing a Windows SSH server, they'd be perfectly welcome to of course, but I really can't see it being a lot less effort for us to do that than it would be for us to write a server from the ground up. We don't have time, and we don't have motivation. The code is available if anyone else wants to try it.”p@JxL1N§…6*Š6LxLęLĘNQuestion A.2.11: Can PSCP or PSFTP transfer files in ASCII mode?CBB("btn_up","JI(`',`t00000161')");EB("btn_up")nE×KęL) "€Š€€€€‚’Question A.2.11: Can PSCP or PSFTP transfer files in ASCII mode?:xL M% €*€˜€€‚’Unfortunately not.ļÉęLN& €“€˜€€‚’Until recently, this was a limitation of the file transfer protocols: the SCP and SFTP protocols had no notion of transferring a file in anything other than binary mode. (This is still true of SCP.)·‘ MĘN& €#€˜€€‚’The current draft protocol spec of SFTP proposes a means of implementing ASCII transfer. At some point PSCP/PSFTP may implement this proposal.Ž]NTO1µvˆ6$7MTOÆO…Section A.3: Ports to other operating systemsCBB("btn_up","JI(`',`t00000158')");EB("btn_up")[2ĘNÆO) "€d€€€€‚’Section A.3: Ports to other operating systems˜sTOS€% €ę€˜€€‚’The eventual goal is for PuTTY to be a multÆOS€ĘNi-platform program, able to run on at least Windows, Mac OS and Unix.~XÆOс& €±€˜€€‚’Porting will become easier once PuTTY has a generalised porting layer, drawing a clear line between platform-dependent and platform-independent code. The general intention was for this porting layer to evolve naturally as part of the process of doing the first port; a Unix port has now been released and the plan seems to be working so far.`1S€1‚/ .€b€ć|„łN€€€‰‚’Question A.3.1: What ports of PuTTY exist?^/с‚/ .€^€ć}„łN€€€‰‚’Question A.3.2: Is there a port to Unix?zK1‚ ƒ/ .€–€ć~„łN€€€‰‚’Question A.3.3: What's the point of the Unix port? Unix has OpenSSH.uF‚~ƒ/ .€Œ€ć„łN€€€‰‚’Question A.3.4: Will there be a port to Windows CE or PocketPC?e6 ƒćƒ/ .€l€ć€„łN€€€‰‚’Question A.3.5: Is there a port to Windows 3.1?f7~ƒI„/ .€n€ć„łN€€€‰‚’Question A.3.6: Will there be a port to the Mac?c4ćƒ¬„/ .€h€ć­„łN€€€‰‚’Question A.3.7: Will there be a port to EPOC?i:I„…/ .€t€ć¤„łN€€€‰‚’Question A.3.8: Will there be a port to the iPhone?‹Z¬„ …1œ*Š6ž7N …ų…<‹Question A.3.1: What ports of PuTTY exist?CBB("btn_up","JI(`',`t00000173')");EB("btn_up")X/…ų…) "€^€€€€‚’Question A.3.1: What ports of PuTTY exist?zN …r‡, &€€˜€€ć€„łN‰‚’Currently, release versions of PuTTY tools only run on full Win32 systems and Unix. ‘Win32’ includes versions of Windows from Windows 95 onwards (as opposed to the 16-bit Windows 3.1; see question A.3.5), up to and including Windows 7; and we know of no reason why PuTTY should not continue to work on future versions of Windows.[5ų…Ķˆ& €k€˜€€‚’The Windows executables we provide are for the 32-bit ‘x86’ processor architecture, but they should work fine on 64-bit processors that are backward-compatible with that architecture. (We used to also provide executables for Windows for the Alpha processor, but stopped after 0.58 due to lack of interest.)‚Wr‡O‰+ &€®€˜€€ć„łN‰‚’In the development code, partial ports to the Mac OSes exist (see question A.3.6).xGĶˆĒ‰1 2€Ž€˜€€€€ć„łN‰‚’Currently PuTTY does not run on Windows CE (see question A.3.4).ėÅO‰²Š& €‹€˜€€‚’We do not have release-quality ports for any other systems at the present time. If anyone told you we had an EPOC port, or an iPaq port, or any other port of PuTTY, they were mistaken. We don't.ŠeĒ‰<‹% €Ź€˜€€‚’There are some third-party ports to various platforms, mentioned on the Links page of our website.‰X²Šŋ1%$7€7OŋŒ ĄQuestion A.3.2: Is there a port to Unix?CBB("btn_up","JI(`',`t00000173')");EB("btn_up")V-<‹Œ) "€Z€€€€‚’Question A.3.2: Is there a port to Unix?—rŋ²Œ% €ä€˜€€‚’As of 0.54, there are Unix ports of most of the traditional PuTTY tools, and also one entirely new application.ö¬Œ؎J b€Y€˜€€€€€€€€€€€€€€‚’If you look at the source release, you should find a unix subdirectory. There are a couple of ways of building it, including the usual configure/make; see the file README in the source distribution. This should build you Unix ports of Plink, PuTTY itself, PuTTYgen, PSCP, PSFTP, and also pterm - an xterm-type program which supports the same terminal emulation as PuTTY. We do not yet have a Unix port of Pageant.xS²Œ % €¦€˜€€‚’If you don't have Gtk, you should still be able to build the command-line tools.Ź¤ØŽ Ą& €I€˜€€‚’Note that Unix PuTTY has mostly only been tested on Linux so far; portability problems such as BSD-style ptys or different header file requirements are expected.  Ą<‹„t ±Ą1æž7„7P±Ą#ĮpÅQuestion A.3.3: What's the point of the Unix port? Unix has OpenSSH.CBB("btn_up","JI(`',`t00000173')");EB("btn_up")rI Ą#Į) "€’€€€€‚’Question A.3.3: What's the point of the Unix port? Unix has OpenSSH.&ō±ĄIĆ2 2€é€˜€€€€€€‚’All sorts of little things. pterm is directly useful to anyone who prefers PuTTY's terminal emulation to xterm's, which at least some people do. Unix Plink has apparently found a niche among people who find the complexity of OpenSSL makes OpenSSH hard to install (and who don't mind Plink not having as many features). Some users want to generate a large number of SSH keys on Unix and then copy them all into PuTTY, and the Unix PuTTYgen should allow them to automate that conversion process.@#Į‰Ä, &€)€˜€€€€‚’There were development advantages as well; porting PuTTY to Unix was a valuable path-finding effort for other future ports, and also allowed us to use the excellent Linux tool Valgrind to help with debugging, which has already improved PuTTY's stability on all platforms.ēĮIĆpÅ& €ƒ€˜€€‚’However, if you're a Unix user and you can see no reason to switch from OpenSSH to PuTTY/Plink, then you're probably right. We don't expect our Unix port to be the right thing for everybody. o‰ÄĘ1œ€74…7QĘ}ʬĒQuestion A.3.4: Will there be a port to Windows CE or PocketPC?CBB("btn_up","JI(`',`t00000173')");EB("btn_up")mDpÅ}Ę) "€ˆ€€€€‚’Question A.3.4: Will there be a port to Windows CE or PocketPC?¼–Ę9Ē& €-€˜€€‚’We have done some work on such a port, but it only reached an early stage, and certainly not a useful one. It's no longer being actively worked on.sH}ʬĒ+ &€€˜€€€€‚’However, there's a third-party port at http://www.pocketputty.net/._9Ē<Č1¦„7:ˆ7R<Č™ČāĖQuestion A.3.5: Is there a port to Windows 3.1?CBB("btn_up","JI(`',`t00000173')");EB("btn_up")]4¬Ē™Č) "€h€€€€‚’Question A.3.5: Is there a port to Windows 3.1?Ü<Č”É, &€¹€˜€€€€‚’PuTTY is a 32-bit application from the ground up, so it won't run on Windows 3.1 as a native 16-bit program; and it would be very hard to port it to do so, because of Windows 3.1's vile memory allocation mechanisms.¬†™ČMĖ& € €˜€€‚’However, it is possible in theory to compile the existing PuTTY source in such a way that it will run under Win32s (an extension to Windows 3.1 to let you run 32-bit programs). In order to do this you'll need the right kind of C compiler - modern versions of Visual C at least have stopped being backwards compatible to Win32s. Also, the last time we tried this it didn't work very well.•p”ÉāĖ% €ą€˜€€‚’If you're interested in running PuTTY under Windows 3.1, help and testing in this area would be very welcome!‘`MĖsĢ1į4…7EŠ7SsĢŃĢTĻQuestion A.3.6: Will there be a port to the Mac?CBB("btn_up","JI(`',`t00000173')");EB("btn_up")^5āĖŃĢ) "€j€€€€‚’Question A.3.6: Will there be a port to the Mac?S.sĢ$Ķ% €\€˜€€‚’There are several answers to this question:ƒVŃĢ§Ķ- *€¬€T˜‘€8‚€ƒ€‚’•The Unix/Gtk port is already fully working under Mac OS X as an X11 application.ļ$ĶÄĪ. *€ß€T˜‘€8‚€ƒ€‚’•A native (Cocoa) Mac OS X port has been started. It's just about usable, but is of nowhere near release quality yet, and is likely to behave in unexpected ways. Currently it's unlikely to be completed unless someone steps in to help.c§ĶTĻ- *€Ę€T˜‘€8‚€ƒ€‚’•A separate port to the classic Mac OS (pre-OSX) is also in progress; it too is not ready yet.Ž]ÄĪ 1:ˆ7¢8T g(Question A.3.7: Will there be a port to EPOC?CBB("btn_up","JI(`',`t00000173')");EB("btn_up")TĻ TĻĻg) "€d€€€€‚’Question A.3.7: Will there be a port to EPOC? ō ‡, &€é€˜€€€€‚’I hope so, but given that ports aren't really progressing very fast even on systems the developers do already know how to program for, it might be a long time before any of us get round to learning a new system and doing the port for that.”|g(% €ų€˜€€‚’However, some of the work has been done by other people; see the Links page of our website for various third-party ports.”c‡¼1»EŠ7Ö8U¼wQuestion A.3.8: Will there be a port to the iPhone?CBB("btn_up","JI(`',`t00000173')");EB("btn_up")a8() "€p€€€€‚’Question A.3.8: Will there be a port to the iPhone?!õ¼>, &€ė€˜€€ć„łN‰‚’We have no plans to write such a port ourselves; none of us has an iPhone, and developing and publishing applications for it looks awkward and expensive. Such a port would probably depend upon the stalled Mac OS X port (see question A.3.6).9w2 2€€˜€€€€ć}„łN‰‚’However, there is a third-party SSH client for the iPhone and iPod Touch called pTerm, which is apparently based on PuTTY. (This is nothing to do with our similarly-named pterm, which is a standalone terminal emulator for Unix systems; see question A.3.2.)^>1å¢88VbėSection A.4: Embedding PuTTY in other programsCBB("btn_up","JI(`',`t00000158')");EB("btn_up")\3wb) "€f€€€€‚’Section A.4: Embedding PuTTY in other programssDÕ/ .€ˆ€ć¦„łN€€€‰‚’Question A.4.1: Is the SSH or Telnet code available as a DLL?†Wb[/ .€®€ć§„łN€€€‰‚’Question A.4.2: Is the SSH or Telnet code available as a Visual Basic component?aÕė/ .€Ā€ć؄łN€€€‰‚’Question A.4.3: How can I use PuTTY to make an SSH connection from within another program?žm[‰1aÖ8Ģ8W‰ōź Question A.4.1: Is the SSH or Telnet code available as a DLL?CBB("btn_up","JI(`',`t00000182')");EB("btn_up")kBėō) "€„€€€€‚’Question A.4.1: Is the SSH or Telnet code available as a DLL? 剒 & €Ė€˜€€‚’No, it isn't. It would take a reasonable amount of rewriting for this to be possible, and since the PuTTY project itself doesn't believe in DLLs (they make installation more error-prone) none of us has taken the time to do it.§ō¦ & €€˜€€‚’Most of the code cleanup work would be a good thing to happen in general, so if anyone feels like helping, we wouldn't say no.D’ ź % €>€˜€€‚’See also the wishlist entry.±€¦ › 1·8 8X›  RQuestion A.4.2: Is the SSH or Telnet code available as a Visual Basic component?CBB("btn_up","JI(`',`t00000182')");EB("btn_up")~Uź  ) "€Ŗ€€€€‚’Question A.4.2: Is the SSH or Telnet code available as a Visual Basic component?V0› o & €a€˜€€‚’No, it isn't. None of the PuTTY team uses Visual Basic, and none of us has any particular need to make SSH connections from a Visual Basic application. In addition, all the preliminary work to turn it into a DLL would be necessary first; and furthermore, we don't even know how to write VB components.ć½ R& €{€˜€€‚’If someone offers to do some of this work for us, we might consider it, but unless that happens I can't see VB integration being anywhere other than the very bottom of our priority list.»Šo  1DĢ82€8Y •]AQuestion A.4.3: How can I use PuTTY to make an SSH connection from within another program?CBB("btn_up","JI(`',`t00000182')");EB("btn_up")ˆ_R•) "€¾€€€€‚’Question A.4.3: How can I use PuTTY to make an SSH connection from within another program?e? A& €€˜€€‚’Probably your best bet is to use Plink, the command-line connection •ARtool. If you can start Plink as a second Windows process, and arrange for your primary process to be able to send data to the Plink process, and receive data from it, through pipes, then you should be able to make SSH connections from your program.W2•]A% €d€˜€€‚’This is what CVS for Windows does, for example.ŠYAēA1% 8Š€8ZēA>B CSection A.5: Details of PuTTY's operationCBB("btn_up","JI(`',`t00000158')");EB("btn_up")W.]A>B) "€\€€€€‚’Section A.5: Details of PuTTY's operationh9ēA¦B/ .€r€ćŖ„łN€€€‰‚’Question A.5.1: What terminal type does PuTTY use?f7>B C/ .€n€ć«„łN€€€‰‚’Question A.5.2: Where does PuTTY store its data?“b¦BŸC12€8*ƒ8[ŸC’C·FQuestion A.5.1: What terminal type does PuTTY use?CBB("btn_up","JI(`',`t00000186')");EB("btn_up")`7 C’C) "€n€€€€‚’Question A.5.1: What terminal type does PuTTY use?sHŸCrD+ &€€˜€€€€‚’For most purposes, PuTTY can be considered to be an xterm terminal.R’CÄE8 >€5€˜€€€€€€€€‚’PuTTY also supports some terminal control sequences not supported by the real xterm: notably the Linux console sequences that reconfigure the colour palette, and the title bar control sequences used by DECterm (which are different from the xterm ones; PuTTY supports both).óĮrD·F2 2€ƒ€˜€€€€€€‚’By default, PuTTY announces its terminal type to the server as xterm. If you have a problem with this, you can reconfigure it to say something else; vt220 might help if you have trouble.‘`ÄEHG1Š€8ń†8\HG¦GZLQuestion A.5.2: Where does PuTTY store its data?CBB("btn_up","JI(`',`t00000186')");EB("btn_up")^5·F¦G) "€j€€€€‚’Question A.5.2: Where does PuTTY store its data?šuHG@H% €ź€˜€€‚’On Windows, PuTTY stores most of its data (saved sessions, SSH host keys) in the Registry. The precise location isT/¦G”H% €^€˜€€‚’HKEY_CURRENT_USER\Software\SimonTatham\PuTTY¤s@H8I1 2€ę€˜€€€€€€‚’and within that area, saved sessions are stored under Sessions while host keys are stored under SshHostKeys.äø”HK, &€q€˜€€€€‚’PuTTY also requires a random number seed file, to improve the unpredictability of randomly chosen data needed as part of the SSH cryptography. This is stored by default in a file called PUTTY.RND; this is stored by default in the ‘Application Data’ directory, or failing that, one of a number of fallback locations. If you want to change the location of the random number seed file, you can put your chosen pathname in the Registry, ata<8I}K% €x€˜€€‚’HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\RandSeedFilenCKėK+ &€†€˜€€ćįŠłN‰‚’You can ask PuTTY to delete all this data; see question A.8.2.oD}KZL+ &€ˆ€˜€€€€‚’On Unix, PuTTY stores all of this data in a directory ~/.putty.}LėK×L1-*ƒ8U9]×L!M‚Section A.6: HOWTO questionsCBB("btn_up","JI(`',`t00000158')");EB("btn_up")J!ZL!M) "€B€€€€‚’Section A.6: HOWTO questionsn?×LM/ .€~€ćŲ„łN€€€‰‚’Question A.6.1: What login name / password should I use?}N!M N/ .€œ€ćĻ„łN€€€‰‚’Question A.6.2: What commands can I type into my PuTTY terminal window?n?MzN/ .€~€ćŠ„łN€€€‰‚’Question A.6.3: How can I make PuTTY start up maximised?—h NO/ .€Š€ćфłN€€€‰‚’Question A.6.4: How can I create a Windows shortcut to start a particular saved session directly?„UzN•O/ .€Ŗ€ćŅ„łN€€€‰‚’Question A.6.5: How can I start an SSH session straight from the command line?‹\O,€/ .€ø€ćӄłN€€€‰‚’Question A.6.6: How do I copy and paste between PuTTY an•O,€ZLd other Windows applications?²‚•OŽ€0 .€€ćŌ„łN€€€‰‚’Question A.6.7: How do I use all PuTTY's features (public keys, proxying, cipher selection, etc.) in PSCP, PSFTP and Plink?²‚,€0 .€€ćՄłN€€€‰‚’Question A.6.8: How do I use PSCP.EXE? When I double-click it gives me a command prompt window which then closes instantly.€QŽ€‚/ .€¢€ćքłN€€€‰‚’Question A.6.9: How do I use PSCP to copy a file whose name has spaces in?™h©‚1hń†89^©‚ƒ†Question A.6.1: What login name / password should I use?CBB("btn_up","JI(`',`t00000189')");EB("btn_up")f=‚ƒ) "€z€€€€‚’Question A.6.1: What login name / password should I use?_4©‚nƒ+ &€h€˜€€€€‚’This is not a question you should be asking us.|Pƒź„, &€”€˜€€€€‚’PuTTY is a communications tool, for making connections to other computers. We maintain the tool; we don't administer any computers that you're likely to be able to use, in the same way that the people who make web browsers aren't responsible for most of the content you can view in them. We cannot help with questions of this sort.'nƒ†& €€˜€€‚’If you know the name of the computer you want to connect to, but don't know what login name or password to use, you should talk to whoever administers that computer. If you don't know who that is, see the next question for some possible ways to find out.Øwź„¹†1HU9Œ 9_¹†.‡ŽQuestion A.6.2: What commands can I type into my PuTTY terminal window?CBB("btn_up","JI(`',`t00000189')");EB("btn_up")uL†.‡) "€˜€€€€‚’Question A.6.2: What commands can I type into my PuTTY terminal window?Īœ¹†ü‡2 2€9€˜€€€€€€‚’Again, this is not a question you should be asking us. You need to read the manuals, or ask the administrator, of the computer you have connected to.ģĘ.‡č‰& €€˜€€‚’PuTTY does not process the commands you type into it. It's only a communications tool. It makes a connection to another computer; it passes the commands you type to that other computer; and it passes the other computer's responses back to you. Therefore, the precise range of commands you can use will not depend on PuTTY, but on what kind of computer you have connected to and what software is running on it. The PuTTY team cannot help you with that.k?ü‡S‹, &€€˜€€€€‚’(Think of PuTTY as being a bit like a telephone. If you phone somebody up and you don't know what language to speak to make them understand you, it isn't the telephone company's job to find that out for you. We just provide the means for you to get in touch; making yourself understood is somebody else's problem.)®ˆč‰Ž& €€˜€€‚’If you are unsure of where to start looking for the administrator of your server, a good place to start might be to remember how you found out the host name in the PuTTY configuration. If you were given that host name by e-mail, for example, you could try asking the person who sent you that e-mail. If your company's IT department provided you with ready-made PuTTY saved sessions, then that IT department can probably also tell you something about what commands you can type during those sessions. But the PuTTY maintainer team does not administer any server you are likely to be connecting to, and cannot help you with questions of this type.™hS‹šŽ1Ū9 9`šŽuQuestion A.6.3: How can I make PuTTY start up maximised?CBB("btn_up","JI(`',`t00000189')");EB("btn_up")f=Ž) "€z€€€€‚’Question A.6.3: How can I make PuTTY start up maximised?uPšŽu% € €˜€€‚’Create a Windows shortcut to start PuTTY from, and set it as ‘Run Maximized’.Ā‘CĄ1'Œ 9‚9aCĄŅĄjĀQuestion A.6.4: How can I create a Windows shortcut to start a particular saved session diuCĄurectly?CBB("btn_up","JI(`',`t00000189')");EB("btn_up")fuŅĄ) "€Ģ€€€€‚’Question A.6.4: How can I create a Windows shortcut to start a particular saved session directly?ƃCĄĮ, &€€˜€€€€‚’To run a PuTTY session saved under the name ‘mysession’, create a Windows shortcut that invokes PuTTY with a command line likeQ,ŅĄŅĮ% €X€˜€€‚’\path\name\to\putty.exe -load "mysession"˜mĮjĀ+ &€Ś€˜€€€€‚’(Note: prior to 0.53, the syntax was @session. This is now deprecated and may be removed at some point.)Æ~ŅĮĆ1^ 9…‚9bĆ•ĆwÄQuestion A.6.5: How can I start an SSH session straight from the command line?CBB("btn_up","JI(`',`t00000189')");EB("btn_up")|SjĀ•Ć) "€¦€€€€‚’Question A.6.5: How can I start an SSH session straight from the command line?ā°ĆwÄ2 2€a€˜€€€€ćфłN‰‚’Use the command line putty -ssh host.name. Alternatively, create a saved session that specifies the SSH protocol, and start the saved session as shown in question A.6.4.¶…•Ć-Å1g‚9F†9c-Å°Å”ÉQuestion A.6.6: How do I copy and paste between PuTTY and other Windows applications?CBB("btn_up","JI(`',`t00000189')");EB("btn_up")ƒZwÄ°Å) "€“€€€€‚’Question A.6.6: How do I copy and paste between PuTTY and other Windows applications?+ł-ÅŪĒ2 2€ó€˜€€€€€€‚’Copy and paste works similarly to the X Window System. You use the left mouse button to select text in the PuTTY window. The act of selection automatically copies the text to the clipboard: there is no need to press Ctrl-Ins or Ctrl-C or anything else. In fact, pressing Ctrl-C will send a Ctrl-C character to the other end of your connection (just like it does the rest of the time), which may have unpleasant effects. The only thing you need to do, to copy text to the clipboard, is to select it.hB°ÅCÉ& €…€˜€€‚’To paste the clipboard contents into a PuTTY window, by default you click the right mouse button. If you have a three-button mouse and are used to X applications, you can configure pasting to be done by the middle button instead, but this is not the default because most Windows users don't have a middle button at all.Q,ŪĒ”É% €X€˜€€‚’You can also paste by pressing Shift-Ins.Ü«CÉpŹ1ī…‚9æˆ9dpŹĖ^ĶQuestion A.6.7: How do I use all PuTTY's features (public keys, proxying, cipher selection, etc.) in PSCP, PSFTP and Plink?CBB("btn_up","JI(`',`t00000189')");EB("btn_up")Ŗ€”ÉĖ* "€€€€€‚’Question A.6.7: How do I use all PuTTY's features (public keys, proxying, cipher selection, etc.) in PSCP, PSFTP and Plink?£~pŹ½Ė% €ü€˜€€‚’Most major features (e.g., public keys, port forwarding) are available through command line options. See the documentation.”{Ė^Ķ& €÷€˜€€‚’Not all features are accessible from the command line yet, although we'd like to fix this. In the meantime, you can use most of PuTTY's features if you create a PuTTY saved session, and then use the name of the saved session on the command line in place of a hostname. This works for PSCP, PSFTP and Plink (but don't expect port forwarding in the file transfer applications!).Ü«½Ė:Ī1F†9:e:ĪäĪFQuestion A.6.8: How do I use PSCP.EXE? When I double-click it gives me a command prompt window which then closes instantly.CBB("btn_up","JI(`',`t00000189')");EB("btn_up")Ŗ€^ĶäĪ* "€€€€€‚’Question A.6.8: How do I use PSCP.EXE? When I double-click it gives me a command prompt window which then closes instantly.·‘:Ī›Ļ& €#€˜€€‚’PSCP is a command-line application, not a GUI application. If you run it without arguments, it will simply print a help message and terminate.ŸtäĪF+ &€č€˜€€ć€ÅłN‰‚’To use PSCP properly, run it from a Command Prompt window›ĻF^Ķ. See chapter 5 in the documentation for more details.«z›Ļń1‰æˆ9+:fńizQuestion A.6.9: How do I use PSCP to copy a file whose name has spaces in?CBB("btn_up","JI(`',`t00000189')");EB("btn_up")xOFi) "€ž€€€€‚’Question A.6.9: How do I use PSCP to copy a file whose name has spaces in?Ń«ń:& €W€˜€€‚’If PSCP is using the traditional SCP protocol, this is confusing. If you're specifying a file at the local end, you just use one set of quotes as you would normally do:S/i$ €^€€€‚’pscp "local filename with spaces" user@host:Z5:ē% €j€˜€€‚’pscp user@host:myfile "local filename with spaces" u‡+ &€ź€˜€€€€‚’But if the filename you're specifying is on the remote side, you have to use backslashes and two sets of quotes:fBēķ$ €„€€€‚’pscp user@host:"\"remote filename with spaces\"" local_filenamegB‡T% €„€˜€€‚’pscp local_filename user@host:"\"remote filename with spaces\""ļķo, &€ß€˜€€€€‚’Worse still, in a remote-to-local copy you have to specify the local file name explicitly, otherwise PSCP will complain that they don't match (unless you specified the -unsafe option). The following command will give an error message:G#T¶$ €F€€€‚’c:\>pscp user@host:"\"oo er\"" .c?o$ €~€€€‚’warning: remote host tried to write to a file called 'oo er'[6¶t% €l€˜€€‚’ when we requested a file called '"oo er"'.a<Õ% €x€˜€€‚’Instead, you need to specify the local file name in full:N)t#% €R€˜€€‚’c:\>pscp user@host:"\"oo er\"" "oo er"ĪØÕń& €Q€˜€€‚’If PSCP is using the newer SFTP protocol, none of this is a problem, and all filenames with spaces in are specified using a single pair of quotes in the obvious way:C#4$ €>€€€‚’pscp "local file" user@host:F!ńz% €B€˜€€‚’pscp user@host:"remote file" .}L4÷1Č:M…:g÷A ÕGSection A.7: TroubleshootingCBB("btn_up","JI(`',`t00000158')");EB("btn_up")J!zA ) "€B€€€€‚’Section A.7: TroubleshootingvG÷· / .€Ž€ć<ŒłN€€€‰‚’Question A.7.1: Why do I see ‘Incorrect MAC received on packet’?Œ]A C / .€ŗ€ć3ŒłN€€€‰‚’Question A.7.2: Why do I see ‘Fatal: Protocol error: Expected control record’ in PSCP?žo· į / .€Ž€ć4ŒłN€€€‰‚’Question A.7.3: I clicked on a colour in the Colours panel, and the colour didn't change in my terminal.€KC a 5 :€–€ć5ŒłN€€€€€‰‚’Question A.7.4: Plink on Windows 95 says it can't find WS2_32.DLL.™jį ś / .€Ō€ć6ŒłN€€€‰‚’Question A.7.5: After trying to establish an SSH-2 connection, PuTTY says ‘Out of memory’ and dies.ška ” / .€Ö€ć7ŒłN€€€‰‚’Question A.7.6: When attempting a file transfer, either PSCP or PSFTP says ‘Out of memory’ and dies.rCś  / .€†€ć8ŒłN€€€‰‚’Question A.7.7: PSFTP transfers files much slower than PSCP.®” “ / .€ž€ć9ŒłN€€€‰‚’Question A.7.8: When I run full-colour applications, I see areas of black space where colour ought to be, or vice versa.|M 0/ .€š€ć:ŒłN€€€‰‚’Question A.7.9: When I change some terminal settings, nothing happens.Œ]“ ¼/ .€ŗ€ć;ŒłN€€€‰‚’Question A.7.10: My PuTTY sessions unexpectedly close after they are idle for a while.¦w0b/ .€ī€ć¹ŠłN€€€‰‚’Question A.7.11: PuTTY's network connections time out too quickly when network connectivity is temporarily lost.”_¼ @5 :€¾€ć°ŠłN€€€€€‰‚’Question A.7.12: When I cat a binary file, I get ‘PuTTYPuTTYPuTTY’ on my command line.b @z–ab¢@5 :€Ā€ć±ŠłN€€€€€‰‚’Question A.7.13: When I cat a binary file, my window title changes to a nonsense string.‰Z @+A/ .€“€ć²ŠłN€€€‰‚’Question A.7.14: My keyboard stops working once PuTTY displays the password prompt.—h¢@ĀA/ .€Š€ć³ŠłN€€€‰‚’Question A.7.15: One or more function keys don't do what I expected in a server-side application.£t+AeB/ .€č€ć“ŠłN€€€‰‚’Question A.7.16: Since my SSH server was upgraded to OpenSSH 3.1p1/3.4p1, I can no longer connect with PuTTY.„vĀA C/ .€ģ€ćµŠłN€€€‰‚’Question A.7.17: Why do I see ‘Couldn't load private key from ...’? Why can PuTTYgen load my key but not PuTTY? qeBŖC/ .€ā€ć¶ŠłN€€€‰‚’Question A.7.18: When I'm connected to a Red Hat Linux 8.0 system, some characters don't display properly.¤o CND5 :€Ž€ć·ŠłN€€€€€‰‚’Question A.7.19: Since I upgraded to PuTTY 0.54, the scrollback has stopped working when I run screen.£nŖCńD5 :€Ü€ćøŠłN€€€€€‰‚’Question A.7.20: Since I upgraded Windows XP to Service Pack 2, I can't use addresses like 127.0.0.2.‡XNDxE/ .€°€ć䊳N€€€‰‚’Question A.7.21: PSFTP commands seem to be missing a directory separator (slash).„UńDüE/ .€Ŗ€ćŪŠłN€€€‰‚’Question A.7.22: Do you want to hear about ‘Software caused connection abort’?‚SxE~F/ .€¦€ć܊łN€€€‰‚’Question A.7.23: My SSH-2 session locks up for a few seconds every so often.”rüEG/ .€ä€ćŻŠłN€€€‰‚’Question A.7.24: PuTTY fails to start up. Windows claims that ‘the application configuration is incorrect’.¶€~FÕG6 :€€ćŽŠłN€€€€€‰‚’Question A.7.25: When I put PuTTY in C:\WINDOWS\SYSTEM32 on my 64-bit Windows system, ‘Duplicate Session’ doesn't work.”pGvH1¼+:<Š:hvHäH2NQuestion A.7.1: Why do I see ‘Incorrect MAC received on packet’?CBB("btn_up","JI(`',`t00000199')");EB("btn_up")nEÕGäH) "€Š€€€€‚’Question A.7.1: Why do I see ‘Incorrect MAC received on packet’?žĢvHāJ2 2€™€˜€€€€ć#„łN‰‚’One possible cause of this that used to be common is a bug in old SSH-2 servers distributed by ssh.com. (This is not the only possible cause; see section 10.11 in the documentation.) Version 2.3.0 and below of their SSH-2 server constructs Message Authentication Codes in the wrong way, and expects the client to construct them in the same wrong way. PuTTY constructs the MACs correctly by default, and hence these old servers will fail to work with it.BäH$L& €9€˜€€‚’If you are using PuTTY version 0.52 or better, this should work automatically: PuTTY should detect the buggy servers from their version number announcement, and automatically start to construct its MACs in the same incorrect manner as they do, so it will be able to work with them.;āJ_M& €+€˜€€‚’If you are using PuTTY version 0.51 or below, you can enable the workaround by going to the SSH panel and ticking the box labelled ‘Imitate SSH2 MAC bug’. It's possible that you might have to do this with 0.52 as well, if a buggy server exists that PuTTY doesn't know about.Ó­$L2N& €[€˜€€‚’In this context MAC stands for Message Authentication Code. It's a cryptographic term, and it has nothing at all to do with Ethernet MAC (Media Access Control) addresses.·†_MéN1–M…:Ž;iéNmO‹‚Question A.7.2: Why do I see ‘Fatal: Protocol error: Expected control record’ in PSCP?CBB("btn_up","JI(`',`t00000199')");EB("btn_up")„[2NmO) "€¶€€€€‚’Question A.7.2: Why do I see ‘Fatal: Protocol error: Expected control record’ in PSCP?ܶéNU€& €m€˜€€‚’This happens because PSCP was expecting to see data from the server that was part of the PSCP protocol exchamOU€2Nnge, and instead it saw data that it couldn't make any sense of at all.d2mO¹2 2€e€˜€€€€€€‚’This almost always happens because the startup scripts in your account on the server machine are generating output. This is impossible for PSCP, or any other SCP client, to work around. You should never use startup files (.bashrc, .cshrc and so on) which generate output in non-interactive sessions.Ņ¬U€‹‚& €Y€˜€€‚’This is not actually a PuTTY problem. If PSCP fails in this way, then all other SCP clients are likely to fail in exactly the same way. The problem is at the server end.ɘ¹Tƒ1$<Š:|;jTƒźƒx‡Question A.7.3: I clicked on a colour in the Colours panel, and the colour didn't change in my terminal.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")–m‹‚źƒ) "€Ś€€€€‚’Question A.7.3: I clicked on a colour in the Colours panel, and the colour didn't change in my terminal.`;TƒJ„% €v€˜€€‚’That isn't how you're supposed to use the Colours panel..öźƒx‡8 >€ķ€˜€€€€€€€€‚’During the course of a session, PuTTY potentially uses all the colours listed in the Colours panel. It's not a question of using only one of them and you choosing which one; PuTTY will use them all. The purpose of the Colours panel is to let you adjust the appearance of all the colours. So to change the colour of the cursor, for example, you would select ‘Cursor Colour’, press the ‘Modify’ button, and select a new colour from the dialog box that appeared. Similarly, if you want your session to appear in green, you should select ‘Default Foreground’ and press ‘Modify’. Clicking on ‘ANSI Green’ won't turn your session green; it will only allow you to adjust the shade of green used when PuTTY is instructed by the server to display green text.£rJ„ˆ1½Ž;v;kˆ“ˆŲŠQuestion A.7.4: Plink on Windows 95 says it can't find WS2_32.DLL.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")xIx‡“ˆ/ .€’€€€€€ €‚’Question A.7.4: Plink on Windows 95 says it can't find WS2_32.DLL.ėˆ¤‰& €×€˜€€‚’Plink requires the extended Windows network library, WinSock version 2. This is installed as standard on Windows 98 and above, and on Windows NT, and even on later versions of Windows 95; but early Win95 installations don't have it.€[“ˆ$Š% €¶€˜€€‚’In order to use Plink on these systems, you will need to download the WinSock 2 upgrade:]9¤‰Š$ €r€€€‚’http://www.microsoft.com/windows95/downloads/contents/W2$ŠŲŠ% €d€˜€€‚’ wuadmintools/s_wunetworkingtools/w95sockets2/ēŠœ‹1%|;€;lœ‹-ŒĶĄQuestion A.7.5: After trying to establish an SSH-2 connection, PuTTY says ‘Out of memory’ and dies.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")‘hŲŠ-Œ) "€Š€€€€‚’Question A.7.5: After trying to establish an SSH-2 connection, PuTTY says ‘Out of memory’ and dies.§œ‹Ō& €€˜€€‚’If this happens just while the connection is starting up, this often indicates that for some reason the client and server have failed to establish a session encryption key. Somehow, they have performed calculations that should have given each of them the same key, but have ended up with different keys; so data encrypted by one and decrypted by the other looks like random garbage.ķĮ-ŒĮ, &€ƒ€˜€€€€‚’This causes an ‘out of memory’ error because the first encrypted data PuTTY expects to see is the length of an SSH message. Normally this will be something well under 100 bytes. If the decryption has failed, PuTTY will see a completely random length in the region of two gigabytes, and will try to allocate enough memory to store this non-existent message. This will immediately lead to it thinking it doesn't have enough memory, and panicking.ŚŌĶĄ& €µ€˜€€‚’If this happens to you, ĮĶĄŲŠit is quite likely to still be a PuTTY bug and you should report it (although it might be a bug in your SSH server instead); but it doesn't necessarily mean you've actually run out of memory.ŔĮ’Į1Ēv;„;m’Į$ĀYĘQuestion A.7.6: When attempting a file transfer, either PSCP or PSFTP says ‘Out of memory’ and dies.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")’iĶĄ$Ā) "€Ņ€€€€‚’Question A.7.6: When attempting a file transfer, either PSCP or PSFTP says ‘Out of memory’ and dies.¤x’ĮČĆ, &€ń€˜€€ć6ŒłN‰‚’This is almost always caused by your login scripts on the server generating output. PSCP or PSFTP will receive that output when they were expecting to see the start of a file transfer protocol, and they will attempt to interpret the output as file-transfer protocol. This will usually lead to an ‘out of memory’ error for much the same reasons as given in question A.7.5..ü$ĀöÄ2 2€ł€˜€€€€€€‚’This is a setup problem in your account on your server, not a PSCP/PSFTP bug. Your login scripts should never generate output during non-interactive sessions; secure file transfer is not the only form of remote access that will break if they do.c%ČĆYĘ> J€K€˜€€€€€€€€€€‚’On Unix, a simple fix is to ensure that all the parts of your login script that might generate output are in .profile (if you use a Bourne shell derivative) or .login (if you use a C shell). Putting them in more general files such as .bashrc or .cshrc is liable to lead to problems.löÄöĘ1ŗ€;m…;nöĘ`Ē°ČQuestion A.7.7: PSFTP transfers files much slower than PSCP.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")jAYĘ`Ē) "€‚€€€€‚’Question A.7.7: PSFTP transfers files much slower than PSCP.P*öĘ°Č& €U€˜€€‚’The throughput of PSFTP 0.54 should be much better than 0.53b and prior; we've added code to the SFTP backend to queue several blocks of data rather than waiting for an acknowledgement for each. (The SCP backend did not suffer from this performance issue because SCP is a much simpler protocol.)ŁØ`Ē‰É1å„;ч;o‰É/ŹnĢQuestion A.7.8: When I run full-colour applications, I see areas of black space where colour ought to be, or vice versa.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")¦}°Č/Ź) "€ś€€€€‚’Question A.7.8: When I run full-colour applications, I see areas of black space where colour ought to be, or vice versa.?‰ÉnĖ, &€'€˜€€ćŲĘs¦‰‚’You almost certainly need to change the ‘Use background colour to erase screen’ setting in the Terminal panel. If there is too much black space (the commoner situation), you should enable it, while if there is too much colour, you should disable it. (See section 4.3.5.)Ō/ŹnĢ, &€©€˜€€ć:ŒłN‰‚’In old versions of PuTTY, this was disabled by default, and would not take effect until you reset the terminal (see question A.7.9). Since 0.54, it is enabled by default, and changes take effect immediately.§vnĖĶ1šm…;b<pĶ‰Ķ»Question A.7.9: When I change some terminal settings, nothing happens.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")tKnĢ‰Ķ) "€–€€€€‚’Question A.7.9: When I change some terminal settings, nothing happens.„yĶ.Ļ, &€ó€˜€€€€‚’Some of the terminal options (notably Auto Wrap and background-colour screen erase) actually represent the default setting, rather than the currently active setting. The server can send sequences that modify these options in mid-session, but when the terminal is reset (by server action, or by you choosing ‘Reset Terminal’ from the System menu) the defaults are restored.śŌ‰Ķ4& €©€˜€€‚’In versions 0.53b and prior, if you change one of these options in the middle of a session, you will find that the change does not immediately take effect. It will only ta.Ļ4nĢke effect once you reset the terminal.‡b.Ļ»% €Ä€˜€€‚’In version 0.54, the behaviour has changed - changes to these settings take effect immediately.·†4r1ч;Ņ<qröQuestion A.7.10: My PuTTY sessions unexpectedly close after they are idle for a while.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")„[»ö) "€¶€€€€‚’Question A.7.10: My PuTTY sessions unexpectedly close after they are idle for a while.Dr:& €=€˜€€‚’Some types of firewall, and almost any router doing Network Address Translation (NAT, also known as IP masquerading), will forget about a connection through them if the connection does nothing for too long. This will cause the connection to be rudely cut off when contact is resumed.óöY, &€ē€˜€€€€‚’You can try to combat this by telling PuTTY to send keepalives: packets of data which have no effect on the actual session, but which reassure the router or firewall that the network connection is still active and worth remembering about.6:2 2€ €˜€€€€ćźųĀk‰‚’Keepalives don't solve everything, unfortunately; although they cause greater robustness against this sort of router, they can also cause a loss of robustness against network dropouts. See section 4.13.1 in the documentation for more discussion of this.Ń Y`1b<Ē<r`žš Question A.7.11: PuTTY's network connections time out too quickly when network connectivity is temporarily lost.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")žuž) "€ź€€€€‚’Question A.7.11: PuTTY's network connections time out too quickly when network connectivity is temporarily lost.ģĘ`ź& €€˜€€‚’This is a Windows problem, not a PuTTY problem. The timeout value can't be set on per application or per session basis. To increase the TCP timeout globally, you need to tinker with the Registry.qLž[% €˜€˜€€‚’On Windows 95, 98 or ME, the registry key you need to create or change is`<ź»$ €x€€€‚’HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\>[ł% €2€˜€€‚’ MSTCP\MaxDataRetries {»™ % €ö€˜€€‚’(it must be of type DWORD in Win95, or String in Win98/ME). (See MS Knowledge Base article 158474 for more information.)kFł % €Œ€˜€€‚’On Windows NT, 2000, or XP, the registry key to create or change isb>™ f $ €|€€€‚’HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\N) “ % €R€˜€€‚’ Parameters\TcpMaxDataRetransmissionsŽif B % €Ņ€˜€€‚’and it must be of type DWORD. (See MS Knowledge Base articles 120642 and 314053 for more information.)®ˆ“ š & €€˜€€‚’Set the key's value to something like 10. This will cause Windows to try harder to keep connections alive instead of abandoning them.·†B § 1ąŅ<€<s§ 3 “@Question A.7.12: When I cat a binary file, I get ‘PuTTYPuTTYPuTTY’ on my command line.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")Œ]š 3 / .€ŗ€€€€€ €‚’Question A.7.12: When I cat a binary file, I get ‘PuTTYPuTTYPuTTY’ on my command line.<§ o % €.€˜€€‚’Don't do that, then.×3 r, &€Æ€˜€€€€‚’This is designed behaviour; when PuTTY receives the character Control-E from the remote server, it interprets it as a request to identify itself, and so it sends back the string ‘PuTTY’ as if that string had been entered at the keyboard. Control-E should only be sent by programs that are prepared to deal with the response. Writing a binary file to your terminal is likely to output many Control-E characters, and cause this behaviour. Don't do it. It's a bad plan.éo “@, &€Ó€˜€€ć•Ü.󉂒To mitigate the effects, you could configure the answerback string to be empty (see section 4.3.r“@š 7); but writing binary files to your terminal is likely to cause various other unpleasant behaviour, so this is only a small remedy.¹ˆrLA1ĄĒ<F‚<tLAŚA DQuestion A.7.13: When I cat a binary file, my window title changes to a nonsense string.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")Ž_“@ŚA/ .€¾€€€€€ €‚’Question A.7.13: When I cat a binary file, my window title changes to a nonsense string.<LAB% €.€˜€€‚’Don't do that, then.öŠŚA D& €”€˜€€‚’It is designed behaviour that PuTTY should have the ability to adjust the window title on instructions from the server. Normally the control sequence that does this should only be sent deliberately, by programs that know what they are doing and intend to put meaningful text in the window title. Writing a binary file to your terminal runs the risk of sending the same control sequence by accident, and cause unexpected changes in the window title. Don't do it.“ƒBĄD1:€<„<uĄDAEśFQuestion A.7.14: My keyboard stops working once PuTTY displays the password prompt.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")X DAE) "€°€€€€‚’Question A.7.14: My keyboard stops working once PuTTY displays the password prompt.§ĄDčE& €€˜€€‚’No, it doesn't. PuTTY just doesn't display the password you type, so that someone looking at your screen can't see what it is.ęAEśF, &€Ķ€˜€€€€‚’Unlike the Windows login prompts, PuTTY doesn't display the password as a row of asterisks either. This is so that someone looking at your screen can't even tell how long your password is, which might be valuable information.Ā‘čE¼G1–F‚<„Š<v¼GKHROQuestion A.7.15: One or more function keys don't do what I expected in a server-side application.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")fśFKH) "€Ģ€€€€‚’Question A.7.15: One or more function keys don't do what I expected in a server-side application.Ŗ„¼GõH& € €˜€€‚’If you've already tried all the relevant options in the PuTTY Keyboard panel, you may need to mail the PuTTY maintainers and ask.AKH6J, &€+€˜€€€€‚’It is not usually helpful just to tell us which application, which server operating system, and which key isn't working; in order to replicate the problem we would need to have a copy of every operating system, and every application, that anyone has ever complained about.”hõHŹK, &€Ń€˜€€€€‚’PuTTY responds to function key presses by sending a sequence of control characters to the server. If a function key isn't doing what you expect, it's likely that the character sequence your application is expecting to receive is not the same as the one PuTTY is sending. Therefore what we really need to know is what sequence the application is expecting.Į}6J‹ND V€ū€˜€€€€€€€€€€€€‚’The simplest way to investigate this is to find some other terminal environment, in which that function key does work; and then investigate what sequence the function key is sending in that situation. One reasonably easy way to do this on a Unix system is to type the command cat, and then press the function key. This is likely to produce output of the form ^[[11~. You can also do this in PuTTY, to find out what sequence the function key is producing in that. Then you can mail the PuTTY maintainers and tell us ‘I wanted the F1 key to send ^[[11~, but instead it's sending ^[OP, can this be done?’, or something similar.Ē›ŹKRO, &€7€˜€€ć]‹łN‰‚’You should still read the Feedback page on the PuTTY website (also provided as appendix B in the manual), and follow the guidelines contained in that.Ī‹N,€1ׄ<=w,€Ē€‡Question A.7.16: Since my SSH server was upgraded to OpenSSH 3.1p1/3.4p1, I can no longer connect with PuTTY.CBB("btn_up","JRO,€ROI(`',`t00000199')");EB("btn_up")›rROĒ€) "€ä€€€€‚’Question A.7.16: Since my SSH server was upgraded to OpenSSH 3.1p1/3.4p1, I can no longer connect with PuTTY.ąŗ,€§& €u€˜€€‚’There is a known problem when OpenSSH has been built against an incorrect version of OpenSSL; the quick workaround is to configure PuTTY to use SSH protocol 2 and the Blowfish cipher.mHĒ€‚% €€˜€€‚’For more details and OpenSSH patches, see bug 138 in the OpenSSH BTS.ąŗ§ō‚& €u€˜€€‚’This is not a PuTTY-specific problem; if you try to connect with another client you'll likely have similar problems. (Although PuTTY's default cipher differs from many other clients.)lD‚`ƒ( €ˆ€˜€€€‚’OpenSSH 3.1p1: configurations known to be broken (and symptoms):ŗ†ō‚„4 6€ €T˜‘€8‚€ƒ€€€‚’•SSH-2 with AES cipher (PuTTY says ‘Assertion failed! Expression: (len & 15) == 0’ in sshaes.c, or ‘Out of memory’, or crashes)rE`ƒŒ„- *€Š€T˜‘€8‚€ƒ€‚’•SSH-2 with 3DES (PuTTY says ‘Incorrect MAC received on packet’)vI„…- *€’€T˜‘€8‚€ƒ€‚’•SSH-1 with Blowfish (PuTTY says ‘Incorrect CRC received on packet’)BŒ„D…- *€*€T˜‘€8‚€ƒ€‚’•SSH-1 with 3DES饅-†) €€˜€€€‚’OpenSSH 3.4p1: as of 3.4p1, only the problem with SSH-1 and Blowfish remains. Rebuild your server, apply the patch linked to from bug 138 above, or use another cipher (e.g., 3DES) instead.Ö­D…‡) €[€˜€€€‚’Other versions: we occasionally get reports of the same symptom and workarounds with older versions of OpenSSH, although it's not clear the underlying cause is the same.ŠŸ-†Ӈ1~„Š< =xӇpˆQŠQuestion A.7.17: Why do I see ‘Couldn't load private key from ...’? Why can PuTTYgen load my key but not PuTTY?CBB("btn_up","JI(`',`t00000199')");EB("btn_up")t‡pˆ) "€č€€€€‚’Question A.7.17: Why do I see ‘Couldn't load private key from ...’? Why can PuTTYgen load my key but not PuTTY?%’Ӈ•‰& €’€˜€€‚’It's likely that you've generated an SSH protocol 2 key with PuTTYgen, but you're trying to use it in an SSH-1 connection. SSH-1 and SSH-2 keys have different formats, and (at least in 0.52) PuTTY's reporting of a key in the wrong format isn't optimal.¼pˆQŠ, &€!€˜€€ćO„łN‰‚’To connect using SSH-2 to a server that supports both versions, you need to change the configuration from the default (see question A.2.1).Ėš•‰‹1ļ=( =y‹“‹ Question A.7.18: When I'm connected to a Red Hat Linux 8.0 system, some characters don't display properly.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")˜oQŠ“‹) "€Ž€€€€‚’Question A.7.18: When I'm connected to a Red Hat Linux 8.0 system, some characters don't display properly.kF‹Œ% €Œ€˜€€‚’A common complaint is that hyphens in man pages show up as a-acute.ł“‹>& €ó€˜€€‚’With release 8.0, Red Hat appear to have made UTF-8 the default character set. There appears to be no way for terminal emulators such as PuTTY to know this (as far as we know, the appropriate escape sequence to switch into UTF-8 mode isn't sent).ߌOŽ2 2€æ€˜€€ćoÅsŗ‰ć:ŒłN‰‚’A fix is to configure sessions to RH8 systems to use UTF-8 translation - see section 4.10.1 in the documentation. (Note that if you use ‘Change Settings’, changes may not take place immediately - see question A.7.9.)¼> , &€!€˜€€€€‚’If you really want to change the character set used by the server, the right place is /etc/sysconfig/i18n, but this shouldn't be necessary.Ē–OŽ Ą1F =u…=z ĄØĄRĘQuestion A.7.19: Since I upgraded to PuTTY 0.54, the scrollback has stopped working when I run screen.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")  Ą œm ØĄ/ .€Ś€€€€€ €‚’Question A.7.19: Since I upgraded to PuTTY 0.54, the scrollback has stopped working when I run screen.tH ĄĆ, &€‘€˜€€€€‚’PuTTY's terminal emulator has always had the policy that when the ‘alternate screen’ is in use, nothing is added to the scrollback. This is because the usual sorts of programs which use the alternate screen are things like text editors, which tend to scroll back and forth in the same document a lot; so (a) they would fill up the scrollback with a large amount of unhelpfully disordered text, and (b) they contain their own method for the user to scroll back to the bit they were interested in. We have generally found this policy to do the Right Thing in almost all situations./åØĄKÅJ b€Ė€˜€€€€ćŚfłĢ‰€€€€€€€€‚’Unfortunately, screen is one exception: it uses the alternate screen, but it's still usually helpful to have PuTTY's scrollback continue working. The simplest solution is to go to the Features control panel and tick ‘Disable switching to alternate terminal screen’. (See section 4.6.4 for more details.) Alternatively, you can tell screen itself not to use the alternate screen: the screen FAQ suggests adding the line ‘termcapinfo xterm ti@:te@’ to your .screenrc file.ŪĆRĘ, &€·€˜€€€€‚’The reason why this only started to be a problem in 0.54 is because screen typically uses an unusual control sequence to switch to the alternate screen, and previous versions of PuTTY did not support this sequence.ʕKÅĒ1@( =ü‡={Ē³ĒXŹQuestion A.7.20: Since I upgraded Windows XP to Service Pack 2, I can't use addresses like 127.0.0.2.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")›lRĘ³Ē/ .€Ų€€€€€ €‚’Question A.7.20: Since I upgraded Windows XP to Service Pack 2, I can't use addresses like 127.0.0.2. ŻĒ¼Č, &€»€˜€€€€‚’Some people who ask PuTTY to listen on localhost addresses other than 127.0.0.1 to forward services such as SMB and Windows Terminal Services have found that doing so no longer works since they upgraded to WinXP SP2.Į›³Ē}É& €7€˜€€‚’This is apparently an issue with SP2 that is acknowledged by Microsoft in MS Knowledge Base article 884020. The article links to a fix you can download.Ū£¼ČXŹ8 >€G€˜€€€€€€€€‚’(However, we've been told that SP2 also fixes the bug that means you need to use non-127.0.0.1 addresses to forward Terminal Services in the first place.)²}É Ė1Ņu…=˜Š=| Ė‰ĖÜĪQuestion A.7.21: PSFTP commands seem to be missing a directory separator (slash).CBB("btn_up","JI(`',`t00000199')");EB("btn_up")VXŹ‰Ė) "€¬€€€€‚’Question A.7.21: PSFTP commands seem to be missing a directory separator (slash).oJ ĖųĖ% €”€˜€€‚’Some people have reported the following incorrect behaviour with PSFTP:9‰Ė1Ģ* $€€€€€€‚’psftp> pwdE!ųĖvĢ$ €B€€€‚’Remote directory is /dir1/dir2F1Ģ¼Ģ* $€8€€€€€‚’psftp> get filename.extY4vĢĶ% €h€˜€€‚’/dir1/dir2filename.ext: no such file or directory#ż¼Ģ8Ī& €ū€˜€€‚’This is not a bug in PSFTP. There is a known bug in some versions of portable OpenSSH (bug 697) that causes these symptoms; it appears to have been introduced around 3.7.x. It manifests only on certain platforms (AIX is what has been reported to us).¤ĶÜĪ% €ž€˜€€‚’There is a patch for OpenSSH attached to that bug; it's also fixed in recent versions of portable OpenSSH (from around 3.8).Æ~8Ī‹Ļ1ü‡=s>}‹Ļ²Question A.7.22: Do you want to hear about ‘Software caused connection abort’?CBB("btn_up","JI(`',`t00000199')");EB("btn_up")|SÜĪ) "€¦€€€€‚’Question A.7.22: Do you want to hear about ‘Software caused connection ab‹ĻÜĪort’?Ÿs‹Ļ², &€ē€˜€€ć&„łN‰‚’In the documentation for PuTTY 0.53 and 0.53b, we mentioned that we'd like to hear about any occurrences of this error. Since the release of PuTTY 0.54, however, we've been convinced that this error doesn't indicate that PuTTY's doing anything wrong, and we don't need to hear about further occurrences. See section 10.14 for our current documentation of this error.­|_1D˜Š=6>~_Ł£Question A.7.23: My SSH-2 session locks up for a few seconds every so often.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")zQ²Ł) "€¢€€€€‚’Question A.7.23: My SSH-2 session locks up for a few seconds every so often. ē_ę& €Ļ€˜€€‚’Recent versions of PuTTY automatically initiate repeat key exchange once per hour, to improve session security. If your client or server machine is slow, you may experience this as a delay of anything up to thirty seconds or so.½‹Ł£2 2€€˜€€ćzÅłN‰€€‚’These delays are inconvenient, but they are there for your protection. If they really cause you a problem, you can choose to turn off periodic rekeying using the ‘Kex’ configuration panel (see section 4.19), but be aware that you will be sacrificing security for this. (Falling back to SSH-1 would also remove the delays, but would lose a lot more security still. We do not recommend it.)Ģ›ęo1ss>Z>oāQuestion A.7.24: PuTTY fails to start up. Windows claims that ‘the application configuration is incorrect’.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")™p£) "€ą€€€€‚’Question A.7.24: PuTTY fails to start up. Windows claims that ‘the application configuration is incorrect’.Ś“oā& €i€˜€€‚’This is caused by a bug in certain versions of Windows XP which is triggered by PuTTY 0.58. This was fixed in 0.59. The ‘xp-wont-run’ entry in PuTTY's wishlist has more details.Ų§ŗ1s6>;>€ŗg - Question A.7.25: When I put PuTTY in C:\WINDOWS\SYSTEM32 on my 64-bit Windows system, ‘Duplicate Session’ doesn't work.CBB("btn_up","JI(`',`t00000199')");EB("btn_up")­~āg / .€ü€€€€€ €‚’Question A.7.25: When I put PuTTY in C:\WINDOWS\SYSTEM32 on my 64-bit Windows system, ‘Duplicate Session’ doesn't work.nIŗÕ % €’€˜€€‚’The short answer is not to put the PuTTY executables in that location.Xg - > J€5€˜€€€€€€€€€€‚’On 64-bit systems, C:\WINDOWS\SYSTEM32 is intended to contain only 64-bit binaries; Windows' 32-bit binaries live in C:\WINDOWS\SYSWOW64. When a 32-bit program such as PuTTY runs on a 64-bit system, it cannot by default see the ‘real’ C:\WINDOWS\SYSTEM32 at all, because the File System Redirector arranges that the running program sees the appropriate kind of binaries in SYSTEM32. Thus, operations in the PuTTY suite that involve it accessing its own executables, such as ‘New Session’ and ‘Duplicate Session’, will not work.€OÕ ­ 1ŠZ>Ś >­ ś 7Section A.8: Security questionsCBB("btn_up","JI(`',`t00000158')");EB("btn_up")M$- ś ) "€H€€€€‚’Section A.8: Security questions„U­ ~ / .€Ŗ€ćąŠłN€€€‰‚’Question A.8.1: Is it safe for me to download PuTTY and use it on a public PC?…Vś / .€¬€ćįŠłN€€€‰‚’Question A.8.2: What does PuTTY leave on a system? How can I clean up after it?˜i~ ›/ .€Ņ€ćāŠłN€€€‰‚’Question A.8.3: How come PuTTY now supports DSA, when the website used to say how insecure it was?œg75 :€Ī€ć抳N€€€€€‰‚’Question A.8.4: Couldn't Pageant use VirtualLock() to stop private keys being written to disk?Æ~› @1-;>²‚>‚ @ˆ@9CQuestion A.8.1: Is it safe for me to download PuTTY and use it on a public PC?CBB("btn_up","JI(`',`t00000225')");EB("btn_up")7 @7|S7ˆ@) "€¦€€€€‚’Question A.8.1: Is it safe for me to download PuTTY and use it on a public PC?“ˆ @B…>ƒéCfDśFQuestion A.8.2: What does PuTTY leave on a system? How can I clean up after it?CBB("btn_up","JI(`',`t00000225')");EB("btn_up")}T9CfD) "€Ø€€€€‚’Question A.8.2: What does PuTTY leave on a system? How can I clean up after it?¬zéCF2 2€õ€˜€€ć«„łN‰€€‚’PuTTY will leave some Registry entries, and a random seed file, on the PC (see question A.5.2). If you are using PuTTY on a public PC, or somebody else's PC, you might want to clean these up when you leave. You can do that automatically, by running the command putty -cleanup. (Note that this only removes settings for the currently logged-in user on multi-user systems.)čĀfDśF& €…€˜€€‚’If PuTTY was installed from the installer package, it will also appear in ‘Add/Remove Programs’. Older versions of the uninstaller do not remove the above-mentioned registry entries and file.ƒF½G1v²‚>=ˆ>„½GMH3KQuestion A.8.3: How come PuTTY now supports DSA, when the website used to say how insecure it was?CBB("btn_up","JI(`',`t00000225')");EB("btn_up")gśFMH) "€Ī€€€€‚’Question A.8.3: How come PuTTY now supports DSA, when the website used to say how insecure it was?^2½G«I, &€e€˜€€€€‚’DSA has a major weakness if badly implemented: it relies on a random number generator to far too great an extent. If the random number generator produces a number an attacker can predict, the DSA private key is exposed - meaning that the attacker can log in as you on all systems that accept that key.ˆbMH3K& €Å€˜€€‚’The PuTTY policy changed because the developers were informed of ways to implement DSA which do not suffer nearly as badly from this weakness, and indeed which don't need to rely on random numbers at all. For this reason we now believe PuTTY's DSA implementation is probably OK. However, if you have the choice, we still recommend you use RSA instead.掫IņK1;B…>Š>…ņK†L-NQuestion A.8.4: Couldn't Pageant use VirtualLock() to stop private keys being written to disk?CBB("btn_up","JI(`',`t00000225')");EB("btn_up")”e3K†L/ .€Ź€€€€€ €‚’Question A.8.4: Couldn't Pageant use VirtualLock() to stop private keys being written to disk?§{ņK-N, &€÷€˜€€€€‚’Unfortunately not. The VirtualLock() function in the Windows API doesn't do a proper job: it may prevent small pieces of a process's memory from being paged to disk while the process is running, but it doesn't stop the process's memory as a whole from being swapped completely out to disk when the process is long-term inactive. And Pageant spends most of its time inactive.†U†L³N1÷=ˆ>?†³NO·‡Section A.9: Administrative questionsCBB("btn_up","JI(`',`t00000158')");EB("btn_up")S*-NO) "€T€€€€‚’Section A.9: Administrative questions|M³N‚O/ .€š€ć‹łN€€€‰‚’Question A.9.1: Would you like me to register you a nicer domain name?}NO €/ .€œ€ć‹łN€€€‰‚’Question A.9.2: Would you like free web hosting for the PuTTY web site?‚O €-N|M‚Oˆ€/ .€š€ć‹łN€€€‰‚’Question A.9.3: Would you link to my web site from the PuTTY web site?n? €ö€/ .€~€ć ‹łN€€€‰‚’Question A.9.4: Why don't you move PuTTY to SourceForge?{Lˆ€q/ .€˜€ć ‹łN€€€‰‚’Question A.9.5: Why can't I subscribe to the putty-bugs mailing list?‡Xö€ų/ .€°€ć ‹łN€€€‰‚’Question A.9.6: If putty-bugs isn't a general-subscription mailing list, what is?l=qd‚/ .€z€ć ‹łN€€€‰‚’Question A.9.7: How can I donate to PuTTY development?£tųƒ/ .€č€ć ‹łN€€€‰‚’Question A.9.8: Can I have permission to put PuTTY on a cover disk / distribute it with other software / etc?“dd‚šƒ/ .€Č€ć‹łN€€€‰‚’Question A.9.9: Can you sign an agreement indemnifying us against security problems in PuTTY?^ƒ'„/ .€¼€ć:‹łN€€€‰‚’Question A.9.10: Can you sign this form granting us permission to use/distribute PuTTY?ƒTšƒŖ„/ .€Ø€ć1‹łN€€€‰‚’Question A.9.11: Can you write us a formal notice of permission to use PuTTY?l7'„…5 :€n€ć2‹łN€€€€€‰‚’Question A.9.12: Can you sign anything for us?½Ŗ„Ӆ0 .€€ć3‹łN€€€‰‚’Question A.9.13: If you won't sign anything, can you give us some sort of assurance that you won't make PuTTY closed-source in future?™j…l†/ .€Ō€ć4‹łN€€€‰‚’Question A.9.14: Can you provide us with export control information / FIPS certification for PuTTY?ŸpӅ ‡/ .€ą€ć5‹łN€€€‰‚’Question A.9.15: As one of our existing software vendors, can you just fill in this questionnaire for us?¬ql†·‡; F€ā€ć6‹łN€€€€€€€‰‚’Question A.9.16: The sha1sums / sha256sums / etc files on your download page don't match the binaries.§v ‡^ˆ1«Š>6?‡^ˆŅˆ ŒQuestion A.9.1: Would you like me to register you a nicer domain name?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")tK·‡Ņˆ) "€–€€€€‚’Question A.9.1: Would you like me to register you a nicer domain name?Ė„^ˆŠ& €K€˜€€‚’No, thank you. Even if you can find one (most of them seem to have been registered already, by people who didn't ask whether we actually wanted it before they applied), we're happy with the PuTTY web site being exactly where it is. It's not hard to find (just type ‘putty’ into google.com and we're the first link returned), and we don't believe the administrative hassle of moving the site would be worth the benefit.l@Ņˆ Œ, &€€˜€€€€‚’In addition, if we did want a custom domain name, we would want to run it ourselves, so we knew for certain that it would continue to point where we wanted it, and wouldn't suddenly change or do strange things. Having it registered for us by a third party who we don't even know is not the best way to achieve this.ØwŠ±Œ1ŗ?¢?ˆ±Œ&kQuestion A.9.2: Would you like free web hosting for the PuTTY web site?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")uL Œ&) "€˜€€€€‚’Question A.9.2: Would you like free web hosting for the PuTTY web site?E ±Œk% €@€˜€€‚’We already have some, thanks.§v&Ž116?Ė„?‰Ž†ŽOĘQuestion A.9.3: Would you link to my web site from the PuTTY web site?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")tKk†Ž) "€–€€€€‚’Question A.9.3: Would you link to my web site from the PuTTY web site?õĻŽ{& €Ÿ€˜€€‚’Only if the content of your web page is of definite direct interest to PuTTY users. If your content is unrelated, or only tangentially related, to PuTTY, then the link would simply be advertising for you.…_†Ž Į& €æ€˜€€‚’One very nice effect of the Google ranking mechanism is that by and large, the most popular we{ Įkb sites get the highest rankings. This means that when an ordinary person does a search, the top item in the search is very likely to be a high-quality site or the site they actually wanted, rather than the site which paid the most money for its ranking.*{6Ć& € €˜€€‚’The PuTTY web site is held in high esteem by Google, for precisely this reason: lots of people have linked to it simply because they like PuTTY, without us ever having to ask anyone to link to us. We feel that it would be an abuse of this esteem to use it to boost the ranking of random advertisers' web sites. If you want your web site to have a high Google ranking, we'd prefer that you achieve this the way we did - by being good enough at what you do that people will link to you simply because they like you.‹_ ĮĮÄ, &€æ€˜€€€€‚’In particular, we aren't interested in trading links for money (see above), and we certainly aren't interested in trading links for other links (since we have no advertising on our web site, our Google ranking is not even directly worth anything to us). If we don't want to link to you for free, then we probably won't want to link to you at all.Žh6ĆOĘ& €Ń€˜€€‚’If you have software based on PuTTY, or specifically designed to interoperate with PuTTY, or in some other way of genuine interest to PuTTY users, then we will probably be happy to add a link to you on our Links page. And if you're running a particularly valuable mirror of the PuTTY web site, we might be interested in linking to you from our Mirrors page.™hĮÄčĘ1Į¢?ģ‡?ŠčĘNĒ©ŹQuestion A.9.4: Why don't you move PuTTY to SourceForge?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")f=OĘNĒ) "€z€€€€‚’Question A.9.4: Why don't you move PuTTY to SourceForge?VčĘĻĒ+ &€¬€˜€€ć‹łN‰‚’Partly, because we don't want to move the web site location (see question A.9.1).&NĒõÉ& €€˜€€‚’Also, security reasons. PuTTY is a security product, and as such it is particularly important to guard the code and the web site against unauthorised modifications which might introduce subtle security flaws. Therefore, we prefer that the Git repository, web site and FTP site remain where they are, under the direct control of system administrators we know and trust personally, rather than being run by a large organisation full of people we've never met and which is known to have had breakins in the past.“ŽĻĒ©Ź& €€˜€€‚’No offence to SourceForge; I think they do a wonderful job. But they're not ideal for everyone, and in particular they're not ideal for us.¦uõÉOĖ1‚Ė„?Š?‹OĖĀĖŃĶQuestion A.9.5: Why can't I subscribe to the putty-bugs mailing list?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")sJ©ŹĀĖ) "€”€€€€‚’Question A.9.5: Why can't I subscribe to the putty-bugs mailing list?ćOĖŃĶ, &€Ē€˜€€€€‚’Because you're not a member of the PuTTY core development team. The putty-bugs mailing list is not a general newsgroup-like discussion forum; it's a contact address for the core developers, and an internal mailing list for us to discuss things among ourselves. If we opened it up for everybody to subscribe to, it would turn into something more like a newsgroup and we would be completely overwhelmed by the volume of traffic. It's hard enough to keep up with the list as it is.²ĀĖƒĪ1:ģ‡?@ŒƒĪĻÉ Question A.9.6: If putty-bugs isn't a general-subscription mailing list, what is?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")VŃĶĻ) "€¬€€€€‚’Question A.9.6: If putty-bugs isn't a general-subscription mailing list, what is?I$ƒĪKĻ% €H€˜€€‚’There isn't one, that we know of.rFĻÉ , &€€˜€€ć`‹łN‰‚’If someone else wants to set up a mailing list or other forum for PuTTY users to help each other with common problems, that would be finKĻÉ ŃĶe with us, though the PuTTY team would almost certainly not have the time to read it. It's probably better to use one of the established newsgroups for this purpose (see section B.1.2).—fKĻ` 1Š?H@` Ä a Question A.9.7: How can I donate to PuTTY development?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")d;É Ä ) "€v€€€€‚’Question A.9.7: How can I donate to PuTTY development?Ņ ` – 2 2€A€˜€€€€€€‚’Please, please don't feel you have to. PuTTY is completely free software, and not shareware. We think it's very important that everybody who wants to use PuTTY should be able to, whether they have any money or not; so the last thing we would want is for a PuTTY user to feel guilty because they haven't paid us any money. If you want to keep your money, please do keep it. We wouldn't dream of asking for any._'Ä õ 8 >€O€˜€€€€€€€€‚’Having said all that, if you still really want to give us money, we won't argue :-) The easiest way for us to accept donations is if you send money to using PayPal (www.paypal.com). If you don't like PayPal, talk to us; we can probably arrange some alternative means.lF– a & €€˜€€‚’Small donations (tens of dollars or tens of euros) will probably be spent on beer or curry, which helps motivate our volunteer team to continue doing this for the world. Larger donations will be spent on something that actually helps development, if we can find anything (perhaps new hardware, or a copy of Windows XP), but if we can't find anything then we'll just distribute the money among the developers. If you want to be sure your donation is going towards something worthwhile, ask us first. If you don't like these terms, feel perfectly free not to donate. We don't mind.Īõ / 1@\@Ž/ Ź ¼ Question A.9.8: Can I have permission to put PuTTY on a cover disk / distribute it with other software / etc?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")›ra Ź ) "€ä€€€€‚’Question A.9.8: Can I have permission to put PuTTY on a cover disk / distribute it with other software / etc?”|/ k % €ų€˜€€‚’Yes. For most things, you need not bother asking us explicitly for permission; our licence already grants you permission.Q&Ź ¼ + &€L€˜€€ć‡‹łN‰‚’See section B.7 for more details.¾k z 1Ó H@|‡@z  YH Question A.9.9: Can you sign an agreement indemnifying us against security problems in PuTTY?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")‹b¼  ) "€Ä€€€€‚’Question A.9.9: Can you sign an agreement indemnifying us against security problems in PuTTY?+z 0 % € €˜€€‚’No!`4  , &€i€˜€€€€‚’A vendor of physical security products (e.g. locks) might plausibly be willing to accept financial liability for a product that failed to perform as advertised and resulted in damage (e.g. valuables being stolen). The reason they can afford to do this is because they sell a lot of units, and only a small proportion of them will fail; so they can meet their financial liability out of the income from all the rest of their sales, and still have enough left over to make a profit. Financial liability is intrinsically linked to selling your product for money.…S0 !@ 2 2€§€˜€€€€€€‚’There are two reasons why PuTTY is not analogous to a physical lock in this context. One is that software products don't exhibit random variation: if PuTTY has a security hole (which does happen, although we do our utmost to prevent it and to respond quickly when it does), every copy of PuTTY will have the same hole, so it's likely to affect all the users at the same time. So even if our users were all paying us to use PuTTY, we wouldn't be able to simultaneously pay every affected user compensation in excess of the amount they had paid us in the first place. It  !@ ¼ just wouldn't work.q ¾A , &€ć€˜€€€€‚’The second, much more important, reason is that PuTTY users don't pay us. The PuTTY team does not have an income; it's a volunteer effort composed of people spending their spare time to try to write useful software. We aren't even a company or any kind of legally recognised organisation. We're just a bunch of people who happen to do some stuff in our spare time.å­!@ £C 8 >€[€˜€€€€€€€€‚’Therefore, to ask us to assume financial liability is to ask us to assume a risk of having to pay it out of our own personal pockets: out of the same budget from which we buy food and clothes and pay our rent. That's more than we're willing to give. We're already giving a lot of our spare time to developing software for free; if we had to pay our own money to do it as well, we'd start to wonder why we were bothering./ ¾A ŅE & €€˜€€‚’Free software fundamentally does not work on the basis of financial guarantees. Your guarantee of the software functioning correctly is simply that you have the source code and can check it before you use it. If you want to be sure there aren't any security holes, do a security audit of the PuTTY code, or hire a security engineer if you don't have the necessary skills yourself: instead of trying to ensure you can get compensation in the event of a disaster, try to ensure there isn't a disaster in the first place.‡U£C YH 2 2€«€˜€€€€€€‚’If you really want financial security, see if you can find a security engineer who will take financial responsibility for the correctness of their review. (This might be less likely to suffer from the everything-failing-at-once problem mentioned above, because such an engineer would probably be reviewing a lot of different products which would tend to fail independently.) Failing that, see if you can persuade an insurance company to insure you against security incidents, and if the insurer demands it as a condition then get our code reviewed by a security engineer they're happy with.ø‡ŅE I 1_\@/Œ@I –I pN Question A.9.10: Can you sign this form granting us permission to use/distribute PuTTY?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")…\YH –I ) "€ø€€€€‚’Question A.9.10: Can you sign this form granting us permission to use/distribute PuTTY?6I ĢL 2 2€ €˜€€ć‹łN‰€€‚’If your form contains any clause along the lines of ‘the undersigned represents and warrants’, we're not going to sign it. This is particularly true if it asks us to warrant that PuTTY is secure; see question A.9.9 for more discussion of this. But it doesn't really matter what we're supposed to be warranting: even if it's something we already believe is true, such as that we don't infringe any third-party copyright, we will not sign a document accepting any legal or financial liability. This is simply because the PuTTY development project has no income out of which to satisfy that liability, or pay legal costs, should it become necessary. We cannot afford to be sued. We are assuring you that we have done our best; if that isn't good enough for you, tough.÷–I éM & €ļ€˜€€‚’The existing PuTTY licence document already gives you permission to use or distribute PuTTY in pretty much any way which does not involve pretending you wrote it or suing us if it goes wrong. We think that really ought to be enough for anybody.‡\ĢL pN + &€ø€˜€€ć2‹łN‰‚’See also question A.9.12 for another reason why we don't want to do this sort of thing.®}éM O 1š|‡@\A‘O ™O Ă Question A.9.11: Can you write us a formal notice of permission to use PuTTY?CBB("btn_up","JI(`',`t00000230')");EB("btn_up"){RpN ™O ) "€¤€€€€‚’Question A.9.11: Can you write us a formal notice of permission to use PuTTY?˜fO =‚ 2 2€Ķ€˜€€€€€€‚’We could, in principle, but it isn't clear what use ™O =‚ pN it would be. If you think there's a serious chance of one of the PuTTY copyright holders suing you (which we don't!), you would presumably want a signed notice from all of them; and we couldn't provide that even if we wanted to, because many of the copyright holders are people who contributed some code in the past and with whom we subsequently lost contact. Therefore the best we would be able to do even in theory would be to have the core development team sign the document, which wouldn't guarantee you that some other copyright holder might not sue.‡\™O Ă + &€ø€˜€€ć2‹łN‰‚’See also question A.9.12 for another reason why we don't want to do this sort of thing.^=‚ Sƒ 1?/Œ@õA’Sƒ ·ƒ ’‡ Question A.9.12: Can you sign anything for us?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")d5Ă ·ƒ / .€j€€€€€€‚’Question A.9.12: Can you sign anything for us?U0Sƒ „ % €`€˜€€‚’Not unless there's an incredibly good reason.a5·ƒ m† , &€k€˜€€€€‚’We are generally unwilling to set a precedent that involves us having to enter into individual agreements with PuTTY users. We estimate that we have literally millions of users, and we absolutely would not have time to go round signing specific agreements with every one of them. So if you want us to sign something specific for you, you might usefully stop to consider whether there's anything special that distinguishes you from 999,999 other users, and therefore any reason we should be willing to sign something for you without it setting such a precedent.%’ „ ’‡ & €’€˜€€‚’If your company policy requires you to have an individual agreement with the supplier of any software you use, then your company policy is simply not well suited to using popular free software, and we urge you to consider this as a flaw in your policy.ē¶m† yˆ 1§ \AՀA“yˆ .‰ ,Ā Question A.9.13: If you won't sign anything, can you give us some sort of assurance that you won't make PuTTY closed-source in future?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")µ‹’‡ .‰ * "€€€€€‚’Question A.9.13: If you won't sign anything, can you give us some sort of assurance that you won't make PuTTY closed-source in future?3yˆ a‰ % €€˜€€‚’Yes and no.c.‰ šŠ , &€Ē€˜€€€€‚’If what you want is an assurance that some current version of PuTTY which you've already downloaded will remain free, then you already have that assurance: it's called the PuTTY Licence. It grants you permission to use, distribute and copy the software to which it applies; once we've granted that permission (which we have), we can't just revoke it.(źa‰ Ž > J€Õ€˜€€€€€€€€€€‚’On the other hand, if you want an assurance that future versions of PuTTY won't be closed-source, that's more difficult. We could in principle sign a document stating that we would never release a closed-source PuTTY, but that wouldn't assure you that we would keep releasing open-source PuTTYs: we would still have the option of ceasing to develop PuTTY at all, which would surely be even worse for you than making it closed-source! (And we almost certainly wouldn't want to sign a document guaranteeing that we would actually continue to do development work on PuTTY; we certainly wouldn't sign it for free. Documents like that are called contracts of employment, and are generally not signed except in return for a sizeable salary.) ĻšŠ 1Į > J€Ÿ€˜€€€€€€€€€€‚’If we were to stop developing PuTTY, or to decide to make all future releases closed-source, then you would still be free to copy the last open release in accordance with the current licence, and in particular you could start your own fork of the project from that release. If this happened, I confidently predict that somebody would do that, and that some kind of a free PuTTY would continue to be developed. There's alrŽ 1Į ’‡ eady precedent for that sort of thing happening in free software. We can't guarantee that somebody other than you would do it, of course; you might have to do it yourself. But we can assure you that there would be nothing preventing anyone from continuing free development if we stopped.ūÕŽ ,Ā & €«€˜€€‚’(Finally, we can also confidently predict that if we made PuTTY closed-source and someone made an open-source fork, most people would switch to the latter. Therefore, it would be pretty stupid of us to try it.)ē1Į šĀ 1ÆõA„A”šĀ Ć ŸĘ Question A.9.14: Can you provide us with export control information / FIPS certification for PuTTY?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")‘h,Ā Ć ) "€Š€€€€‚’Question A.9.14: Can you provide us with export control information / FIPS certification for PuTTY?CšĀ ÄÅ & €;€˜€€‚’Some people have asked us for an Export Control Classification Number (ECCN) for PuTTY. We don't know whether we have one, and as a team of free software developers based in the UK we don't have the time, money, or effort to deal with US bureaucracy to investigate any further. We believe that PuTTY falls under 5D002 on the US Commerce Control List, but that shouldn't be taken as definitive. If you need to know more you should seek professional legal advice. The same applies to any other country's legal requirements and restrictions.ŪµĆ ŸĘ & €k€˜€€‚’Similarly, some people have asked us for FIPS certification of the PuTTY tools. Unless someone else is prepared to do the necessary work and pay any costs, we can't provide this.Ź™ÄÅ iĒ 1 ՀAPB•iĒ Č ’!Question A.9.15: As one of our existing software vendors, can you just fill in this questionnaire for us?CBB("btn_up","JI(`',`t00000230')");EB("btn_up")—nŸĘ Č ) "€Ü€€€€‚’Question A.9.15: As one of our existing software vendors, can you just fill in this questionnaire for us?)iĒ )Ė & €€˜€€‚’We periodically receive requests like this, from organisations which have apparently sent out a form letter to everyone listed in their big spreadsheet of ‘software vendors’ requiring them all to answer some long list of questions about supported OS versions, paid support arrangements, compliance with assorted local regulations we haven't heard of, contact phone numbers, and other such administrivia. Many of the questions are obviously meaningless when applied to PuTTY (we don't provide any paid support in the first place!), most of the rest could have been answered with only a very quick look at our website, and some we are actively unwilling to answer (we are private individuals, why would we want to give out our home phone numbers to large corporations?).šoČ ĆĖ + &€Ž€˜€€€€‚’We don't make a habit of responding in full to these questionnaires, because we are not a software vendor.Ō)Ė ĆĶ , &€©€˜€€€€‚’A software vendor is a company to which you are paying lots of money in return for some software. They know who you are, and they know you're paying them money; so they have an incentive to fill in your forms and questionnaires, to research any local regulations you cite if they don't already know about them, and generally to provide every scrap of information you might possibly need in the most convenient manner for you, because they want to keep being paid.ŒfĆĖ OĻ & €Ķ€˜€€‚’But we are a team of free software developers, and that means your relationship with us is nothing like that at all. If you once downloaded our software from our website, that's great and we hope you found it useful, but it doesn't mean we have the least idea who you are, or any incentive to do lots of unpaid work to support our ‘relationship’ with you.ĮĆĶ !2 2€€˜€€€€€€‚’It's not that we are unwilling to provide information. We put as much of it as we can on our website for your convenience, aOĻ !ŸĘ nd if you actually need to know some fact about PuTTY which you haven't been able to find on the website (and which is not obviously inapplicable to free software in the first place) then please do ask us, and we'll try to answer as best we can. But we put up the website and this FAQ precisely so that we don't have to keep answering the same questions over and over again, so we aren't prepared to fill in completely generic form-letter questionnaires for people who haven't done their best to find the answers here first.vPOĻ ’!& €”€˜€€‚’If you work for an organisation which you think might be at risk of making this mistake, we urge you to reorganise your list of software suppliers so that it clearly distinguishes paid vendors who know about you from free software developers who don't have any idea who you are. Then, only send out these mass mailings to the former.Ē–!Y!1½„AzB–Y!ż! !Question A.9.16: The sha1sums / sha256sums / etc files on your download page don't match the binaries.CBB("btn_up","JI(`',`t00000230')");EB("btn_up")¤o’!ż!5 :€Ž€€€€€ €€ €‚’Question A.9.16: The sha1sums / sha256sums / etc files on your download page don't match the binaries.¼–Y!¹!& €-€˜€€‚’People report this every so often, and usually the reason turns out to be that they've matched up the wrong checksums file with the wrong binaries.Øpż!a!8 >€į€˜€€€€€€€€‚’The PuTTY download page contains more than one version of the software. There's a latest release version; there are the development snapshots; and when we're in the run-up to making a release, there are also pre-release builds of the upcoming new version. Each one has its own collection of binaries, and its own collection of checksums files to go with them.yS¹!Ś!& €§€˜€€‚’So if you've downloaded the release version of the actual program, you need the release version of the checksums too, otherwise you will see a mismatch. Similarly, the development snapshot binaries go with the development snapshot checksums, and so on. (We've colour-coded the download page in an effort to reduce this confusion a bit.)ŗ”a!” !& €)€˜€€‚’If you have double-checked that, and you still think there's a real mismatch, then please send us a report carefully quoting everything relevant:Y,Ś!ķ !- *€X€T˜‘€8‚€ƒ€‚’•the exact URL you got your binary fromb5” !O !- *€j€T˜‘€8‚€ƒ€‚’•the checksum of the binary after you downloadeda4ķ !° !- *€h€T˜‘€8‚€ƒ€‚’•the exact URL you got your checksums file fromf9O ! !- *€r€T˜‘€8‚€ƒ€‚’•the checksum that file says the binary should have.†U° !œ !1ųPBB—œ !ļ !” !Section A.10: Miscellaneous questionsCBB("btn_up","JI(`',`t00000158')");EB("btn_up")S* !ļ !) "€T€€€€‚’Section A.10: Miscellaneous questions‚Sœ !q !/ .€¦€ć8‹łN€€€‰‚’Question A.10.1: Is PuTTY a port of OpenSSH, or based on OpenSSH or OpenSSL?c4ļ !Ō !/ .€h€ć9‹łN€€€‰‚’Question A.10.2: Where can I buy silly putty?^/q !2 !/ .€^€će‹łN€€€‰‚’Question A.10.3: What does ‘PuTTY’ mean?b3Ō !” !/ .€f€ć\‹łN€€€‰‚’Question A.10.4: How do I pronounce ‘PuTTY’?­|2 !A!1“zB€B˜A!»! @!Question A.10.1: Is PuTTY a port of OpenSSH, or based on OpenSSH or OpenSSL?CBB("btn_up","JI(`',`t00000247')");EB("btn_up")zQ” !»!) "€¢€€€€‚’Question A.10.1: Is PuTTY a port of OpenSSH, or based on OpenSSH or OpenSSL?óA! @!& €ē€˜€€‚’No, it isn't. PuTTY is almost completely composed of code written from scratch for PuTTY. The only code we share with OpenSSH is the detector for SSH-1 CRC compensation attacks, written by CORE SDI S.A; we share no code at all with OpenSSL.»! @!” !Ž]»!š@!1ŻBcB™š@!õ@!wB!Question A.10.2: Where can I buy silly putty?CBB("btn_up","JI(`',`t00000247')");EB("btn_up")[2 @!õ@!) "€d€€€€‚’Question A.10.2: Where can I buy silly putty?’mš@!‡A!% €Ś€˜€€‚’You're looking at the wrong web site; the only PuTTY we know about here is the name of a computer program.šÄõ@!wB!, &€‰€˜€€€€‚’If you want the kind of putty you can buy as an executive toy, the PuTTY team can personally recommend Thinking Putty, which you can buy from Crazy Aaron's Putty World, at www.puttyworld.com.‰X‡A!C!1ø€BʂBšC!VC!øD!Question A.10.3: What does ‘PuTTY’ mean?CBB("btn_up","JI(`',`t00000247')");EB("btn_up")V-wB!VC!) "€Z€€€€‚’Question A.10.3: What does ‘PuTTY’ mean?b6C!øD!, &€m€˜€€€€‚’It's the name of a popular SSH and Telnet client. Any other meaning is in the eye of the beholder. It's been rumoured that ‘PuTTY’ is the antonym of ‘getty’, or that it's the stuff that makes your Windows useful, or that it's a kind of plutonium Teletype. We couldn't possibly comment on such allegations.\VC!EE!1ĢcB>ƒB›EE!ŸE!F!Question A.10.4: How do I pronounce ‘PuTTY’?CBB("btn_up","JI(`',`t00000247')");EB("btn_up")Z1øD!ŸE!) "€b€€€€‚’Question A.10.4: How do I pronounce ‘PuTTY’?rGEE!F!+ &€Ž€˜€€€€‚’Exactly like the English word ‘putty’, which we pronounce /'pVti/.PŸE!’F!1¹ʂB¦†Bœ’F!ęF!KL!Appendix B: Feedback and bug reportingCBB("btn_up","JI(`',`Top')");EB("btn_up")T+F!ęF!) "€V€€€€‚’Appendix B: Feedback and bug reportingĒ”’F!­G!& €C€˜€€‚’This is a guide to providing feedback to the PuTTY development team. It is provided as both a web page on the PuTTY site, and an appendix in the PuTTY manual. įęF!ŗH!, &€Ć€˜€ć^‹łN€‰‚’Section B.1 gives some general guidelines for sending any kind of e-mail to the development team. Following sections give more specific guidelines for particular types of e-mail, such as bug reports and feature requests.U&­G!I!/ .€L€ć^‹łN€€€‰‚’Section B.1: General guidelinesQ"ŗH!`I!/ .€D€ća‹łN€€€‰‚’Section B.2: Reporting bugs\-I!¼I!/ .€Z€ćb‹łN€€€‰‚’Section B.3: Requesting extra featureswH`I!3J!/ .€€ćc‹łN€€€‰‚’Section B.4: Requesting features that have already been requestedS$¼I!†J!/ .€H€ćd‹łN€€€‰‚’Section B.5: Support requests\-3J!āJ!/ .€Z€ć‹łN€€€‰‚’Section B.6: Web server administration_0†J!AK!/ .€`€ć‡‹łN€€€‰‚’Section B.7: Asking permission for things_0āJ! K!/ .€`€ćˆ‹łN€€€‰‚’Section B.8: Mirroring the PuTTY web siteY*AK!łK!/ .€T€ć‰‹łN€€€‰‚’Section B.9: Praise and complimentsR# K!KL!/ .€F€ćŠ‹łN€€€‰‚’Section B.10: E-mail address€OłK!ĖL!1|>ƒBCĖL!M!Sƒ!Section B.1: General guidelinesCBB("btn_up","JI(`',`t00000252')");EB("btn_up")M$KL!M!) "€H€€€€‚’Section B.1: General guidelinesY'ĖL!qN!2 2€O€˜€€€€ć`‹łN‰‚’The PuTTY development team gets a lot of mail. If you can possibly solve your own problem by reading the manual, reading the FAQ, reading the web site, asking a fellow user, perhaps posting to a newsgroup (see section B.1.2), or some other means, then it would make our lives much easier.]M! €!2 2€»€˜€€€€ćd‹łN‰‚’We get so much e-mail that we literally do not have time to answer it all. We regret this, but there's nothing we can do about it. So if you can possibly avoid sending mail to the PuTTY team, we recommend you do so. In particular, support requests (section B.5) are probably better sent to newsgroups, or passed to a local expert if possible.qN! €!KL!ƉqN!»!& €€˜€€‚’The PuTTY contact email address is a private mailing list containing four or five core developers. Don't be put off by it being a mailing list: if you need to send confidential data as part of a bug report, you can trust the people on the list to respect that confidence. Also, the archives aren't publicly available, so you shouldn't be letting yourself in for any spam by sending us mail.Ł³ €!”‚!& €g€˜€€‚’Please use a meaningful subject line on your message. We get a lot of mail, and it's hard to find the message we're looking for if they all have subject lines like ‘PuTTY bug’.^/»!ņ‚!/ .€^€ć_‹łN€€€‰‚’Section B.1.1: Sending large attachmentsa2”‚!Sƒ!/ .€d€ć`‹łN€€€‰‚’Section B.1.2: Other places to ask for help‰Xņ‚!܃!1„ ¦†Bø Cž܃!2„!`!Section B.1.1: Sending large attachmentsCBB("btn_up","JI(`',`t00000253')");EB("btn_up")V-Sƒ!2„!) "€Z€€€€‚’Section B.1.1: Sending large attachmentsŻÜƒ!5…!& €»€˜€€‚’Since the PuTTY contact address is a mailing list, e-mails larger than 40Kb will be held for inspection by the list administrator, and will not be allowed through unless they really appear to be worth their large size.óĶ2„!(‡!& €›€˜€€‚’If you are considering sending any kind of large data file to the PuTTY team, it's almost always a bad idea, or at the very least it would be better to ask us first whether we actually need the file. Alternatively, you could put the file on a web site and just send us the URL; that way, we don't have to download it unless we decide we actually need it, and only one of us needs to download it instead of it being automatically copied to all the developers.ÜŖ5…!‰!2 2€U€˜€€€€€€‚’Some people like to send mail in MS Word format. Please don't send us bug reports, or any other mail, as a Word document. Word documents are roughly fifty times larger than writing the same report in plain text. In addition, most of the PuTTY team read their e-mail on Unix machines, so copying the file to a Windows box to run Word is very inconvenient. Not only that, but several of us don't even have a copy of Word!uI(‡!y‹!, &€“€˜€€€€‚’Some people like to send us screen shots when demonstrating a problem. Please don't do this without checking with us first - we almost never actually need the information in the screen shot. Sending a screen shot of an error box is almost certainly unnecessary when you could just tell us in plain text what the error was. (On some versions of Windows, pressing Ctrl-C when the error box is displayed will copy the text of the message to the clipboard.) Sending a full-screen shot is occasionally useful, but it's probably still wise to check whether we need it before sending it.6ų‰!ƌ!> J€ń€˜€€€€€€€€€€‚’If you must mail a screen shot, don't send it as a .BMP file. BMPs have no compression and they are much larger than other image formats such as PNG, TIFF and GIF. Convert the file to a properly compressed image format before sending it.šy‹!ō!& €į€˜€€‚’Please don't mail us executables, at all. Our mail server blocks all incoming e-mail containing executables, as a defence against the vast numbers of e-mail viruses we receive every day. If you mail us an executable, it will just bounce.›iƌ!`!2 2€Ó€˜€€€€€€‚’If you have made a tiny modification to the PuTTY code, please send us a patch to the source code if possible, rather than sending us a huge .ZIP file containing the complete sources plus your modification. If you've only changed 10 lines, we'd prefer to receive a mail that's 30 lines long than one containing multiple megabytes of data we already have.Œ[ō! Ą!15C6‚CŸ Ą!eĄ!AĆ!Section B.1.2: Other places to ask for helpCBB("btn_up","JI(`',`t00000253')");EB("btn_up")`! Ą!`!Y0`!eĄ!) "€`€€€€‚’Section B.1.2: Other places to ask for helpzU Ą!ߥ!% €Ŗ€˜€€‚’There are two Usenet newsgroups that are particularly relevant to the PuTTY tools:{KeĄ!ZĮ!0 0€–€T˜‘€8‚€ƒ€€‚’•comp.security.ssh, for questions specific to using the SSH protocol;“cߥ!ķĮ!0 0€Ę€T˜‘€8‚€ƒ€€‚’•comp.terminals, for issues relating to terminal emulation (for instance, keyboard problems).ƉZĮ!œĀ!& €€˜€€‚’Please use the newsgroup most appropriate to your query, and remember that these are general newsgroups, not specifically about PuTTY.„zķĮ!AĆ!+ &€ō€˜€€€€‚’If you don't have direct access to Usenet, you can access these newsgroups through Google Groups (groups.google.com).|KœĀ!½Ć!1dø C3D ½Ć!Ä!P"Section B.2: Reporting bugsCBB("btn_up","JI(`',`t00000252')");EB("btn_up")I AĆ!Ä!) "€@€€€€‚’Section B.2: Reporting bugsoJ½Ć!uÄ!% €”€˜€€‚’If you think you have found a bug in PuTTY, your first steps should be:¤pÄ!Ę!4 6€į€T˜‘€8‚€ƒ€€€‚’•Check the Wishlist page on the PuTTY website, and see if we already know about the problem. If we do, it is almost certainly not necessary to mail us about it, unless you think you have extra information that might be helpful to us in fixing it. (Of course, if we actually need specific extra information about a particular bug, the Wishlist page will say so.)¤wuÄ!½Ę!- *€ī€T˜‘€8‚€ƒ€‚’•Check the Change Log on the PuTTY website, and see if we have already fixed the bug in the development snapshots. ÕĘ!ĘĒ!4 6€«€T˜‘€8‚€ƒ€ć*„łN‰‚’•Check the FAQ on the PuTTY website (also provided as appendix A in the manual), and see if it answers your question. The FAQ lists the most common things which people think are bugs, but which aren't bugs.;½Ę!Ź!4 6€€T˜‘€8‚€ƒ€€€‚’•Download the latest development snapshot and see if the problem still happens with that. This really is worth doing. As a general rule we aren't very interested in bugs that appear in the release version but not in the development version, because that usually means they are bugs we have already fixed. On the other hand, if you can find a bug in the development version that doesn't appear in the release, that's likely to be a new bug we've introduced since the release and we're definitely interested in it.¶ĘĒ!·Ź!& €!€˜€€‚’If none of those options solved your problem, and you still need to report a bug to us, it is useful if you include some general information:['Ź!Ģ!4 6€O€T˜‘€8‚€ƒ€€€‚’•Tell us what version of PuTTY you are running. To find this out, use the ‘About PuTTY’ option from the System menu. Please do not just tell us ‘I'm running the latest version’; e-mail can be delayed and it may not be obvious which version was the latest at the time you sent the message.(ś·Ź!:Ķ!. *€õ€T˜‘€8‚€ƒ€‚’•PuTTY is a multi-platform application; tell us what version of what OS you are running PuTTY on. (If you're running on Unix, or Windows for Alpha, tell us, or we'll assume you're running on Windows for Intel as this is overwhelmingly the case.)‚UĢ!¼Ķ!- *€Ŗ€T˜‘€8‚€ƒ€‚’•Tell us what protocol you are connecting with: SSH, Telnet, Rlogin or Raw mode.Ż:Ķ!ĶĪ!4 6€»€T˜‘€8‚€ƒ€ć{ÄłN‰‚’•Tell us what kind of server you are connecting to; what OS, and if possible what SSH server (if you're using SSH). You can get some of this information from the PuTTY Event Log (see section 3.1.3.1 in the manual).ā¼Ķ! ". *€Å€T˜‘€8‚€ƒ€‚’•Send us the contents of the PuTTY Event Log, unless you have a specific reason not to (for example, if it contains confidential information that you think we should be able to solve your problem without needing to know).ĶĪ! "AĆ!óæĶĪ!’"4 6€€T˜‘€8‚€ƒ€€€‚’•Try to give us as much information as you can to help us see the problem for ourselves. If possible, give us a step-by-step sequence of precise instructions for reproducing the fault.Ž° "Ż". *€a€T˜‘€8‚€ƒ€‚’•Don't just tell us that PuTTY ‘does the wrong thing’; tell us exactly and precisely what it did, and also tell us exactly and precisely what you think it should have done instead. Some people tell us PuTTY does the wrong thing, and it turns out that it was doing the right thing and their expectations were wrong. Help to avoid this problem by telling us exactly what you think it should have done, and exactly what it did do.“€’"‘"4 6€€T˜‘€8‚€ƒ€€€‚’•If you think you can, you're welcome to try to fix the problem yourself. A patch to the code which fixes a bug is an excellent addition to a bug report. However, a patch is never a substitute for a good bug report; if your patch is wrong or inappropriate, and you haven't supplied us with full information about the actual bug, then we won't be able to find a better solution.*óŻ"»"7 <€ē€T˜‘€8‚€ƒ€€€€‚’•http://www.chiark.greenend.org.uk/~sgtatham/bugs.html is an article on how to report bugs effectively in general. If your bug report is particularly unclear, we may ask you to go away, read this article, and then report the bug again.•Q‘"P"D V€£€˜€€€€€€€€ć`‹łN‰€€‚’It is reasonable to report bugs in PuTTY's documentation, if you think the documentation is unclear or unhelpful. But we do need to be given exact details of what you think the documentation has failed to tell you, or how you think it could be made clearer. If your problem is simply that you don't understand the documentation, we suggest posting to a newsgroup (see section B.1.2) and seeing if someone will explain what you need to know. Then, if you think the documentation could usefully have told you that, send us a bug report and explain how you think we should change it.‡V»"×"1Æ 6‚C.‚D”×"+ "’B"Section B.3: Requesting extra featuresCBB("btn_up","JI(`',`t00000252')");EB("btn_up")T+P"+ ") "€V€€€€‚’Section B.3: Requesting extra featuresZ×"Ŗ "% €“€˜€€‚’If you want to request a new feature in PuTTY, the very first things you should do are:@ + "ź "4 6€€T˜‘€8‚€ƒ€ćc‹łN‰‚’•Check the Wishlist page on the PuTTY website, and see if your feature is already on the list. If it is, it probably won't achieve very much to repeat the request. (But see section B.4 if you want to persuade us to give your particular feature higher priority.)qCŖ "[ ". *€‡€T˜‘€8‚€ƒ€‚’•Check the Wishlist and Change Log on the PuTTY website, and see if we have already added your feature in the development snapshots. If it isn't clear, download the latest development snapshot and see if the feature is present. If it is, then it will also be in the next release and there is no need to mail us at all.éź "p ", &€Ó€˜€€€€‚’If you can't find your feature in either the development snapshots or the Wishlist, then you probably do need to submit a feature request. Since the PuTTY authors are very busy, it helps if you try to do some of the work for us:“†[ "0@". *€ €T˜‘€8‚€ƒ€‚’•Do as much of the design as you can. Think about ‘corner cases’; think about how your feature interacts with other existing features. Think about the user interface; if you can't come up with a simple and intuitive interface to your feature, you shouldn't be surprised if we can't either. Always imagine whether it's possible for there to be more than one, or less than one, of something you'd assumed there would be one of. (For example, if you were to want PuTTY to put an icon in the System tray rather than the Taskbar, you should think about what happens if there's more than one PuTTY active; how woup "0@"P"ld the user tell which was which?)b.p "’B"4 6€]€T˜‘€8‚€ƒ€ćŒ‹łN‰‚’•If you can program, it may be worth offering to write the feature yourself and send us a patch. However, it is likely to be helpful if you confer with us first; there may be design issues you haven't thought of, or we may be about to make big changes to the code which your patch would clash with, or something. If you check with the maintainers first, there is a better chance of your code actually being usable. Also, read the design principles listed in appendix D: if you do not conform to them, we will probably not be able to accept your patch.¢q0@"4C"1:3DkˆD¢4C"£C"nJ"Section B.4: Requesting features that have already been requestedCBB("btn_up","JI(`',`t00000252')");EB("btn_up")oF’B"£C") "€Œ€€€€‚’Section B.4: Requesting features that have already been requestedsG4C"E", &€€˜€€€€‚’If a feature is already listed on the Wishlist, then it usually means we would like to add it to PuTTY at some point. However, this may not be in the near future. If there's a feature on the Wishlist which you would like to see in the near future, there are several things you can do to try to increase its priority level:Č£C"G": B€‘€T˜‘€8‚€ƒ€€€€€‚’•Mail us and vote for it. (Be sure to mention that you've seen it on the Wishlist, or we might think you haven't even read the Wishlist). This probably won't have very much effect; if a huge number of people vote for something then it may make a difference, but one or two extra votes for a particular feature are unlikely to change our priority list immediately. Offering a new and compelling justification might help. Also, don't expect a reply.{AE"“I": B€ƒ€T˜‘€8‚€ƒ€€€€€‚’•Offer us money if we do the work sooner rather than later. This sometimes works, but not always. The PuTTY team all have full-time jobs and we're doing all of this work in our free time; we may sometimes be willing to give up some more of our free time in exchange for some money, but if you try to bribe us for a big feature it's entirely possible that we simply won't have the time to spare - whether you pay us or not. (Also, we don't accept bribes to add bad features to the Wishlist, because our desire to provide high-quality software to the users comes first.)Ū§G"nJ"4 6€O€T˜‘€8‚€ƒ€€€‚’•Offer to help us write the code. This is probably the only way to get a feature implemented quickly, if it's a big one that we don't have time to do ourselves.~M“I"ģJ"1®.‚DgE£ģJ"7K"¦ƒ"Section B.5: Support requestsCBB("btn_up","JI(`',`t00000252')");EB("btn_up")K"nJ"7K") "€D€€€€‚’Section B.5: Support requests€TģJ"·L", &€©€˜€€€€‚’If you're trying to make PuTTY do something for you and it isn't working, but you're not sure whether it's a bug or not, then please consider looking for help somewhere else. This is one of the most common types of mail the PuTTY team receives, and we simply don't have time to answer all the questions. Questions of this type include:Ī7K"¹M"4 6€€T˜‘€8‚€ƒ€ć`‹łN‰‚’•If you want to do something with PuTTY but have no idea where to start, and reading the manual hasn't helped, try posting to a newsgroup (see section B.1.2) and see if someone can explain it to you. Š·L"ĆO": B€”€T˜‘€8‚€ƒ€ć`‹łN‰€€‚’•If you have tried to do something with PuTTY but it hasn't worked, and you aren't sure whether it's a bug in PuTTY or a bug in your SSH server or simply that you're not doing it right, then try posting to a newsgroup (see section B.1.2) and see if someone can solve your problem. Or try doing the same thing with a different SSH client and see if it works with that. Please do not report it as a PuTTY bug unless you are really sure it is a bug in PuTTY.ī¹M"ė€". *€Ż€T˜‘€8‚€ƒ€‚’•If someone ĆO"ė€"nJ"else installed PuTTY for you, or you're using PuTTY on someone else's computer, try asking them for help first. They're more likely to understand how they installed it and what they expected you to use it for than we are.ūĶĆO"ę‚". *€›€T˜‘€8‚€ƒ€‚’•If you have successfully made a connection to your server and now need to know what to type at the server's command prompt, or other details of how to use the server-end software, talk to your server's system administrator. This is not the PuTTY team's problem. PuTTY is only a communications tool, like a telephone; if you can't speak the same language as the person at the other end of the phone, it isn't the telephone company's job to teach it to you.Ąšė€"¦ƒ"& €5€˜€€‚’If you absolutely cannot get a support question answered any other way, you can try mailing it to us, but we can't guarantee to have time to answer it.‡Vę‚"-„"1kˆDĘE¤-„"„"?‰"Section B.6: Web server administrationCBB("btn_up","JI(`',`t00000252')");EB("btn_up")T+¦ƒ"„") "€V€€€€‚’Section B.6: Web server administrationd8-„"å…", &€q€˜€€€€‚’If the PuTTY web site is down (Connection Timed Out), please don't bother mailing us to tell us about it. Most of us read our e-mail on the same machines that host the web site, so if those machines are down then we will notice before we read our e-mail. So there's no point telling us our servers are down.öŹ„"Ū†", &€•€˜€€€€‚’Of course, if the web site has some other error (Connection Refused, 404 Not Found, 403 Forbidden, or something else) then we might not have noticed and it might still be worth telling us about it.d2å…"?‰"2 2€e€˜€€€€€€‚’If you want to report a problem with our web site, check that you're looking at our real web site and not a mirror. The real web site is at http://www.chiark.greenend.org.uk/~sgtatham/putty/; if that's not where you're reading this, then don't report the problem to us until you've checked that it's really a problem with the main site. If it's only a problem with the mirror, you should try to contact the administrator of that mirror site first, and only contact us if that doesn't solve the problem (in case we need to remove the mirror from our list).ŠYŪ†"ɉ"1°gE€E„ɉ" Š"…Ą"Section B.7: Asking permission for thingsCBB("btn_up","JI(`',`t00000252')");EB("btn_up")W.?‰" Š") "€\€€€€‚’Section B.7: Asking permission for things]ɉ"Ƌ"2 2€»€˜€€ć‹‹łN‰€€‚’PuTTY is distributed under the MIT Licence (see appendix C for details). This means you can do almost anything you like with our software, our source code, and our documentation. The only things you aren't allowed to do are to remove our copyright notices or the licence text itself, or to hold us legally responsible if something goes wrong.)ż Š"ŲŒ", &€ū€˜€€€€‚’So if you want permission to include PuTTY on a magazine cover disk, or as part of a collection of useful software on a CD or a web site, then permission is already granted. You don't have to mail us and ask. Just go ahead and do it. We don't mind.Ų²Ƌ"°Ž"& €e€˜€€‚’(If you want to distribute PuTTY alongside your own application for use with that application, or if you want to distribute PuTTY within your own organisation, then we recommend, but do not insist, that you offer your own first-line technical support, to answer questions about the interaction of PuTTY with your environment. If your users mail us directly, we won't be able to tell them anything useful about your specific setup.)šŲŒ"ʏ"& €į€˜€€‚’If you want to use parts of the PuTTY source code in another program, then it might be worth mailing us to talk about technical details, but if all you want is to ask permission then you don't need to bother. You already have permission.³‡°Ž"…Ą", &€€˜€€€€‚’If you just wʏ"…Ą"?‰"ant to link to our web site, just go ahead. (It's not clear that we could stop you doing this, even if we wanted to!)ŠYʏ"Į"1.ĘE;„E¦Į"fĮ"=Ę"Section B.8: Mirroring the PuTTY web siteCBB("btn_up","JI(`',`t00000252')");EB("btn_up")W.…Ą"fĮ") "€\€€€€‚’Section B.8: Mirroring the PuTTY web siteܶĮ"BĀ"& €m€˜€€‚’If you want to set up a mirror of the PuTTY website, go ahead and set one up. Please don't bother asking us for permission before setting up a mirror. You already have permission.0 fĮ"rĆ"& €€˜€€‚’If the mirror is in a country where we don't already have plenty of mirrors, we may be willing to add it to the list on our mirrors page. Read the guidelines on that page, make sure your mirror works, and email us the information listed at the bottom of the page.Ē›BĀ"9Ä", &€7€˜€€€€‚’Note that we do not promise to list your mirror: we get a lot of mirror notifications and yours may not happen to find its way to the top of the list.Õ©rĆ"Å", &€S€˜€€€€‚’Also note that we link to all our mirror sites using the rel="nofollow" attribute. Running a PuTTY mirror is not intended to be a cheap way to gain search rankings./ 9Ä"=Ę"& €€˜€€‚’If you have technical questions about the process of mirroring, then you might want to mail us before setting up the mirror (see also the guidelines on the Mirrors page); but if you just want to ask for permission, you don't need to. You already have permission.„SÅ"ĮĘ"1Ų€Em†E§ĮĘ"Ē"™É"Section B.9: Praise and complimentsCBB("btn_up","JI(`',`t00000252')");EB("btn_up")Q(=Ę"Ē") "€P€€€€‚’Section B.9: Praise and complimentsÉ£ĮĘ"ŪĒ"& €G€˜€€‚’One of the most rewarding things about maintaining free software is getting e-mails that just say ‘thanks’. We are always happy to receive e-mails of this type.,Ē"É", &€€˜€€€€‚’Regrettably we don't have time to answer them all in person. If you mail us a compliment and don't receive a reply, please don't think we've ignored you. We did receive it and we were happy about it; we just didn't have time to tell you so personally.’gŪĒ"™É"+ &€Ī€˜€€€€‚’To everyone who's ever sent us praise and compliments, in the past and the future: you're welcome!}LÉ"Ź"1¶;„EĻ†EØŹ"`Ź"ĢŹ"Section B.10: E-mail addressCBB("btn_up","JI(`',`t00000252')");EB("btn_up")J!™É"`Ź") "€B€€€€‚’Section B.10: E-mail addresslAŹ"ĢŹ"+ &€‚€˜€€€€‚’The actual address to mail is .tC`Ź"@Ė"1m†EF©@Ė"‡Ė"b#Appendix C: PuTTY LicenceCBB("btn_up","JI(`',`Top')");EB("btn_up")GĢŹ"‡Ė") "€<€€€€‚’Appendix C: PuTTY LicenceR-@Ė"ŁĖ"% €Z€˜€€‚’PuTTY is copyright 1997-2015 Simon Tatham.ķ‡Ė"ģĢ"& €Ū€˜€€‚’Portions copyright Robert de Bath, Joris van Rantwijk, Delian Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry, Justin Bradford, Ben Harris, Malcolm Smith, Ahmad Khalifa, Markus Kuhn, Colin Watson, and CORE SDI S.A.Ł³ŁĖ"ÅĪ"& €g€˜€€‚’Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:§ģĢ"lĻ"& €€˜€€‚’The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.źÄÅĪ"b#& €‰€˜€€‚’THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITEDlĻ"b#ĢŹ" TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.zIlĻ"Ü#1rĻ†EˆFŖÜ#)#N#Appendix D: PuTTY hacking guideCBB("btn_up","JI(`',`Top')");EB("btn_up")M$b#)#) "€H€€€€‚’Appendix D: PuTTY hacking guideŠŖÜ#ł#& €U€˜€€‚’This appendix lists a selection of the design principles applying to the PuTTY source code. If you are planning to send code contributions, you should read this first.W()#P#/ .€P€ć‹łN€€€‰‚’Section D.1: Cross-OS portabilityd5ł#“#/ .€j€ćŽ‹łN€€€‰‚’Section D.2: Multiple backends treated equallyrCP#&#/ .€†€ć‹łN€€€‰‚’Section D.3: Multiple sessions per process on some platformsM“#s#/ .€<€ć»‹łN€€€‰‚’Section D.4: C, not C++\-&#Ļ#/ .€Z€ć²‹łN€€€‰‚’Section D.5: Security-conscious codingd5s#3#/ .€j€ć³‹łN€€€‰‚’Section D.6: Independence of specific compilerR#Ļ#…#/ .€F€ć“‹łN€€€‰‚’Section D.7: Small code sizeW(3#Ü#/ .€P€ćµ‹łN€€€‰‚’Section D.8: Single-threaded coderC…#N#/ .€†€ć¶‹łN€€€‰‚’Section D.9: Keystrokes sent to the server wherever possiblepAÜ#¾#/ .€‚€ć·‹łN€€€‰‚’Section D.10: 640×480 friendliness in configuration panelsm8N#+#5 :€p€ćø‹łN€€€€€‰‚’Section D.11: Automatically generated Makefiles[)¾#†#2 4€R€ć¹‹łN€€€€‰‚’Section D.12: Coroutines in ssh.cj;+#š#/ .€v€ćŗ‹łN€€€‰‚’Section D.13: Single compilation of each source file^/†#N#/ .€^€ćꋳN€€€‰‚’Section D.14: Do as we say, not as we do‚Qš#Š#1‹F€F«Š# #gA#Section D.1: Cross-OS portabilityCBB("btn_up","JI(`',`t00000266')");EB("btn_up")O&N# #) "€L€€€€‚’Section D.1: Cross-OS portabilityóĶŠ# #& €›€˜€€‚’Despite Windows being its main area of fame, PuTTY is no longer a Windows-only application suite. It has a working Unix port; a Mac port is in progress; more ports may or may not happen at a later date.³ #Å #2 2€€˜€€€€€€‚’Therefore, embedding Windows-specific code in core modules such as ssh.c is not acceptable. We went to great lengths to remove all the Windows-specific stuff from our core modules, and to shift it out into Windows-specific modules. Adding large amounts of Windows-specific stuff in parts of the code that should be portable is almost guaranteed to make us reject a contribution.N # #8 >€-€˜€€€€€€€€‚’The PuTTY source base is divided into platform-specific modules and platform-generic modules. The Unix-specific modules are all in the unix subdirectory; the Mac-specific modules are in the mac subdirectory; the Windows-specific modules are in the windows subdirectory.ČœÅ #Ū #, &€9€˜€€€€‚’All the modules in the main source directory - notably all of the code for the various back ends - are platform-generic. We want to keep them that way.[) #6#2 2€S€˜€€€€€€‚’This also means you should stick to what you are guaranteed by ANSI/ISO C (that is, the original C89/C90 standard, not C99). Try not to make assumptions about the precise size of basic types such as int and long int; don't use pointer casts to do endianness-dependent operations, and so on.%įŪ #gA#D V€Ć€˜€€€€€€€€€€€€‚’(There are one or two aspects of ANSI C portability which we don't care about. In particular, we expect PuTTY to be compiled on 32-6#gA#N#bit architectures or bigger; so it's safe to assume that int is at least 32 bits wide, not just the 16 you are guaranteed by ANSI C. Similarly, we assume that the execution character encoding is a superset of the printable characters of ASCII, though we don't assume the numeric values of control characters, particularly '\n' and '\r'.)^6#öA#1=ˆF¶„F¬öA#RB#3G#Section D.2: Multiple backends treated equallyCBB("btn_up","JI(`',`t00000266')");EB("btn_up")\3gA#RB#) "€f€€€€‚’Section D.2: Multiple backends treated equallyõĆöA#GE#2 2€‡€˜€€€€€€‚’PuTTY is not an SSH client with some other stuff tacked on the side. PuTTY is a generic, multiple-backend, remote VT-terminal client which happens to support one backend which is larger, more popular and more useful than the rest. Any extra feature which can possibly be general across all backends should be so: localising features unnecessarily into the SSH back end is a design error. (For example, we had several code submissions for proxy support which worked by hacking ssh.c. Clearly this is completely wrong: the network.h abstraction is the place to put it, so that it will apply to all back ends equally, and indeed we eventually put it there after another contributor sent a better patch.)ģĄRB#3G#, &€€˜€€€€‚’The rest of PuTTY should try to avoid knowing anything about specific back ends if at all possible. To support a feature which is only available in one network protocol, for example, the back end interface should be extended in a general manner such that any back end which is able to provide that feature can do so. If it so happens that only one back end actually does, that's just the way it is, but it shouldn't be relied upon by any code.lGE#ŠG#1¤€F”‰F­ŠG#:H#tM#Section D.3: Multiple sessions per process on some platformsCBB("btn_up","JI(`',`t00000266')");EB("btn_up")jA3G#:H#) "€‚€€€€‚’Section D.3: Multiple sessions per process on some platformsĢ¦ŠG#I#& €M€˜€€‚’Some ports of PuTTY - notably the in-progress Mac port - are constrained by the operating system to run as a single process potentially managing multiple sessions.¼~:H#ĀK#> J€ż€˜€€€€€€€€€€‚’Therefore, the platform-independent parts of PuTTY never use global variables to store per-session data. The global variables that do exist are tolerated because they are not specific to a particular login session: flags defines properties that are expected to apply equally to all the sessions run by a single PuTTY process, the random number state in sshrand.c and the timer list in timing.c serve all sessions equally, and so on. But most data is specific to a particular network session, and is therefore stored in dynamically allocated data structures, and pointers to these structures are passed around between functions.²†I#tM#, &€ €˜€€€€‚’Platform-specific code can reverse this decision if it likes. The Windows code, for historical reasons, stores most of its data as global variables. That's OK, because on Windows we know there is only one session per PuTTY process, so it's safe to do that. But changes to the platform-independent code should avoid introducing global variables, unless they are genuinely cross-session.xGĀK#ģM#1ż¶„F!G®ģM#1N#õƒ#Section D.4: C, not C++CBB("btn_up","JI(`',`t00000266')");EB("btn_up")EtM#1N#) "€8€€€€‚’Section D.4: C, not C++S.ģM#„N#% €\€˜€€‚’PuTTY is written entirely in C, not in C++.ņØ1N#‚€#J b€Q€˜€€€€€€€€€€€€€€‚’We have made some effort to make it easy to compile our code using a C++ compiler: notably, our snew, snewn and sresize macros explicitly cast the return values of malloc and realloc to the target type. (This has type checking advantages even in C: it means you never accidentally allocate the„N#‚€#tM# wrong size piece of memory for the pointer type you're assigning it to. C++ friendliness is really a side benefit.)”u„N##‚#, &€ė€˜€€€€‚’We want PuTTY to continue being pure C, at least in the platform-independent parts and the currently existing ports. Patches which switch the Makefiles to compile it as C++ and start using classes will not be accepted. Also, in particular, we disapprove of // comments, at least for the moment. (Perhaps once C99 becomes genuinely widespread we might be more lenient.)Ņ¬‚€#õƒ#& €Y€˜€€‚’The one exception: a port to a new platform may use languages other than C if they are necessary to code on that platform. If your favourite PDA has a GUI with a C++ API, then there's no way you can do a port of PuTTY without using C++, so go ahead and use it. But keep the C++ restricted to that platform's subdirectory; if your changes force the Unix or Windows ports to be compiled as C++, they will be unacceptable to us.‡V#‚#|„#1±”‰FQGÆ|„#Š„#-‡#Section D.5: Security-conscious codingCBB("btn_up","JI(`',`t00000266')");EB("btn_up")T+õƒ#Š„#) "€V€€€€‚’Section D.5: Security-conscious codingūÕ|„#Ė…#& €«€˜€€‚’PuTTY is a network application and a security application. Assume your code will end up being fed deliberately malicious data by attackers, and try to code in a way that makes it unlikely to be a security risk.b0Š„#-‡#2 2€a€˜€€€€€€‚’In particular, try not to use fixed-size buffers for variable-size data such as strings received from the network (or even the user). We provide functions such as dupcat and dupprintf, which dynamically allocate buffers of the right size for the string they construct. Use these wherever possible.^Ė…#¼‡#1…!GĮ G°¼‡#ˆ#A#Section D.6: Independence of specific compilerCBB("btn_up","JI(`',`t00000266')");EB("btn_up")\3-‡#ˆ#) "€f€€€€‚’Section D.6: Independence of specific compilerźø¼‡#‰#2 2€q€˜€€€€€€‚’Windows PuTTY can currently be compiled with any of four Windows compilers: MS Visual C, Borland's freely downloadable C compiler, the Cygwin / mingw32 GNU tools, and lcc-win32.Öˆ# ‹#2 2€­€˜€€€€€€‚’This is a really useful property of PuTTY, because it means people who want to contribute to the coding don't depend on having a specific compiler; so they don't have to fork out money for MSVC if they don't already have it, but on the other hand if they do have it they also don't have to spend effort installing gcc alongside it. They can use whichever compiler they happen to have available, or install whichever is cheapest and easiest if they don't have one.ņ‰#(Ž#, &€å€˜€€€€‚’Therefore, we don't want PuTTY to start depending on which compiler you're using. Using GNU extensions to the C language, for example, would ruin this useful property (not that anyone's ever tried it!); and more realistically, depending on an MS-specific library function supplied by the MSVC C library (_snprintf, for example) is a mistake, because that function won't be available under the other compilers. Any function supplied in an official Windows DLL as part of the Windows API is fine, and anything defined in the C library standard is also fine, because those should be available irrespective of compilation environment. But things in between, available as non-standard library and language extensions in only one compiler, are disallowed.f ‹#Ŏ#7 >€Ģ€˜€€€€€€ć²‹łN‰‚’(_snprintf in particular should be unnecessary, since we provide dupprintf; see section D.5.)|W(Ž#A#% €®€˜€€‚’Compiler independence should apply on all platforms, of course, not just on Windows.}LŎ#¾#1AQGM†G±¾#Ą# Ē#Section D.7: Small code sizeCBB("btn_up","JI(`',`t00000266')");EB("btn_up")J!A#Ą#) "€B€€€€‚’Section D.7: Small cod¾#Ą#A#e size)¾#=Į#& €€˜€€‚’PuTTY is tiny, compared to many other Windows applications. And it's easy to install: it depends on no DLLs, no other applications, no service packs or system upgrades. It's just one executable. You install that executable wherever you want to, and run it.gAĄ#¤Ā#& €ƒ€˜€€‚’We want to keep both these properties - the small size, and the ease of installation - if at all possible. So code contributions that depend critically on external DLLs, or that add a huge amount to the code size for a feature which is only useful to a small minority of users, are likely to be thrown out immediately.¶„=Į#ZÅ#2 2€ €˜€€€€€€‚’We do vaguely intend to introduce a DLL plugin interface for PuTTY, whereby seriously large extra features can be implemented in plugin modules. The important thing, though, is that those DLLs will be optional; if PuTTY can't find them on startup, it should run perfectly happily and just won't provide those particular features. A full installation of PuTTY might one day contain ten or twenty little DLL plugins, which would cut down a little on the ease of installation - but if you really needed ease of installation you could still just install the one PuTTY binary, or just the DLLs you really needed, and it would still work fine.±…¤Ā# Ē#, &€ €˜€€€€‚’Depending on external DLLs is something we'd like to avoid if at all possible (though for some purposes, such as complex SSH authentication mechanisms, it may be unavoidable). If it can't be avoided, the important thing is to follow the same principle of graceful degradation: if a DLL can't be found, then PuTTY should run happily and just not supply the feature that depended on it.‚QZÅ#Ē#1bĮ GH²Ē#ÜĒ# $Section D.8: Single-threaded codeCBB("btn_up","JI(`',`t00000266')");EB("btn_up")O& Ē#ÜĒ#) "€L€€€€‚’Section D.8: Single-threaded code‰dĒ#eČ#% €Č€˜€€‚’PuTTY and its supporting tools, or at least the vast majority of them, run in only one OS thread.ŻÜĒ#hÉ#& €»€˜€€‚’This means that if you're devising some piece of internal mechanism, there's no need to use locks to make sure it doesn't get called by two threads at once. The only way code can be called re-entrantly is by recursion.–^eČ#žŹ#8 >€½€˜€€€€€€€€‚’That said, most of Windows PuTTY's network handling is triggered off Windows messages requested by WSAAsyncSelect(), so if you call MessageBox() deep within some network event handling code you should be aware that you might be re-entered if a network event comes in and is passed on to our window procedure by the MessageBox() message loop.—ShÉ#•Ķ#D V€§€˜€€€€€€€€€€€€‚’Also, the front ends (in particular Windows Plink) can use multiple threads if they like. However, Windows Plink keeps very tight control of its auxiliary threads, and uses them pretty much exclusively as a form of select(). Pretty much all the code outside windows/winplink.c is only ever called from the one primary thread; the others just loop round blocking on file handles and send messages to the main thread when some real work needs doing. This is not considered a portability hazard because that bit of windows/winplink.c will need rewriting on other platforms in any case.Z(žŹ# $2 2€Q€˜€€ć‹łN‰€€‚’One important consequence of this: PuTTY has only one thread in which to do everything. That ‘everything’ may include managing more than one login session (section D.3), managing multiple data channels within an SSH session, responding to GUI events even when nothing is happening on the network, and responding to network requests from the server (such as repeat key exchange) even when the program is dealing with complex user interaction such as the re-configuration dialog box. This means that almost none of the PuTTY code can safely block.•Ķ# $ Ē#l•Ķ#©$1QM†GÖH³©$$ś$Section D.9: Keystrokes sent to the server wherever possibleCBB("btn_up","JI(`',`t00000266')");EB("btn_up")jA $$) "€‚€€€€‚’Section D.9: Keystrokes sent to the server wherever possibleŒf©$Ÿ$& €Ķ€˜€€‚’In almost all cases, PuTTY sends keystrokes to the server. Even weird keystrokes that you think should be hot keys controlling PuTTY. Even Alt-F4 or Alt-Space, for example. If a keystroke has a well-defined escape sequence that it could usefully be sending to the server, then it should do so, or at the very least it should be configurably able to do so.[/$ś$, &€_€˜€€€€‚’To unconditionally turn a key combination into a hot key to control PuTTY is almost always a design error. If a hot key is really truly required, then try to find a key combination for it which isn't already used in existing PuTTYs (either it sends nothing to the server, or it sends the same thing as some other combination). Even then, be prepared for the possibility that one day that key combination might end up being needed to send something to the server - so make sure that there's an alternative way to invoke whatever PuTTY feature it controls.›jŸ$•$18H“H“•$ż$Ķ$Section D.10: 640×480 friendliness in configuration panelsCBB("btn_up","JI(`',`t00000266')");EB("btn_up")h?ś$ż$) "€~€€€€‚’Section D.10: 640×480 friendliness in configuration panelsb<•$_$& €y€˜€€‚’There's a reason we have lots of tiny configuration panels instead of a few huge ones, and that reason is that not everyone has a 1600×1200 desktop. 640×480 is still a viable resolution for running Windows (and indeed it's still the default if you start up in safe mode), so it's still a resolution we care about.nBż$Ķ$, &€…€˜€€€€‚’Accordingly, the PuTTY configuration box, and the PuTTYgen control window, are deliberately kept just small enough to fit comfortably on a 640×480 display. If you're adding controls to either of these boxes and you find yourself wanting to increase the size of the whole box, don't. Split it into more panels instead.__$] $1šÖH¬Hµ] $Ā $YB$Section D.11: Automatically generated MakefilesCBB("btn_up","JI(`',`t00000266')");EB("btn_up")e6Ķ$Ā $/ .€l€€€€€ €‚’Section D.11: Automatically generated Makefilesd2] $& $2 2€e€˜€€€€€€‚’PuTTY is intended to compile on multiple platforms, and with multiple compilers. It would be horrifying to try to maintain a single Makefile which handled all possible situations, and just as painful to try to directly maintain a set of matching Makefiles for each different compilation environment.=Ā $§ $D V€{€˜€€€€€€€€€€€€‚’Therefore, we have moved the problem up by one level. In the PuTTY source archive is a file called Recipe, which lists which source files combine to produce which binaries; and there is also a script called mkfiles.pl, which reads Recipe and writes out the real Makefiles. (The script also reads all the source files and analyses their dependencies on header files, so we get an extra benefit from doing it this way, which is that we can supply correct dependency information even in environments where it's difficult to set up an automated make depend phase.)żæ& $¤$> J€€˜€€€€€€€€€€‚’You should never edit any of the PuTTY Makefiles directly. They are not stored in our source repository at all. They are automatically generated by mkfiles.pl from the file Recipe.O§ $=@$> J€Ÿ€˜€€€€€€€€€€‚’If you need to add a new object file to a particular binary, the right thing to do is to edit Recipe and re-run mkfiles.pl. This will cause the new object file to be added in every tool that requires it, on every platform where it matters, in every Makefile to which it is releva¤$=@$Ķ$nt, and to get all the dependency data right.L¤$‰A$D V€€˜€€€€€€€€€€€€‚’If you send us a patch that modifies one of the Makefiles, you just waste our time, because we will have to convert it into a change to Recipe. If you send us a patch that modifies all of the Makefiles, you will have wasted a lot of your time as well!Š¤=@$YB$, &€I€˜€€€€‚’(There is a comment at the top of every Makefile in the PuTTY source archive saying this, but many people don't seem to read it, so it's worth repeating here.)‚Q‰A$ŪB$1†“H8…H¶ŪB$.C$aG$Section D.12: Coroutines in ssh.cCBB("btn_up","JI(`',`t00000266')");EB("btn_up")S'YB$.C$, (€N€€€€€ ‚’Section D.12: Coroutines in ssh.cĘŪB$ņC$, &€1€˜€€€€‚’Large parts of the code in ssh.c are structured using a set of macros that implement (something close to) Donald Knuth's ‘coroutines’ concept in C. ×.C$ūD$2 2€Æ€˜€€€€€€‚’Essentially, the purpose of these macros are to arrange that a function can call crReturn() to return to its caller, and the next time it is called control will resume from just after that crReturn statement.§cņC$¢F$D V€Ē€˜€€€€€€€€€€€€‚’This means that any local (automatic) variables declared in such a function will be corrupted every time you call crReturn. If you need a variable to persist for longer than that, you must make it a field in one of the persistent state structures: either the local state structures s or st in each function, or the backend-wide structure ssh.æ“ūD$aG$, &€'€˜€€€€‚’See http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html for a more in-depth discussion of what these macros are for and how they work.•d¢F$öG$1Ó¬HI·öG$XH$Հ$Section D.13: Single compilation of each source fileCBB("btn_up","JI(`',`t00000266')");EB("btn_up")b9aG$XH$) "€r€€€€‚’Section D.13: Single compilation of each source fileZöG$×H$% €“€˜€€‚’The PuTTY build system for any given platform works on the following very simple model:€SXH$WI$- *€¦€T˜‘€8‚€ƒ€‚’•Each source file is compiled precisely once, to produce a single object file.…X×H$ÜI$- *€°€T˜‘€8‚€ƒ€‚’•Each binary is created by linking together some combination of those object files..ŽWI$ M$P n€½€˜€€€€€€€€€€€€ćø‹łN‰€€‚’Therefore, if you need to introduce functionality to a particular module which is only available in some of the tool binaries (for example, a cryptographic proxy authentication mechanism which needs to be left out of PuTTYtel to maintain its usability in crypto-hostile jurisdictions), the wrong way to do it is by adding #ifdefs in (say) proxy.c. This would require separate compilation of proxy.c for PuTTY and PuTTYtel, which means that the entire Makefile-generation architecture (see section D.11) would have to be significantly redesigned. Unless you are prepared to do that redesign yourself, and guarantee that it will still port to any future platforms we might decide to run on, you should not attempt this!#ńÜI$-O$2 2€ć€˜€€€€€€‚’The right way to introduce a feature like this is to put the new code in a separate source file, and (if necessary) introduce a second new source file defining the same set of functions, but defining them as stubs which don't provide the feature. Then the module whose behaviour needs to vary (proxy.c in this example) can call the functions defined in these two modules, and it will either provide the new feature or not provide it according to which of your new modules it is linked with.œ^ M$Հ$> J€½€˜€€€€€€€€€€‚’Of course, object files are never shared between platforms; so it is allowable to use #ifdef to select between platforms. This happens in putty-O$Հ$aG$ps.h (choosing which of the platform-specific include files to use), and also in misc.c (the Windows-specific ‘Minefield’ memory diagnostic system). It should be used sparingly, though, if at all.‰X-O$^$1¼8…HAIø^$“$„$Section D.14: Do as we say, not as we doCBB("btn_up","JI(`',`t00000266')");EB("btn_up")V-Հ$“$) "€Z€€€€‚’Section D.14: Do as we say, not as we doF^$ś‚$, &€5€˜€€€€‚’The current PuTTY code probably does not conform strictly to all of the principles listed above. There may be the occasional SSH-specific piece of code in what should be a backend-independent module, or the occasional dependence on a non-standard X library function under Unix. ś“$„$& €õ€˜€€‚’This should not be taken as a licence to go ahead and violate the rules. Where we violate them ourselves, we're not happy about it, and we would welcome patches that fix any existing problems. Please try to help us make our code better, not worse!‰Xś‚$£„$1.IAI¹£„$’„$щ$Appendix E: PuTTY download keys and signaturesCBB("btn_up","JI(`',`Top')");EB("btn_up")\3„$’„$) "€f€€€€‚’Appendix E: PuTTY download keys and signatures²Œ£„$±†$& €€˜€€‚’We create GPG signatures for all the PuTTY files distributed from our web site, so that users can be confident that the files have not been tampered with. Here we identify our public keys, and explain our signature policy so you can have an accurate idea of what each signature guarantees. This description is provided as both a web page on the PuTTY site, and an appendix in the PuTTY manual.L ’„$ż‡$, &€A€˜€€€€‚’As of release 0.58, all of the PuTTY executables contain fingerprint material (usually accessed via the -pgpfp command-line option), such that if you have an executable you trust, you can use it to establish a trust path, for instance to a newer version downloaded from the Internet.ä¾±†$įˆ$& €}€˜€€‚’(Note that none of the keys, signatures, etc mentioned here have anything to do with keys used with SSH - they are purely for verifying the origin of files distributed by the PuTTY team.)Nż‡$/‰$/ .€>€ćŻ‹łN€€€‰‚’Section E.1: Public keysS$įˆ$‚‰$/ .€H€ćŽ‹łN€€€‰‚’Section E.2: Security detailsO /‰$щ$/ .€@€ćā‹łN€€€‰‚’Section E.3: Key rolloverN‚‰$PŠ$1‚AI9IŗPŠ$–Š$ŽĮ$Section E.1: Public keysCBB("btn_up","JI(`',`pgpfingerprints')");EB("btn_up")Fщ$–Š$) "€:€€€€‚’Section E.1: Public keysĀ–PŠ$X‹$, &€-€˜€€ćŽ‹łN‰‚’We maintain a set of three keys, stored with different levels of security due to being used in different ways. See section E.2 below for details.F!–Š$ž‹$% €B€˜€€‚’The three keys we provide are:4X‹$Ņ‹$% €€˜€€‚’Snapshot Keyޞ‹$—Œ$' €=€˜‘€€‚’Used to sign routine development builds of PuTTY: nightly snapshots, pre-releases, and sometimes also custom diagnostic builds we send to particular users.3Ņ‹$ŹŒ$% €€˜€€‚’Release KeyZ4—Œ$$$& €h€˜‘€€‚’Used to sign manually released versions of PuTTY.2 ŹŒ$V$% €€˜€€‚’Master Keyø‘$$Ž$' €#€˜‘€€‚’Used to tie the other two keys into the GPG web of trust. The Master Key signs the other two keys, and other GPG users have signed it in turn.Ź¤V$ŲŽ$& €I€˜€€‚’The current issue of those three keys are available for download from the PuTTY website, and are also available on PGP keyservers using the key IDs listed below.2 Ž$ $% €€˜€€‚’Master KeyĖ•ŲŽ$Տ$6 :€+€˜‘€€€€€€€‚’RSA, 4096-bit. Key ID: 4096R/04676F7C (long version: 4096R/AB585DC604676F7C). Fingerprint: 440D E3B5 B7A1 CA85 B3CC 1718 AB58 5DC6 0467 6F7C3 $Ą$% €€˜€€‚’ReleaՏ$Ą$щ$se KeyĖ•Õ$ߥ$6 :€+€˜‘€€€€€€€‚’RSA, 2048-bit. Key ID: 2048R/B43434E4 (long version: 2048R/9DFE2648B43434E4). Fingerprint: 0054 DDAA 8ADA 15D2 768A 6DE7 9DFE 2648 B434 34E44Ą$Į$% €€˜€€‚’Snapshot KeyĖ•ßĄ$ŽĮ$6 :€+€˜‘€€€€€€€‚’RSA, 2048-bit. Key ID: 2048R/D15F7E8A (long version: 2048R/EEF20295D15F7E8A). Fingerprint: 0A3B 0048 FE49 9B67 A234 FEB6 EEF2 0295 D15F 7E8A„SĮ$bĀ$1AIx‚I»bĀ$­Ā$}Ä$Section E.2: Security detailsCBB("btn_up","JI(`',`pgpfingerprints')");EB("btn_up")K"ŽĮ$­Ā$) "€D€€€€‚’Section E.2: Security detailsşbĀ$rĆ$& €?€˜€€‚’The various keys have various different security levels. This section explains what those security levels are, and how far you can expect to trust each key.b3­Ā$ŌĆ$/ .€f€ćߋłN€€€‰‚’Section E.2.1: The Development Snapshots keyU&rĆ$)Ä$/ .€L€ćą‹łN€€€‰‚’Section E.2.2: The Releases keyT%ŌĆ$}Ä$/ .€J€ćį‹łN€€€‰‚’Section E.2.3: The Master Keys\)Ä$ Å$1ž9I>‡I¼ Å$dÅ$ØĖ$Section E.2.1: The Development Snapshots keyCBB("btn_up","JI(`',`t00000282')");EB("btn_up")Z1}Ä$dÅ$) "€b€€€€‚’Section E.2.1: The Development Snapshots key× Å$gĘ$, &€Æ€˜€€€€‚’The Development Snapshots private key is stored without a passphrase. This is necessary, because the snapshots are generated every night without human intervention, so nobody would be able to type a passphrase.“ŽdÅ$Ē$& €€˜€€‚’The snapshots are built and signed on a team member's home computers, before being uploaded to the web server from which you download them.ƒXgĘ$žĒ$+ &€°€˜€€€€‚’Therefore, a signature from the Development Snapshots key DOES protect you against:RĒ$Č$- *€¤€T˜‘€8‚€ƒ€‚’•People tampering with the PuTTY binaries between the PuTTY web site and you.šmžĒ$·Č$- *€Ś€T˜‘€8‚€ƒ€‚’•The maintainers of our web server attempting to abuse their root privilege to tamper with the binaries.T)Č$ É$+ &€R€˜€€€€‚’But it DOES NOT protect you against:‡Z·Č$’É$- *€“€T˜‘€8‚€ƒ€‚’•People tampering with the binaries before they are uploaded to our download servers.¦y É$8Ź$- *€ņ€T˜‘€8‚€ƒ€‚’•People tampering with the build machines so that the next set of binaries they build will be malicious in some way.‚U’É$ŗŹ$- *€Ŗ€T˜‘€8‚€ƒ€‚’•People stealing the unencrypted private key from the build machine it lives on.īČ8Ź$ØĖ$& €‘€˜€€‚’Of course, we take all reasonable precautions to guard the build machines. But when you see a signature, you should always be certain of precisely what it guarantees and precisely what it does not.€OŗŹ$(Ģ$1¾x‚I‡ˆI½(Ģ$uĢ$ęĶ$Section E.2.2: The Releases keyCBB("btn_up","JI(`',`t00000282')");EB("btn_up")M$ØĖ$uĢ$) "€H€€€€‚’Section E.2.2: The Releases key«…(Ģ$ Ķ$& € €˜€€‚’The Releases key is more secure: because it is only used at release time, to sign each release by hand, we can store it encrypted.Ę uĢ$ęĶ$& €A€˜€€‚’The Releases private key is kept encrypted on the developers' own local machines. So an attacker wanting to steal it would have to also steal the passphrase.N Ķ$eĪ$1 >‡IJ¾eĪ$±Ī$…%Section E.2.3: The Master KeysCBB("btn_up","JI(`',`t00000282')");EB("btn_up")L#ęĶ$±Ī$) "€F€€€€‚’Section E.2.3: The Master KeysDeĪ$ %, &€1€˜€€€€‚’The Master Key signs almost nothing. Its purpose is to bind the other keys together and certify that they are all owned by the same people and part of the same integrated setup. The only signatures produced by the Master Key, ever, should be the signatures on the other keys.±Ī$ %ęĶ$‹f±Ī$—%% €Ģ€˜€€‚’The Master Key is especially long, and its private key and passphrase are stored with special care.»• %R%& €+€˜€€‚’We have collected some third-party signatures on the Master Key, in order to increase the chances that you can find a suitable trust path to them.3 —%…%& €€˜€€‚’We have uploaded our various keys to public keyservers, so that even if you don't know any of the people who have signed our keys, you can still be reasonably confident that an attacker would find it hard to substitute fake keys on all the public keyservers at once.€OR%%1ä ‡ˆIņ Jæ%L%é %Section E.3: Key rolloverCBB("btn_up","JI(`',`pgpfingerprints')");EB("btn_up")G…%L%) "€<€€€€‚’Section E.3: Key rolloverpD%¼%, &€‰€˜€€€€‚’Our current three keys were generated in September 2015. Prior to that, we had a much older set of keys generated in 2000. For each of the three key types above, we provided both an RSA key and a DSA key (because at the time we generated them, RSA was not in practice available to everyone, due to export restrictions).ƝL%%& €;€˜€€‚’The new Master Key is signed with both of the old ones, to show that it really is owned by the same people and not substituted by an attacker. Also, we have retrospectively signed the old Release Keys with the new Master Key, in case you're trying to verify the signatures on a release prior to the rollover and can find a chain of trust to those keys from any of the people who have signed our new Master Key.²Œ¼%1%& €€˜€€‚’Future releases will be signed with the up-to-date keys shown above. Releases prior to the rollover are signed with the old Release Keys.X3%‰%% €f€˜€€‚’For completeness, those old keys are given here:E1%Ī%( €:€˜€€€‚’Master Key (original RSA)ɓ‰%—%6 :€'€˜‘€€€€€€€‚’RSA, 1024-bit. Key ID: 1024R/1E34AC41 (long version: 1024R/9D5877BF1E34AC41). Fingerprint: 8F 15 97 DA 25 30 AB 0D 88 D1 92 54 11 CF 0C 4CEĪ%Ü%( €:€˜€€€‚’Master Key (original DSA)Ė•—%§ %6 :€+€˜‘€€€€€€€‚’DSA, 1024-bit. Key ID: 1024D/6A93B34E (long version: 1024D/4F5E6DF56A93B34E). Fingerprint: 313C 3E76 4B74 C2C5 F2AE 83A8 4F5E 6DF5 6A93 B34EFÜ%ķ %( €<€˜€€€‚’Release Key (original RSA)ɓ§ %¶ %6 :€'€˜‘€€€€€€€‚’RSA, 1024-bit. Key ID: 1024R/B41CAE29 (long version: 1024R/EF39CCC0B41CAE29). Fingerprint: AE 65 D3 F7 85 D3 18 E0 3B 0C 9B 02 FF 3A 81 FEFķ %ü %( €<€˜€€€‚’Release Key (original DSA)Ė•¶ %Ē %6 :€+€˜‘€€€€€€€‚’DSA, 1024-bit. Key ID: 1024D/08B0A90B (long version: 1024D/FECD6F3F08B0A90B). Fingerprint: 00B1 1009 38E6 9800 6518 F0AB FECD 6F3F 08B0 A90BGü % %( €>€˜€€€‚’Snapshot Key (original RSA)ɓĒ %× %6 :€'€˜‘€€€€€€€‚’RSA, 1024-bit. Key ID: 1024R/32B903A9 (long version: 1024R/FAAED21532B903A9). Fingerprint: 86 8B 1F 79 9C F4 7F BD 8B 1B D7 8E C6 4E 4C 03G % %( €>€˜€€€‚’Snapshot Key (original DSA)Ė•× %é %6 :€+€˜‘€€€€€€€‚’DSA, 1024-bit. Key ID: 1024D/7D3E4A00 (long version: 1024D/165E56F77D3E4A00). Fingerprint: 63DD 8EF8 32F5 D777 9FF0 2947 165E 56F7 7D3E 4A00†U %o%1ŽJ˜€JĄo%Č%1A%Appendix F: SSH-2 names specified for PuTTYCBB("btn_up","JI(`',`Top')");EB("btn_up")Y0é %Č%) "€`€€€€‚’Appendix F: SSH-2 names specified for PuTTYäo% @%, &€É€˜€€€€‚’There are various parts of the SSH-2 protocol where things are specified using a textual name. Names ending in @putty.projects.tartarus.org are reserved for allocation by the PuTTY team. Allocated names are documented here.Č% @%é %l=Č%x@%/ .€z€ć䋳N€€€‰‚’Section F.1: Connection protocol channel request names\- @%Ō@%/ .€Z€ćå‹łN€€€‰‚’Section F.2: Key exchange method names].x@%1A%/ .€\€ćŒłN€€€‰‚’Section F.3: Encryption algorithm names—fŌ@%ČA%1źņ J]„JĮČA%,B%²F%Section F.1: Connection protocol channel request namesCBB("btn_up","JI(`',`t00000287')");EB("btn_up")d;1A%,B%) "€v€€€€‚’Section F.1: Connection protocol channel request namesmBČA%™B%+ &€„€˜€€€€‚’These names can be sent in a SSH_MSG_CHANNEL_REQUEST message.J%,B%ćB%% €J€˜€€‚’simple@putty.projects.tartarus.org†_™B%iD%' €æ€˜‘€€‚’This is sent by a client to announce that it will not have more than one channel open at a time in the current connection (that one being the one the request is sent on). The intention is that the server, knowing this, can set the window on that one channel to something very large, and leave flow control to TCP. There is no message-specific data.J%ćB%³D%% €J€˜€€‚’winadj@putty.projects.tartarus.orgQiD%F%3 4€=€˜‘€€€€€€‚’PuTTY sends this request along with some SSH_MSG_CHANNEL_WINDOW_ADJUST messages as part of its window-size tuning. It can be sent on any type of channel. There is no message-specific data. Servers MUST treat it as an unrecognised request and respond with SSH_MSG_CHANNEL_FAILURE.®³D%²F%- (€€˜‘€€ć,hš‰‚’(Some SSH servers get confused by this message, so there is a bug-compatibility mode for disabling it. See section 4.26.5.) ‡VF%9G%1ē˜€JQ‡JĀ9G%G% L%Section F.2: Key exchange method namesCBB("btn_up","JI(`',`t00000287')");EB("btn_up")T+²F%G%) "€V€€€€‚’Section F.2: Key exchange method namesU09G%āG%% €`€˜€€‚’rsa-sha1-draft-00@putty.projects.tartarus.orgW2G%9H%% €d€˜€€‚’rsa-sha256-draft-00@putty.projects.tartarus.orgY4āG%’H%% €h€˜€€‚’rsa1024-sha1-draft-01@putty.projects.tartarus.org[69H%ķH%% €l€˜€€‚’rsa1024-sha256-draft-01@putty.projects.tartarus.org[6’H%HI%% €l€˜€€‚’rsa2048-sha256-draft-01@putty.projects.tartarus.orgY4ķH%”I%% €h€˜€€‚’rsa1024-sha1-draft-02@putty.projects.tartarus.org[6HI%üI%% €l€˜€€‚’rsa2048-sha512-draft-02@putty.projects.tartarus.orgY4”I%UJ%% €h€˜€€‚’rsa1024-sha1-draft-03@putty.projects.tartarus.org[6üI%°J%% €l€˜€€‚’rsa2048-sha256-draft-03@putty.projects.tartarus.orgY4UJ% K%% €h€˜€€‚’rsa1024-sha1-draft-04@putty.projects.tartarus.org[6°J%dK%% €l€˜€€‚’rsa2048-sha256-draft-04@putty.projects.tartarus.org¼‰ K% L%3 4€€˜‘€€€€€€‚’These appeared in various drafts of what eventually became RFC 4432. They have been superseded by rsa1024-sha1 and rsa2048-sha256.ˆWdK%ØL%1±]„J’’’’ĆØL%żL%YN%Section F.3: Encryption algorithm namesCBB("btn_up","JI(`',`t00000287')");EB("btn_up")U, L%żL%) "€X€€€€‚’Section F.3: Encryption algorithm namesW2ØL%TM%% €d€˜€€‚’arcfour128-draft-00@putty.projects.tartarus.orgW2żL%«M%% €d€˜€€‚’arcfour256-draft-00@putty.projects.tartarus.org®|TM%YN%2 4€ų€˜‘€€€€€€‚’These were used in drafts of what eventually became RFC 4345. They have been superseded by arcfour128 and arcfour256.1«M%’’’’1’’’’’’’’Ä’’’’’’’’’’’’/p&p;)Lz ’’Ä4+’’Contents¼Chapter 1: Introduction to PuTTYšSection 1.1: What are SSH, Telnet and Rlogin??…Section 1.2: How do SSH, Telnet and Rlogin differ?؊Chapter 2: Getting started with PuTTYaSection 2.1: Starting a sessionŒSection 2.2: Verifying the host key (SSH only)€†Section 2.3: Logging inŠŠSection 2.4: After logging in ŒSection 2.5: Logging outŸChapter 3: Using PuTTY÷Section 3.1: During your session˜Section 3.1.1: Copying and pasting text†Section 3.1.2: Scrolling the screen back5‰Section 3.1.3: The System menußSection 3.1.3.1: The PuTTY Event Log"Section 3.1.3.2: Special commandss‚Section 3.1.3.3: Starting new sessions…Section 3.1.3.4: Changing your session settings|ˆSection 3.1.3.5: Copy All to ClipboardW‰Section 3.1.3.6: Clearing and resetting the terminaliSection 3.1.3.7: Full screen mode„Section 3.2: Creating a log file of your sessionÆSection 3.3: Altering your character set configurationf Section 3.4: Using X11 forwarding in SSH“…Section 3.5: Using port forwarding in SSH€Section 3.6: Making raw TCP connections¹…Section 3.7: Connecting to a local serial line ŒSection 3.8: The PuTTY command line3Section 3.8.1: Starting a session from the command lineÕSection 3.8.2: -cleanup2Section 3.8.3: Standard command-line options„Section 3.8.3.1: -load: load a saved sessionz‡Section 3.8.3.2: Selecting a protocol: -ssh, -telnet, -rlogin, -raw -serialŒSection 3.8.3.3: -v: increase verbosityÅSection 3.8.3.4: -l: specify a login name Section 3.8.3.5: -L, -R and -D: set up port forwardings³Section 3.8.3.6: -m: read a remote command or script from a fileJ€Section 3.8.3.7: -P: specify a port numbero‚Section 3.8.3.8: -pw: specify a password[„Section 3.8.3.9: -agent and -noagent: control use of Pageant for authentication †Section 3.8.3.10: -A and -a: control agent forwardingqˆSection 3.8.3.11: -X and -x: control X11 forwardingC&ŠSection 3.8.3.12: -t and -T: control pseudo-terminal allocationmSection 3.8.3.13: -N: suppress starting a shell or command+Section 3.8.3.14: -nc: make a remote network connection in place of a remote shell or command~Section 3.8.3.15: -C: enable compressionµ‚Section 3.8.3.16: -1 and -2: specify an SSH protocol version<„Section 3.8.3.17: -4 and -6: specify an Internet protocol version¾…Section 3.8.3.18: -i: specify an SSH private key—‡Section 3.8.3.19: -loghost: specify a logical host name Section 3.8.3.20: -hostkey: manually specify an expected host key  Section 3.8.3.21: -pgpfp: display PGP key fingerprints Section 3.8.3.22: -sercfg: specify serial port configurations Section 3.8.3.23: -sessionlog, -sshlog, -sshrawlog: specify session logging€ Chapter 4: Configuring PuTTYU… Section 4.1: The Session panel»† Section 4.1.1: The host name section' Section 4.1.2: Loading and storing saved sessions ‚ Section 4.1.3: ‘Close Window on Exit’N… Section 4.2: The Logging panelŪ Section 4.2.1: ‘Log file name’˜ Section 4.2.2: ‘What to do if the log file already exists’¬ Section 4.2.3: ‘Flush log file frequently’. Section 4.2.4: Options specific to SSH packet logging*ƒ Section 4.2.4.1: ‘Omit known password fields’§… Section 4.2.4.2: ‘Omit session data’ē† Section 4.3: The Terminal panel1 Section 4.3.1: ‘Auto wrap mode initially on’ł Section 4.3.2: ‘DEC Origin Mode initially on’ź Section 4.3.3: ‘Implicit CR in every LF’0€ Section 4.3.4: ‘Implicit LF in every CR’’ Section 4.3.5: ‘Use background colour to erase screen’Ņ… Section 4.3.6: ‘Enable blinking text’lˆ Section 4.3.7: ‘Answerback to ^E’N Section 4.3.8: ‘Local echo’ Section 4.3.9: ‘Local line editing’' Section 4.3.10: Remote-controlled printingĀ Section 4.4: The Keyboard panelŅ… Section 4.4.1: Changing the action of the Backspace key©Š Section 4.4.2: Changing the action of the Home and End keys*&Section 4.4.3: Changing the action of the function keys and keypad'Section 4.4.4: Controlling Application Cursor Keys modef Section 4.4.5: Controlling Application Keypad mode£‚Section 4.4.6: Using NetHack keypad modeŽ…Section 4.4.7: Enabling a DEC-like Compose keyä‡Section 4.4.8: ‘Control-Alt is different from AltGr’ŽSection 4.5: The Bell panelŹSection 4.5.1: ‘Set the style of bell’VSection 4.5.2: ‘Taskbar/caption indication on bell’• Section 4.5.3: ‘Control the bell overload behaviour’Ö†Section 4.6: The Features panel©ŠSection 4.6.1: Disabling application keypad and cursor keysSection 4.6.2: Disabling xterm-style mouse reportingSection 4.6.3: Disabling remote terminal resizing7Section 4.6.4: Disabling switching to the alternate screenĒSection 4.6.5: Disabling remote window title changingŁSection 4.6.6: Response to remote window title queryingB‚Section 4.6.7: Disabling destructive backspaceŽƒSection 4.6.8: Disabling remote character set configuration†Section 4.6.9: Disabling Arabic text shaping‰Section 4.6.10: Disabling bidirectional text displaySection 4.7: The Window panelcSection 4.7.1: Setting the size of the PuTTY window=Section 4.7.2: What to do when the window is resizedtSection 4.7.3: Controlling scrollbackUSection 4.7.4: ‘Push erased text into scrollback’{ƒSection 4.8: The Appearance panel…Section 4.8.1: Controlling the appearance of the cursor„†Section 4.8.2: Controlling the font used in the terminal window‰Section 4.8.3: ‘Hide mouse pointer when typing in window’YSection 4.8.4: Controlling the window borderSection 4.9: The Behaviour panelSection 4.9.1: Controlling the window title€Section 4.9.2: ‘Warn before closing window’™Section 4.9.3: ‘Window closes on ALT-F4’«‚Section 4.9.4: ‘System menu appears on ALT-Space’Ē„Section 4.9.5: ‘System menu appears on Alt alone’Ļ…Section 4.9.6: ‘Ensure window is always on top’(X†Section 4.9.7: ‘Full screen on Alt-Enter’Ģ‡Section 4.10: The Translation panelĖSection 4.10.1: Controlling character set translationĻSection 4.10.2: ‘Treat CJK ambiguous characters as wide’± Section 4.10.3: ‘Caps Lock acts as Cyrillic switch’j€Section 4.10.4: Controlling display of line-drawing characters‡Section 4.10.5: Controlling copy and paste of line drawing charactersŽŠSection 4.11: The Selection panelSection 4.11.1: Pasting in Rich Text FormatžSection 4.11.2: Changing the actions of the mouse buttons¼Section 4.11.3: ‘Shift overrides application's use of mouse’€Section 4.11.4: Default selection modeķ‚Section 4.11.5: Configuring word-by-word selection&‰Section 4.12: The Colours panelCSection 4.12.1: ‘Allow terminal to specify ANSI colours’¬Section 4.12.2: ‘Allow terminal to use xterm 256-colour mode’ķSection 4.12.3: ‘Indicate bolded text by changing...’Section 4.12.4: ‘Attempt to use logical palettes’& Section 4.12.5: ‘Use system colours’£Section 4.12.6: Adjusting the colours in the terminal windowu†Section 4.13: The Connection panelˆSection 4.13.1: Using keepalives to prevent disconnectionGSection 4.13.2: ‘Disable Nagle's algorithm’!Section 4.13.3: ‘Enable TCP keepalives’*€Section 4.13.4: ‘Internet protocol’}ƒSection 4.13.5: ‘Logical name of remote host’Section 4.14: The Data panel3Section 4.14.1: ‘Auto-login username’RSection 4.14.2: Use of system username.Section 4.14.3: ‘Terminal-type string’€Section 4.14.4: ‘Terminal speeds’™ƒSection 4.14.5: Setting environment variables on the server=‡Section 4.15: The Proxy panelSection 4.15.1: Setting the proxy typeįSection 4.15.2: Excluding parts of the network from proxying€Section 4.15.3: Name resolution when using a proxyZ…Section 4.15.4: Username and password=‰Section 4.15.5: Specifying the Telnet or Local proxy command„Section 4.16: The Telnet panelSection 4.16.1: ‘Handling of OLD_ENVIRON ambiguity’7'X Section 4.16.2: Passive and active Telnet negotiation modesl‚Section 4.16.3: ‘Keyboard sends Telnet special commands’$„Section 4.16.4: ‘Return key sends Telnet New Line instead of ^M’ɆSection 4.17: The Rlogin panelj‡Section 4.17.1: ‘Local username’…Section 4.18: The SSH panelSection 4.18.1: Executing a specific command on the server˜Section 4.18.2: ‘Don't start a shell or command at all’¬Section 4.18.3: ‘Enable compression’€Section 4.18.4: ‘Preferred SSH protocol version’ČƒSection 4.18.5: Sharing an SSH connection between PuTTY toolsSection 4.19: The Kex panelĄSection 4.19.1: Key exchange algorithm selection¾€Section 4.19.2: Repeat key exchange2ŒSection 4.19.3: Manually configuring host keysi Section 4.20: The Cipher panelĒ„Section 4.21: The Auth panel‡Section 4.21.1: ‘Bypass authentication entirely’‰Section 4.21.2: ‘Display pre-authentication banner’Section 4.21.3: ‘Attempt authentication using Pageant’Section 4.21.4: ‘Attempt TIS or CryptoCard authentication’ĖSection 4.21.5: ‘Attempt keyboard-interactive authentication’ģSection 4.21.6: ‘Allow agent forwarding’ Section 4.21.7: ‘Allow attempted changes of username in SSH-2’ĄƒSection 4.21.8: ‘Private key file for authentication’Ÿ†Section 4.22: The GSSAPI panelfŠSection 4.22.1: ‘Allow GSSAPI credential delegation’†Section 4.22.2: Preference order for GSSAPI librariesHSection 4.23: The TTY panel Section 4.23.1: ‘Don't allocate a pseudo-terminal’R Section 4.23.2: Sending terminal modesœŠSection 4.24: The X11 paneläSection 4.24.1: Remote X11 authenticationč Section 4.24.2: X authority file for local displaypSection 4.25: The Tunnels panel Section 4.25.1: Controlling the visibility of forwarded ports™ Section 4.25.2: Selecting Internet protocol version for forwarded ports€ Section 4.26: The Bugs and More Bugs panels‡ Section 4.26.1: ‘Chokes on SSH-1 ignore messages’:(!Section 4.26.2: ‘Refuses all SSH-1 password camouflage’p!Section 4.26.3: ‘Chokes on SSH-1 RSA authentication’³!Section 4.26.4: ‘Chokes on SSH-2 ignore messages’  !Section 4.26.5: ‘Chokes on PuTTY's SSH-2 ‘winadj’ requests’/‚!Section 4.26.6: ‘Miscomputes SSH-2 HMAC keys’€„!Section 4.26.7: ‘Miscomputes SSH-2 encryption keys’Į†!Section 4.26.8: ‘Requires padding on SSH-2 RSA signatures’ŗ‰!Section 4.26.9: ‘Misuses the session ID in SSH-2 PK auth’Ń"Section 4.26.10: ‘Handles SSH-2 key re-exchange badly’ī"Section 4.26.11: ‘Ignores SSH-2 maximum packet size’z"Section 4.26.12: ‘Replies to requests on closed channels’€"Section 4.26.13: ‘Only supports pre-RFC4419 SSH-2 DH GEX’y‚"Section 4.27: The Serial panel{„"Section 4.27.1: Selecting a serial line to connect tof†"Section 4.27.2: Selecting the speed of your serial linenˆ"Section 4.27.3: Selecting the number of data bitsD‰"Section 4.27.4: Selecting the number of stop bitsŗ#Section 4.27.5: Selecting the serial parity checking scheme+#Section 4.27.6: Selecting the serial flow control schemen#Section 4.28: Storing configuration in a fileŖ#Chapter 5: Using PSCP to transfer files securely2ƒ#Section 5.1: Starting PSCPՆ#Section 5.2: PSCP Usage $Section 5.2.1: The basics·„$Section 5.2.1.1: user­…$Section 5.2.1.2: host…†$Section 5.2.1.3: source ‰$Section 5.2.1.4: target(%Section 5.2.2: Options %Section 5.2.2.1: -ls list remote files3%Section 5.2.2.2: -p preserve file attributes%Section 5.2.2.3: -q quiet, don't show statistics9 %Section 5.2.2.4: -r copies directories recursivelyp%Section 5.2.2.5: -batch avoid interactive prompts^ƒ%Section 5.2.2.6: -sftp, -scp force use of particular protocolN‰%Section 5.2.3: Return valueUŠ%Section 5.2.4: Using public key authentication with PSCP&&Chapter 6: Using PSFTP to transfer files securelyæ&Section 6.1: Starting PSFTP5ƒ&Section 6.1.1: -b: specify a file containing batch commands#‡&Section 6.1.2: -bc: display batch commands as they are runx'Section 6.1.3: -be: continue batch processing on errorsŗ'Section 6.1.4: -batch: avoid interactive prompts©'Section 6.2: Running PSFTP¾‚'Section 6.2.1: General quoting rules for PSFTP commands؈'Section 6.2.2: Wildcards in PSFTPé(Section 6.2.3: The open command: start a sessionĖ(Section 6.2.4: The quit command: end your session)(Section 6.2.5: The close command: close your connection(Section 6.2.6: The help command: get quick online help€(Section 6.2.7: The cd and pwd commands: changing the remote working directory“‚(Section 6.2.8: The lcd and lpwd commands: changing the local working directoryׄ(Section 6.2.9: The get command: fetch a file from the server ˆ(Section 6.2.10: The put command: send a file to the serverÖ)Section 6.2.11: The mget and mput commands: fetch or send multiple filesÕ)Section 6.2.12: The reget and reput commands: resuming file transfersp)Section 6.2.13: The dir command: list remote filesµ€)Section 6.2.14: The chmod command: change permissions on remote files‹)Section 6.2.15: The del command: delete remote files±*Section 6.2.16: The mkdir command: create remote directories§*Section 6.2.17: The rmdir command: remove remote directoriesc*Section 6.2.18: The mv command: move and rename remote filesš*Section 6.2.19: The ! command: run a local Windows command*Section 6.3: Using public key authentication with PSFTPŗ…*Chapter 7: Using the command-line connection tool Plinkч*Section 7.1: Starting Plinka+Section 7.2: Using Plink§+Section 7.2.1: Using Plink for interactive loginsó‡+Section 7.2.2: Using Plink for automated connectionsę,Section 7.2.3: Plink command line options‘ ,Section 7.2.3.1: -batch: disable all interactive prompts÷,Section 7.2.3.2: -s: remote command is SSH subsystemś‚,Section 7.3: Using Plink in batch files and scripts‹…,Section 7.4: Using Plink with CVSŽ‡,Section 7.5: Using Plink with WinCVS$}-Chapter 8: Using public keys for SSH authenticationn-Section 8.1: Public key authentication - an introductionś€-Section 8.2: Using PuTTYgen, the PuTTY key generatorM…-Section 8.2.1: Generating a new key—.Section 8.2.2: Selecting the type of keyÄ.Section 8.2.3: Selecting the size (strength) of the key¤.Section 8.2.4: The ‘Generate’ buttoni€.Section 8.2.5: The ‘Key fingerprint’ boxŲ‚.Section 8.2.6: Setting a comment for your key†.Section 8.2.7: Setting a passphrase for your key/Section 8.2.8: Saving your private key to a disk file¦/Section 8.2.9: Saving your public key to a disk file‹/Section 8.2.10: ‘Public key for pasting into authorized_keys file’u€/Section 8.2.11: Reloading a private key®ƒ/Section 8.2.12: Dealing with private keys in other formatsɉ/Section 8.3: Getting ready for public key authenticationn0Chapter 9: Using Pageant for authentication 0Section 9.1: Getting started with Pageanté„0Section 9.2: The Pageant main window§†0Section 9.2.1: The key list boxŠ0Section 9.2.2: The ‘Add Key’ button_1Section 9.2.3: The ‘Remove Key’ buttonĢ1Section 9.3: The Pageant command line1Section 9.3.1: Making Pageant automatically load keys on startupÖ1Section 9.3.2: Making Pageant run another program9€1Section 9.4: Using agent forwardingüˆ1Section 9.5: Security considerations 2Chapter 10: Common error messagesTƒ2Section 10.1: ‘The server's host key is not cached in the registry’R‡2Section 10.2: ‘WARNING - POTENTIAL SECURITY BREACH!’3Section 10.3: ‘The first cipher supported by the server is ... below the configured warning threshold’q3Section 10.4: ‘Server sent disconnect message type 2 (protocol error): "Too many authentication failures for root"’į3Section 10.5: ‘Out of memory’u 3Section 10.6: ‘Internal error’, ‘Internal fault’, ‘Assertion failed’¢€3Section 10.7: ‘Unable to use this private key file’, ‘Couldn't load private key’, ‘Key is of wrong type’_„3Section 10.8: ‘Server refused our public key’ or ‘Key refused’2  Fˆ3Section 10.9: ‘Access denied’, ‘Authentication refused’4Section 10.10: ‘No supported authentication methods available’'4Section 10.11: ‘Incorrect CRC received on packet’ or ‘Incorrect MAC received on packet’«4Section 10.12: ‘Incoming packet was garbled on decryption’^4Section 10.13: ‘PuTTY X11 proxy: various errors’&4Section 10.14: ‘Network error: Software caused connection abort’;†4Section 10.15: ‘Network error: Connection reset by peer’X‰4Section 10.16: ‘Network error: Connection refused’5Section 10.17: ‘Network error: Connection timed out’©5Appendix A: PuTTY FAQĪ5Section A.1: Introduction5Question A.1.1: What is PuTTY?ī5Section A.2: Features supported in PuTTYŖ…5Question A.2.1: Does PuTTY support SSH-2?m†5Question A.2.2: Does PuTTY support reading OpenSSH or ssh.com SSH-2 private key files?„‡5Question A.2.3: Does PuTTY support SSH-1?jˆ5Question A.2.4: Does PuTTY support local echo?6Question A.2.5: Does PuTTY support storing settings, so I don't have to change them every time?16Question A.2.6: Does PuTTY support storing its settings in a disk file?é6Question A.2.7: Does PuTTY support full-screen mode, like a DOS box?`6Question A.2.8: Does PuTTY have the ability to remember my password so I don't have to type it every time?d6Question A.2.9: Is there an option to turn off the annoying host key prompts?§…6Question A.2.10: Will you write an SSH server for the PuTTY suite, to go with the client?vˆ6Question A.2.11: Can PSCP or PSFTP transfer files in ASCII mode?*Š6Section A.3: Ports to other operating systems$7Question A.3.1: What ports of PuTTY exist?ž7Question A.3.2: Is there a port to Unix?€7Question A.3.3: What's the point of the Unix port? Unix has OpenSSH.„7Question A.3.4: Will there be a port to Windows CE or PocketPC?4…7Question A.3.5: Is there a port to Windows 3.1?:ˆ7Question A.3.6: Will there be a port to the Mac?EŠ7Question A.3.7: Will there be a port to EPOC?- ¢8Question A.3.8: Will there be a port to the iPhone?Ö8Section A.4: Embedding PuTTY in other programs8Question A.4.1: Is the SSH or Telnet code available as a DLL?Ģ8Question A.4.2: Is the SSH or Telnet code available as a Visual Basic component? 8Question A.4.3: How can I use PuTTY to make an SSH connection from within another program?2€8Section A.5: Details of PuTTY's operationŠ€8Question A.5.1: What terminal type does PuTTY use?*ƒ8Question A.5.2: Where does PuTTY store its data?ń†8Section A.6: HOWTO questionsU9Question A.6.1: What login name / password should I use?9Question A.6.2: What commands can I type into my PuTTY terminal window?Œ 9Question A.6.3: How can I make PuTTY start up maximised? 9Question A.6.4: How can I create a Windows shortcut to start a particular saved session directly?‚9Question A.6.5: How can I start an SSH session straight from the command line?…‚9Question A.6.6: How do I copy and paste between PuTTY and other Windows applications?F†9Question A.6.7: How do I use all PuTTY's features (public keys, proxying, cipher selection, etc.) in PSCP, PSFTP and Plink?æˆ9Question A.6.8: How do I use PSCP.EXE? When I double-click it gives me a command prompt window which then closes instantly.:Question A.6.9: How do I use PSCP to copy a file whose name has spaces in?+:Section A.7: TroubleshootingM…:Question A.7.1: Why do I see ‘Incorrect MAC received on packet’?<Š:Question A.7.2: Why do I see ‘Fatal: Protocol error: Expected control record’ in PSCP?Ž;Question A.7.3: I clicked on a colour in the Colours panel, and the colour didn't change in my terminal.|;Question A.7.4: Plink on Windows 95 says it can't find WS2_32.DLL.v;Question A.7.5: After trying to establish an SSH-2 connection, PuTTY says ‘Out of memory’ and dies.€;Question A.7.6: When attempting a file transfer, either PSCP or PSFTP says ‘Out of memory’ and dies.„;Question A.7.7: PSFTP transfers files much slower than PSCP. m…;Question A.7.8: When I run full-colour applications, I see areas of black space where colour ought to be, or vice versa.ч;Question A.7.9: When I change some terminal settings, nothing happens.b<Question A.7.10: My PuTTY sessions unexpectedly close after they are idle for a while.Ņ<Question A.7.11: PuTTY's network connections time out too quickly when network connectivity is temporarily lost.Ē<Question A.7.12: When I cat a binary file, I get ‘PuTTYPuTTYPuTTY’ on my command line.€<Question A.7.13: When I cat a binary file, my window title changes to a nonsense string.F‚<Question A.7.14: My keyboard stops working once PuTTY displays the password prompt.„<Question A.7.15: One or more function keys don't do what I expected in a server-side application.„Š<Question A.7.16: Since my SSH server was upgraded to OpenSSH 3.1p1/3.4p1, I can no longer connect with PuTTY.=Question A.7.17: Why do I see ‘Couldn't load private key from ...’? Why can PuTTYgen load my key but not PuTTY? =Question A.7.18: When I'm connected to a Red Hat Linux 8.0 system, some characters don't display properly.( =Question A.7.19: Since I upgraded to PuTTY 0.54, the scrollback has stopped working when I run screen.u…=Question A.7.20: Since I upgraded Windows XP to Service Pack 2, I can't use addresses like 127.0.0.2.ü‡=Question A.7.21: PSFTP commands seem to be missing a directory separator (slash).˜Š=Question A.7.22: Do you want to hear about ‘Software caused connection abort’?s>Question A.7.23: My SSH-2 session locks up for a few seconds every so often.6>Question A.7.24: PuTTY fails to start up. Windows claims that ‘the application configuration is incorrect’.Z>Question A.7.25: When I put PuTTY in C:\WINDOWS\SYSTEM32 on my 64-bit Windows system, ‘Duplicate Session’ doesn't work.;>Section A.8: Security questionsŚ >Question A.8.1: Is it safe for me to download PuTTY and use it on a public PC?²‚>Question A.8.2: What does PuTTY leave on a system? How can I clean up after it? B…>Question A.8.3: How come PuTTY now supports DSA, when the website used to say how insecure it was?=ˆ>Question A.8.4: Couldn't Pageant use VirtualLock() to stop private keys being written to disk?Š>Section A.9: Administrative questions?Question A.9.1: Would you like me to register you a nicer domain name?6?Question A.9.2: Would you like free web hosting for the PuTTY web site?¢?Question A.9.3: Would you link to my web site from the PuTTY web site?Ė„?Question A.9.4: Why don't you move PuTTY to SourceForge?ģ‡?Question A.9.5: Why can't I subscribe to the putty-bugs mailing list?Š?Question A.9.6: If putty-bugs isn't a general-subscription mailing list, what is?@Question A.9.7: How can I donate to PuTTY development?H@Question A.9.8: Can I have permission to put PuTTY on a cover disk / distribute it with other software / etc?\@Question A.9.9: Can you sign an agreement indemnifying us against security problems in PuTTY?|‡@Question A.9.10: Can you sign this form granting us permission to use/distribute PuTTY?/Œ@Question A.9.11: Can you write us a formal notice of permission to use PuTTY?\AQuestion A.9.12: Can you sign anything for us?õAQuestion A.9.13: If you won't sign anything, can you give us some sort of assurance that you won't make PuTTY closed-source in future?ՀAQuestion A.9.14: Can you provide us with export control information / FIPS certification for PuTTY?„AQuestion A.9.15: As one of our existing software vendors, can you just fill in this questionnaire for us?PBQuestion A.9.16: The sha1sums / sha256sums / etc files on your download page don't match the binaries.zBSection A.10: Miscellaneous questionsBQuestion A.10.1: Is PuTTY a port of OpenSSH, or based on OpenSSH or OpenSSL?€BQuestion A.10.2: Where can I buy silly putty?cBQuestion A.10.3: What does ‘PuTTY’ mean?ʂBQuestion A.10.4: How do I pronounce ‘PuTTY’?>ƒBAppendix B: Feedback and bug reporting¦†BSection B.1: General guidelinesCSection B.1.1: Sending large attachmentsž% ’’ø CSection B.1.2: Other places to ask for help6‚CSection B.2: Reporting bugs3DSection B.3: Requesting extra features.‚DSection B.4: Requesting features that have already been requestedkˆDSection B.5: Support requestsgESection B.6: Web server administrationĘESection B.7: Asking permission for things€ESection B.8: Mirroring the PuTTY web site;„ESection B.9: Praise and complimentsm†ESection B.10: E-mail addressĻ†EAppendix C: PuTTY LicenceFAppendix D: PuTTY hacking guideˆFSection D.1: Cross-OS portability€FSection D.2: Multiple backends treated equally¶„FSection D.3: Multiple sessions per process on some platforms”‰FSection D.4: C, not C++!GSection D.5: Security-conscious codingQGSection D.6: Independence of specific compilerĮ GSection D.7: Small code sizeM†GSection D.8: Single-threaded codeHSection D.9: Keystrokes sent to the server wherever possibleÖHSection D.10: 640×480 friendliness in configuration panels“HSection D.11: Automatically generated Makefiles¬HSection D.12: Coroutines in ssh.c8…HSection D.13: Single compilation of each source fileISection D.14: Do as we say, not as we doAIAppendix E: PuTTY download keys and signaturesAISection E.1: Public keys9ISection E.2: Security detailsx‚ISection E.2.1: The Development Snapshots key>‡ISection E.2.2: The Releases key‡ˆISection E.2.3: The Master KeysJSection E.3: Key rolloverņ JAppendix F: SSH-2 names specified for PuTTY˜€JSection F.1: Connection protocol channel request names]„JSection F.2: Key exchange method namesQ‡JSection F.3: Encryption algorithm names² ŠX†X !‡&}-Fˆ3¢8 m…; B…> ø C /&;)z4’’ ‹ ’’’’|CONTEXT|CTXOMAP?|FONTJ|KWBTREE4|KWDATAcy|KWMAPܐ|SYSTEM)‘|TOPIC†’|TTLBTREEń