Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.security.ssh > #161
| From | Florent <fcorneille@gmail.com> |
|---|---|
| Newsgroups | comp.security.ssh |
| Subject | PSCP.EXE connection hang in batch mode (Windows) |
| Date | 2011-07-27 11:37 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <b235e3e8-db88-4064-a449-ea19aea1cbb4@df3g2000vbb.googlegroups.com> (permalink) |
I put this line in a batch (mybatch.bat) : "pscp.exe" -batch -i "MyPrivateKey.ppk" -pw "XXXXXXXXXXXX" -P 10022 -v "\\MyServer\MyShare$\MyFolder\MyFile.ext" YYYYYYY@server:/YYYYYYY/. ECHO Finished I recieve this message : The server's host key is not cached in the registry. You have no guarantee that the server is the computer you think it is. The server's dss key fingerprint is: ssh-dss 1024 96: ... :e8:62 Connection abandoned. Disconnected: User aborted at host key verification No matter for the message, my key is not registered in my registry. But PSCP hangs, and the next line in my bat is never executed. I never see the message "Finished". This issue has freeze my production server during a long time. Somebody know what to do to force PSCP to crash definitly when the key is not in registry ?
Back to comp.security.ssh | Previous | Next — Next in thread | Find similar
PSCP.EXE connection hang in batch mode (Windows) Florent <fcorneille@gmail.com> - 2011-07-27 11:37 -0700
Re: PSCP.EXE connection hang in batch mode (Windows) Jacob Nevins <jacobn@chiark.greenend.org.uk> - 2011-07-28 10:45 +0100
Re: PSCP.EXE connection hang in batch mode (Windows) Florent <fcorneille@gmail.com> - 2011-08-22 06:04 -0700
Re: PSCP.EXE connection hang in batch mode (Windows) Jacob Nevins <jacobn@chiark.greenend.org.uk> - 2011-08-22 16:35 +0100
csiph-web