Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8138199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:25:01+00:00 2026-06-06T11:25:01+00:00

We have a remote repository on a linux server. When I work on a

  • 0

We have a remote repository on a linux server. When I work on a linux machine I dont have any problem to access the repository with scp. I would like to work now on a windows machine on the project but I can’t get the remote repository to work.

I followed these instructions: http://ekawas.blogspot.com/2007/02/maven-windows-and-deploying-to-remote.html

I have this in my settings.xml

<servers>
<server>
  <id>ssh-repository</id>
  <username>username</username>
  <password>password</password>
  <privateKey>C:\Dev\programs\ssh_private_key.ppk</privateKey>
  <configuration>
    <sshExecutable>plink</sshExecutable>
    <scpExecutable>pscp</scpExecutable>
  </configuration>
</server>

  ...
  <profiles>
    <profile>
      <id>defaultProfile</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <repositories>
        <repository>
          <id>ssh-repository</id>
          <name>SSH-Repository</name>
          <url>scpexe://host:/path-to-rep</url>
        </repository>
      </repositories>
    </profile>
  </profiles>

When I just make pscp on the command prompt, I don’t have any problems.
When I try mvn package or mvn clean, it gives the following error:

Non-resolvable parent POM: Could not transfer artifact .... from/ro ssh-repository ...

Is there something wrong with my settings.xml ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:25:03+00:00Added an answer on June 6, 2026 at 11:25 am

    Just if someone has the same problem. I managed to connect to my ssh repository from my windows machine with winscp.

    here are the steps

    1. install winscp
    2. connect to your host with winscp
    3. set settings of winscp -> memory -> save configuration in ini file
    4. add ssh-rsa keys to know_hosts file > username.ssh\known_hosts
    5. edit settings.xml in \username.m2\settings.xml

      • dont use sshExecutable and scpExecutable
      • use scp://hostname/location/to/repo
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have full access to some folder on a remote Linux server over ssh
I have an existing Git repository on my local machine. I would like to
I have a remote web server that I have full access to (ssh, git,
The scenario I have access to this old linux server, that no longer receives
I would like to convert a remote Perforce repository into a Mercurial repository on
I have strange problem. I have own remote repository and upload their plugin. Then
i use svn and store my repository on a remote linux server, accessible via
I have tried following how-set-up-your-own-private-git-server-linux and private-remote-git-repositories-ubuntu-linode but I am still having problems. My
I have three remote repository sitting on different remote servers. Server A, Server B
I have a project checked out on my local machine from a remote repository,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.