Hallo Leute.
ich habe putty noch nie genutzt und möchte nun
mit putty auf 20 rechnern hintereinander was gucken.
dazu habe ich mir eine kommandodatei „cmdfile.txt“ gemacht:
net user >>guck.txt
net share >>guck.txt
exit
_________________________________________________
und eine putty-kommando-datei „putty01.cmd“ :
_________________________________________________
plink -telnet -l user -m cmdfile.txt rechner1
plink -telnet -l user -m cmdfile.txt rechner1 …
plink -telnet -l user -m cmdfile.txt rechner20
_________________________________________________
??? nur, wie kann ich das user-passwort für n telnet-log-in übergeben, wenn das entsprechend beschreibung nur bei ssh geht???
fragende grüße
tom
__________________________________________________________
PuTTY Link: command-line connection utility. Release 0.55
Usage: plink [options] [user@]host [command]
(„host“ can also be a PuTTY saved session name)
Options:
-V print version information
-v show verbose messages
-load sessname Load settings from saved session
-ssh -telnet -rlogin -raw
force use of a particular protocol (default SSH)
-P port connect to specified port
-l user connect with specified username
-m file read remote command(s) from file
-batch disable all interactive prompts
The following options only apply to SSH connections:
-pw passw login with specified password
-D [listen-IP:]listen-port
Dynamic SOCKS-based port forwarding
-L [listen-IP:]listen-port:host:stuck_out_tongue:ort
Forward local port to remote address
-R [listen-IP:]listen-port:host:stuck_out_tongue:ort
Forward remote port to local address
-X -x enable / disable X11 forwarding
-A -a enable / disable agent forwarding
-t -T enable / disable pty allocation
-1 -2 force use of particular protocol version
-C enable compression
-i key private key file for authentication
-s remote command is an SSH subsystem (SSH-2 only)