You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Olivier Lamy <ol...@accor.com> on 2005/12/01 19:22:59 UTC

RE : [m2] sftp how to disable asking continue ?

Thanks a lot.
Maybe adding this in
http://maven.apache.org/guides/mini/guide-deploy-ftp.html ?

- Olivier

-----Message d'origine-----
De : Michael Fiedler [mailto:mfiedler@wernervas.com] 
Envoyé : jeudi 1 décembre 2005 19:07
À : Maven Users List
Objet : RE: [m2] sftp how to disable asking continue ?


I added a .ssh dir to $USER_HOME$.  After you say trust this host
(prompt noted below), a known_hosts file will exist in that dir.

Michael

-----Original Message-----
From: Olivier Lamy [mailto:olivier.lamy@accor.com]
Sent: Thursday, December 01, 2005 11:56 AM
To: Maven Users List
Subject: [m2] sftp how to disable asking continue ?


Hi,
I use sftp to deploy on a remote repository.
I have the following output :
The authenticity of host 'ip' can't be established.
RSA key fingerprint is key.
Are you sure you want to continue connecting? (yes/no): yes

Is there any way (cli parameter, plugin configuration or settings) to
disable this question ?

I use :

      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-ftp</artifactId>
        <version>1.0-alpha-5</version>
      </extension>

Thanks,
- Olivier



This e-mail, any attachments and the information contained therein
("this message") are confidential and intended solely for the use of the
addressee(s). If you have received this message in error please send it
back to the sender and delete it. Unauthorized publication, use,
dissemination or disclosure of this message, either in whole or in part
is strictly prohibited.
********************************************************************** 
Ce message electronique et tous les fichiers joints ainsi que  les
informations contenues dans ce message ( ci apres "le message" ), sont
confidentiels et destines exclusivement a l'usage de la  personne a
laquelle ils sont adresses. Si vous avez recu ce message par erreur,
merci  de le renvoyer a son emetteur et de le detruire. Toutes
diffusion, publication, totale ou partielle ou divulgation sous quelque
forme que se soit non expressement autorisees de ce message, sont
interdites.
********************************************************************** 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: RE : [m2] sftp how to disable asking continue ?

Posted by Brett Porter <br...@gmail.com>.
It should only ask once - the bug is fixed.

Using --batch-mode will prevent it ever being asked (though fail if
not in known hosts)

- Brett

On 12/2/05, Olivier Lamy <ol...@accor.com> wrote:
> Thanks a lot.
> Maybe adding this in
> http://maven.apache.org/guides/mini/guide-deploy-ftp.html ?
>
> - Olivier
>
> -----Message d'origine-----
> De : Michael Fiedler [mailto:mfiedler@wernervas.com]
> Envoyé : jeudi 1 décembre 2005 19:07
> À : Maven Users List
> Objet : RE: [m2] sftp how to disable asking continue ?
>
>
> I added a .ssh dir to $USER_HOME$.  After you say trust this host
> (prompt noted below), a known_hosts file will exist in that dir.
>
> Michael
>
> -----Original Message-----
> From: Olivier Lamy [mailto:olivier.lamy@accor.com]
> Sent: Thursday, December 01, 2005 11:56 AM
> To: Maven Users List
> Subject: [m2] sftp how to disable asking continue ?
>
>
> Hi,
> I use sftp to deploy on a remote repository.
> I have the following output :
> The authenticity of host 'ip' can't be established.
> RSA key fingerprint is key.
> Are you sure you want to continue connecting? (yes/no): yes
>
> Is there any way (cli parameter, plugin configuration or settings) to
> disable this question ?
>
> I use :
>
>       <extension>
>         <groupId>org.apache.maven.wagon</groupId>
>         <artifactId>wagon-ftp</artifactId>
>         <version>1.0-alpha-5</version>
>       </extension>
>
> Thanks,
> - Olivier
>
>
>
> This e-mail, any attachments and the information contained therein
> ("this message") are confidential and intended solely for the use of the
> addressee(s). If you have received this message in error please send it
> back to the sender and delete it. Unauthorized publication, use,
> dissemination or disclosure of this message, either in whole or in part
> is strictly prohibited.
> **********************************************************************
> Ce message electronique et tous les fichiers joints ainsi que  les
> informations contenues dans ce message ( ci apres "le message" ), sont
> confidentiels et destines exclusivement a l'usage de la  personne a
> laquelle ils sont adresses. Si vous avez recu ce message par erreur,
> merci  de le renvoyer a son emetteur et de le detruire. Toutes
> diffusion, publication, totale ou partielle ou divulgation sous quelque
> forme que se soit non expressement autorisees de ce message, sont
> interdites.
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org