why scp freezes after password?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi all,

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?

any idea?
Thanks in advance.



Re: why scp freezes after password?

Leonardo Barbosa e Oliveira schrieb:
Quoted text here. Click to load it

some more infos, OS, version, debug output?
Do you use keychain, I had some problems with keychain, when the key is
not in the agent.

Re: why scp freezes after password?

Linux  2.6.11-1.27_FC3 #1 Tue
May 17 20:27:37 EDT 2005 i686 i686 i386 GNU/Linux

Linux  2.6.10-1.12_FC2 #1
Wed Feb 2 01:13:49 EST 2005 i686 i686 i386

But w/ another user, the same client/server pair

Still, i can copy files from a different server
from this client. I also can log remotely into the
server via ssh. this works as expected.

I don't think i use keychain, beacause i never
configured it.

I tried to copy w/ BASH and ZSH shells.

Finally, the system only freezes when i try the
valid password. See, below, at the first time i
typed an invalid password.

leob@client:~/.ssh > scpleob@server:lixo .
leob@server's password:
Permission denied, please try again.
leob@server's password:

Could be any conf. in my account? E.g., a ssh


On Fri, 5 Aug 2005, news wrote:

Quoted text here. Click to load it

Re: why scp freezes after password?

Quoted text here. Click to load it
Quoted text here. Click to load it

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:

Another possibility (although much less likely, since you say it works for
another account) is this:

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.

Site Timeline