I'm having the same problem.
It seems to be ignoring the information in the server section of the settings.xml file... specifically it's ignoring the sshExecutable and scpExecutable attributes of the server config (notice that the key is found and used however).
In my case I'm deploying with putty on windows. Deploy works but site-deploy does not.
[INFO] [site:deploy]
Using private key: C:\mypath\mykey.ppk
scpexe://myhost/data/maven/site/restart - Session: Opened
Executing command: ssh -i "C:\mypath\mykey.ppk" -o "
BatchMode yes" myuser@myhost/ "mkdir -p /data/maven/site/restart/."
'ssh' is not recognized as an internal or external command,
operable program or batch file.
scpexe://myhost/data/maven/site/restart - Session: Disconnecting
scpexe://myhost/data/maven/site/restart - Session: Disconnected
I'm having the same problem.
It seems to be ignoring the information in the server section of the settings.xml file... specifically it's ignoring the sshExecutable and scpExecutable attributes of the server config (notice that the key is found and used however).
In my case I'm deploying with putty on windows. Deploy works but site-deploy does not.
[INFO] [site:deploy]
Using private key: C:\mypath\mykey.ppk
scpexe://myhost/data/maven/site/restart - Session: Opened
Executing command: ssh -i "C:\mypath\mykey.ppk" -o "
BatchMode yes" myuser@myhost/ "mkdir -p /data/maven/site/restart/."
'ssh' is not recognized as an internal or external command,
operable program or batch file.
scpexe://myhost/data/maven/site/restart - Session: Disconnecting
scpexe://myhost/data/maven/site/restart - Session: Disconnected