Windows Terminal SSH – add an option to send the SSH public key
wt.exe ssh.exe !U@!@ -t "cd !/ \; /bin/bash --login"
It would be nice if we could send the key argument, perhaps like this
wt.exe ssh.exe -i !K@ !U@!@ -t "cd !/ \; /bin/bash --login"
Advertisement
wt.exe ssh.exe !U@!@ -t "cd !/ \; /bin/bash --login"
wt.exe ssh.exe -i !K@ !U@!@ -t "cd !/ \; /bin/bash --login"
Advertisement
ssh
cannot use .ppk keys that WinSCP uses. WinSCP would have to create a new file with converted copy of the key.
.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
.
.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
.
Advertisement
!U@
will return the username
!P@
will return the password.
!U
and !P
. Not !U@
and !P@
.
Advertisement
!K
.
Advertisement
You can post new topics in this forum