Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Port #88

Open
dikaio opened this issue Feb 23, 2015 · 0 comments
Open

Default Port #88

dikaio opened this issue Feb 23, 2015 · 0 comments

Comments

@dikaio
Copy link

dikaio commented Feb 23, 2015

I've been using middleman-deploy for sometime now and it hasn't failed me. For the past 24 hours I've failed to find a way to not provide the default port of 22 while using the rsync configuration. My config looks like so:

activate :deploy do |deploy|
  deploy.method         = :rsync
  deploy.flags             = "-avv --progress"
  deploy.host              = "example"
  deploy.path              = "/web/"
  deploy.user              = "example_user"
  # deploy.port            = false
  deploy.clean             = "true"
end

The deploy.host file points to my /.ssh/config which uses my private key. I've tried the following to get the port not to be called:

deploy.port = false
deploy.port = ""
deploy.port = "false"
and also no deploy.port setting at all but when I run it I get

Deploying via rsync to [email protected]:/web/ port=22

Thinking of the simplest way to do this, can someone showeth thou thy way :) - Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant