Re: why scp freezes after password?

From: Darren Tucker (dtucker_at_gate.dodgy.net.au)
Date: 08/06/05

  • Next message: MikesBrain: "Re: "unknown key type" problem"
    Date: 06 Aug 2005 08:01:49 GMT
    
    

    On 2005-08-05, Leonardo Barbosa e Oliveira <leob@dcc.ufmg.br> wrote:
    > i trying to copy a remote file w/ scp, but, after
    > i giver the password the prompt freezes.
    [...]
    > I guess the problem is in my account, because w/
    > another user it works. I already had remove my
    > .ssh/ but it still does not work?

    Your shell is probably not clean (ie it's producing extraneous output
    on non-interactive logins). If the following command produces any output
    at all (including a newline) then that's your problem:

    $ ssh yourserver true
    $

    For background, see:
    http://www.snailbook.com/faq/sftp-corruption.auto.html

    Another possibility (although much less likely, since you say it works for
    another account) is this:
    http://www.snailbook.com/faq/mtu-mismatch.auto.html

    -- 
    Darren Tucker (dtucker at zip.com.au)
    GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
        Good judgement comes with experience. Unfortunately, the experience
    usually comes from bad judgement.
    

  • Next message: MikesBrain: "Re: "unknown key type" problem"

    Relevant Pages

    • Re: SSH ignores locked accounts
      ... >allows a very fine grade of control over who has access to the account in ... locking the account. ... Set the passwd entry to something that isn't the lock string but isn't a ... Good judgement comes with experience. ...
      (comp.security.ssh)
    • Re: SSH and login without password (not passwordless login)
      ... >I have an account that has no password (yes, ... When I try to ssh or scp to it I get the password ... >hit space then enter it lets me in. ... Good judgement comes with experience. ...
      (comp.security.ssh)
    • Re: Paging Cane
      ... soppy hippy all this trouble. ... taken into account at the judge's discretion when making a judgement ...
      (uk.rec.motorcycles)
    • Re: Paging Cane
      ... soppy hippy all this trouble. ... taken into account at the judge's discretion when making a judgement ...
      (uk.rec.motorcycles)