Please, help!
I use plink.exe in windowsXP i wont it exec my script but this script asks a password and it does not work
befor i did
in file.bat i have
script
command geli attach asks for password but i dont see it in the window
in PUTTY ssh terminal my script works, but theres nou way by one click start putty with command Ж"((((((
I use plink.exe in windowsXP i wont it exec my script but this script asks a password and it does not work
befor i did
Code:
chmod +rx add1.sh
in file.bat i have
Code:
plink.exe -ssh 10.10.30.72 -l root -pw 1234 /usr/local/etc/add1.sh
pause
script
Code:
#!/bin/sh
mount_msdosfs /dev/da0s1 /mnt/usb
geli attach -k /mnt/usb/ad4s3d.key /dev/ad4s3d
mount /dev/ad4s3d.eli /usr/data/hdd12
df -h

command geli attach asks for password but i dont see it in the window
in PUTTY ssh terminal my script works, but theres nou way by one click start putty with command Ж"((((((