Hallo renee,
ich versteh es auch nicht immer...
Leider hat der Versuch mit den Singel-Quotes nichts gebracht...
Einige Dateien werden weiterhin umbenannt.
Hast du vielleicht noch eine Idee?
Eine kleine Ergänzung muss ich noch geben:
Das Script wird parallen mit verschiedenen Dateinamen gestartet (information.txt und information2.txt)
Jetzt steht aber endlich mal was in der Log-Datei
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Looking up host "192.168.3.24"
Connecting to 192.168.3.24 port 22
Server version: SSH-2.0-OpenSSH_4.2
We claim version: SSH-2.0-PuTTY_Release_0.60
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-1
Host key fingerprint is:
ssh-rsa 1024 80:c5:8f:44:74:72:1c:8c:7b:b5:72:6f:f7:35:87:b9
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Reading private key file "C:\mykey.ppk"
Using username "rrdexport".
Offered public key
Offer of public key accepted
Authenticating with public key "dsa-key"
Access granted
Opened channel for session
Started a shell/command
information.txt | 32 kB | 32.0 kB/s | ETA: 00:00:07 | 12%
information.txt | 260 kB | 260.1 kB/s | ETA: 00:00:00 | 100%
Using SFTP
Connected to 192.168.3.24
Sent EOF message
Server sent command exit status 0
Disconnected: All channels closed
-e "Fehler bei Datei <information2.txt> um Thu Oct 30 10:18:06 2008\n"
Looking up host "192.168.3.24"
Connecting to 192.168.3.24 port 22
Server version: SSH-2.0-OpenSSH_4.2
We claim version: SSH-2.0-PuTTY_Release_0.60
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-1
Host key fingerprint is:
ssh-rsa 1024 80:c5:8f:44:74:72:1c:8c:7b:b5:72:6f:f7:35:87:b9
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Reading private key file "C:\mykey.ppk"
Using username "rrdexport".
Offered public key
Offer of public key accepted
Authenticating with public key "dsa-key"
Access granted
Opened channel for session
Started a shell/command
information.txt | 32 kB | 32.0 kB/s | ETA: 00:00:07 | 12%
information.txt | 260 kB | 260.1 kB/s | ETA: 00:00:00 | 100%
Using SFTP
Connected to 192.168.3.24
Sent EOF message
Server sent command exit status 0
Disconnected: All channels closed
Gruß
Aendrew