Mintty (Cygwin) and version 5.9 error : mintty syntax error in position 'w'
C:\cygwin\bin\mintty.exe -t !@ /bin/bash -ile /home/user/winscpscript/ssh.sh !U !@ !P
Error :
mintty syntax error in position 'w'
My sh script to manage exotic ports such as ssh 15322 ... and the passing of my password to my clipboard (I know it's not good but so practical)
#/bin/sh echo "Connection $1@$2" # copy pwd in clipboard - Once connected thinking (for security) to select anything to crush mintty clipboard printf $3 >/dev/clipboard if [ $1 == 'user_name_ssh' ] then ssh -p 15322 ${1}@${2} .... else ssh ${1}@${2} fi
Thank you to consider this in the next version of winscp
cf other post : https://winscp.net/forum/viewtopic.php?t=16243