[ https://issues.apache.org/jira/browse/MDEPLOY-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965594#comment-17965594 ]
Olivier Lamy commented on MDEPLOY-12: ------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-deploy-plugin#413|https://github.com/apache/maven-deploy-plugin/issues/413]. > knownhosts file isn't updated when .ssh dir is missing (while deploying to > remote scp repo) > ------------------------------------------------------------------------------------------- > > Key: MDEPLOY-12 > URL: https://issues.apache.org/jira/browse/MDEPLOY-12 > Project: Maven Deploy Plugin (Moved to GitHub Issues) > Issue Type: Bug > Environment: windows xp > Reporter: Michal Stochmialek > Assignee: Brett Porter > Priority: Major > > While deploying an artifact to remote repo using scp, maven asks about > authenticity of host for every artifact: > The authenticity of host 'tesa3' can't be established. > RSA key fingerprint is 71:50:80:89:dd:38:bf:19:4b:63:e9:2d:a6:25:41:a0. > Are you sure you want to continue connecting? (yes/no): > Then, I created .ssh directory in %USERPROFILE% dir. And after next > confirmation of host's autheniticy, knownhosts file had been created. In > result, problem dissappeared. > I suspect that this is documented somewhere (or maybe not), but I think that > automatical creation of this directory would be more user-friendly. -- This message was sent by Atlassian Jira (v8.20.10#820010)