pscp problem - Putty secure copy nefunguje

Sekcia: Ostatné 04.02.2009 | 17:41
Avatar juro RHEL5 & CentOS5  Používateľ
Mam takyto problem:
Chcem pomocou pscp skopirovat z jednej Windows masiny na durhu subory. Z inych PC mi to ide tu ale nie. Vyzera to nasledovne: C:\Putty>pscp -q -v -l Administrator -pw heslo server1:c:/Temp/test.txt c:/
Looking up host "server1"
Connecting to port 22
Connected to server1

C:\Putty>echo %ERRORLEVEL%

Errorlevel je ze 0 ale subor sa neprenesie.
Bezne po spusteni mi to vypise zhruba toto: C:\Documents and Settings\Administrator>pscp -q -v -l Administrator -pw heslo server2:c:/Putty/pscp.exe c:/Temp
Server version: SSH-2.0-OpenSSH_3.8.1p1
We claim version: SSH-2.0-PuTTY-Release-0.55
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange
Host key fingerprint is:
ssh-rsa 1024 29:5a:21:f0:fe:f5:ee:c1:6c:19:6d:bb:99:3d:1e:33
Initialised AES-256 client->server encryption
Initialised AES-256 server->client encryption
Using username "Administrator".


This is a private computer system. This computer system, including all
related equipment, networks, and network devices (specifically including
Internet access) are provided only for authorized use. This computer system
may be monitored for all lawful purposes, including to ensure that its use
is authorized, for management of the system, to facilitate protection against
unauthorized access, and to verify security procedures, survivability, and
operational security. Monitoring includes active attacks by authorized entities
to test or verify the security of this system. During monitoring, information
may be examined, recorded, copied and used for authorized purposes. All
information, including personal information, placed or sent over this system
may be monitored.

Use of this computer system, authorized or unauthorized, constitutes consent
to monitoring of this system. Unauthorized use may subject you to criminal
prosecution. Evidence of unauthorized use collected during monitoring may be
used for administrative, criminal, or other adverse action. Use of this system
constitutes consent to monitoring for these purposes.

Keyboard-interactive authentication refused
Sent password
Access granted
Opened channel for session
Started a shell/command
Using SFTP
Connected to server2

unable to identify c:Puttypscp.exe: no such file or directory
Sent EOF message
Server sent command exit status 0
All channels closed. Disconnecting
    • Re: pscp problem - Putty secure copy nefunguje 04.02.2009 | 20:13
      WlaSaTy   Návštevník
      To mas aky ssh server a islo by to keby si pouzil kopirovanie z c:\\putty\\pscp.exe do niekam? Zjavne to zle interpretuje slash/backslash.
      • Re: pscp problem - Putty secure copy nefunguje 06.02.2009 | 13:46
        Avatar juro RHEL5 & CentOS5  Používateľ
        Prenasany subor teraz nieje podstatny. Trapi ma ze mi nevypisuje omacku ohladom klucov. Akokeby odignoroval kluce a nesiel kryptovane. Neviete ako by som mohol resetnut - vymazat kluce z windowsoveho systemu, tak aby sa ma na ne opat opytal - ci ich chcem pridat ?