Please share your wrapper script, once you have it working.
- martin
!K
.
!U
and !P
. Not !U@
and !P@
.
!U@
will return the username
!P@
will return the password.
.pem
extension and the same name and location as the .ppk
file? Or for the default id_*
key file in .ssh
folder?
!K@
resolve to? I believe that the -i
with no argument would break ssh
.
.pem
and .pub
files in the .ssh
folder and send those to Windows Terminal? All users have pem and pub my default and only convert to ppk when asked to.
.ssh
folder, I have foo.ppk
and foo.pem
.
ssh
cannot use .ppk keys that WinSCP does. WinSCP would have create a new file with converted copy of the key.
wt.exe ssh.exe !U@!@ -t "cd !/ \; /bin/bash --login"
wt.exe ssh.exe -i !K@ !U@!@ -t "cd !/ \; /bin/bash --login"