X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/9cd3f7b0dc42b1ec26599c970f4be72d8bbd6d81..a10c20dda1e39bd77a8fc064d76defd162c5ceac:/doc/faq.but diff --git a/doc/faq.but b/doc/faq.but index b54eed10..1d849a35 100644 --- a/doc/faq.but +++ b/doc/faq.but @@ -1,4 +1,4 @@ -\versionid $Id: faq.but,v 1.21 2002/02/12 11:07:07 simon Exp $ +\versionid $Id: faq.but,v 1.24 2002/04/01 15:18:29 simon Exp $ \A{faq} PuTTY FAQ @@ -532,6 +532,36 @@ 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. +\S{faq-outofmem2}{Question} When attempting a file transfer, either +PSCP or PSFTP says \q{Out of memory} and dies. + +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 \q{out of memory} error for much the +same reasons as given in \k{faq-outofmem}. + +This is a setup problem in your account on your server, \e{not} a +PSCP/PSFTP bug. Your login scripts should \e{never} generate output +during non-interactive sessions; secure file transfer is not the +only form of remote access that will break if they do. + +On Unix, a simple fix is to ensure that all the parts of your login +script that might generate output are in \c{.profile} (if you use a +Bourne shell derivative) or \c{.login} (if you use a C shell). +Putting them in more general files such as \c{.bashrc} or \c{.cshrc} +is liable to lead to problems. + +\S{faq-psftp-slow} PSFTP transfers files much slower than PSCP. + +We believe this is because the SFTP and SSH2 protocols are less +efficient at bulk data transfer than SCP and SSH1, because every +block of data transferred requires an acknowledgment from the far +end. It would in theory be possible to queue several blocks of data +to get round this speed problem, but as yet we haven't done the +coding. If you really want this fixed, feel free to offer to help. + \S{faq-bce}{Question} When I run full-colour applications, I see areas of black space where colour ought to be. @@ -683,6 +713,32 @@ You should still read the page} on the PuTTY website (also provided as \k{feedback} in the manual), and follow the guidelines contained in that. +\S{faq-broken-openssh31}{Question} Since my SSH server was upgraded to +OpenSSH 3.1p1, I can no longer connect with PuTTY. + +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. + +This is not a PuTTY-specific problem; if you try to connect with +another client you'll likely have similar problems. + +Configurations known to be broken (and symptoms): + +\b SSH 2 with AES cipher (PuTTY says "Assertion failed! Expression: +(len & 15) == 0" in sshaes.c, or "Out of memory", or crashes) + +\b SSH 2 with 3DES (PuTTY says "Incorrect MAC received on packet") + +\b SSH 1 with Blowfish (PuTTY says "Incorrect CRC received on +packet") + +\b SSH 1 with 3DES + +For more details and OpenSSH patches, see +\W{http://bugzilla.mindrot.org/show_bug.cgi?id=138}{bug 138} in the +OpenSSH BTS. + \H{faq-secure} Security questions \S{faq-publicpc}{Question} Is it safe for me to download PuTTY and