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

sftp fails if the server is running ssh on an alternate port #409

Closed
pjungwir opened this issue Mar 6, 2013 · 1 comment
Closed

sftp fails if the server is running ssh on an alternate port #409

pjungwir opened this issue Mar 6, 2013 · 1 comment

Comments

@pjungwir
Copy link
Contributor

pjungwir commented Mar 6, 2013

Suppose you have this line in your deploy.rb:

set :ssh_options, :forward_agent => true, :port => 222

This means that put foo, bar, via: :scp works, but put commands that run over sftp (the default) fail. Capistrano should use ssh_options[:port] when opening an sftp connection.

This issue stems from this pull request: #303 Ever since then, Capistrano fails trying to run deploy:assets:update_asset_mtimes.

@pjungwir
Copy link
Contributor Author

pjungwir commented Mar 6, 2013

Sorry, looks like this has a different cause than I thought.

@pjungwir pjungwir closed this as completed Mar 6, 2013
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