Giter VIP home page Giter VIP logo

Comments (7)

wlduggan avatar wlduggan commented on July 22, 2024 4

I had the same issue. Setting deploy.host to user@hostname and leaving deploy.user unset fixes it for me.

from middleman-deploy.

rubytastic avatar rubytastic commented on July 22, 2024

Believe you are not passing it in your call

strategy_instance = strategy_class_name.constantize.new(self.server_instance.build_dir, self.options.remote, self.options.branch, self.options.commit_message)
For now , I have made custom user on my server with my own username I have locally.
but after typing the password just a blank screen.

Any help would be welcome, getting a Could not read from remote repository

from middleman-deploy.

toobulkeh avatar toobulkeh commented on July 22, 2024

A git deploy is run from the local machine using a local git command to a remote git repository. When you run the command in terminal, it's run using your local user.

The deploy user param is for a remote user on a remote server. This isn't used in git deploy as git deploy doesn't push the folders automatically to a server after committing to git. If you'd like to do that, I'd suggest looking into GitHub post-hooks.

This doesn't apply (make sense) if you're running your own git-server (not GitHub or a hosted Git service).

from middleman-deploy.

nlsrchtr avatar nlsrchtr commented on July 22, 2024

This issue seems to persist. I would need it as described for a deploy via rsync. The console just outputs:

## Deploying via rsync to SERVERNAME:/path/ port=22

Looking at rsync.rb it should also output the username, if I set one.

Any idea for a quick fix?

More background information: I'm using 2.0.0.pre.alpha and I also get Received disconnect from $IP: 2: Too many authentication failures for $WRONG_USERNAME.

from middleman-deploy.

paulmsmith avatar paulmsmith commented on July 22, 2024

@wlduggan 👍

from middleman-deploy.

nlsrchtr avatar nlsrchtr commented on July 22, 2024

I fixed my issue with this PR. But it is just for rsync, maybe the other methods will have the same problem.

from middleman-deploy.

tonytonyjan avatar tonytonyjan commented on July 22, 2024

@wlduggan's method words!

from middleman-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.