maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mick Knutson" <mickknut...@gmail.com>
Subject [ms] issues with ssh connection to repo?
Date Wed, 07 Nov 2007 23:38:40 GMT
I want to connect to a remote repository with a different user than I am
when I am compiling:

        <server>
            <id>remote-esp-dap-site</id>
            <username>maven_user</username>
            <passphrase>somephrase</passphrase>
            <privateKey>c:/ssh/rc-sun66e-private.ppk</privateKey>
            <configuration>
                <sshExecutable>plink</sshExecutable>
                <scpExecutable>pscp</scpExecutable>
            </configuration>
        </server>


    <distributionManagement>
        <site>
            <id>rc_sun66e</id>
            <name>DAP-Site</name>
            <url>scpexe://rc-sun66e.ut.dentegra.lab/:/opt/htdocs/site/</url>
        </site>
    </distributionManagement>


But I get this error:

[INFO] [site:deploy]
scpexe://rc-sun66e.ut.dentegra.lab/:/opt/htdocs/site/utilities - Session:
Opened
Executing command: cmd.exe /X /C 'ssh -i "C:\Documents and
Settings\dnxmkk5\.ssh\id_rsa"
-o "BatchMode yes" dnxmkk5@rc-sun66e.ut.dentegra.lab "mkdir -p ///
opt/htdocs/site/utilities/."'

'ssh' is not recognized as an internal or external command,
operable program or batch file.

scpexe://rc-sun66e.ut.dentegra.lab/:/opt/htdocs/site/utilities - Session:
Disconnecting
scpexe://rc-sun66e.ut.dentegra.lab/:/opt/htdocs/site/utilities - Session:
Disconnected



I want to use the maven_user not dnxmkk5 user. But there also seems to be an
issue with the command that is generated.

I tried following these directions:
http://ekawas.blogspot.com/2007/02/maven-windows-and-deploying-to-remote.html



-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message