Skip to content
New issue

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

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

Already on GitHub? # to your account

Implement clean_app in ssh, add path and port options #27

Merged
merged 2 commits into from
Jul 4, 2017

Conversation

azdlowry
Copy link
Contributor

@azdlowry azdlowry commented Jul 3, 2017

Some fixes and improvements for ssh mode:

src/ssh.rs Outdated
let stat = process::Command::new("ssh")
.arg(user_at_host)
.arg("-p")
.arg(&*format!("{}", self.config.port.unwrap_or(22)))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would break existing setups using the ~/.ssh/config file to set the port, we should not add the -p 22 arg if nothing is specified in dinghy conf

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot, thanks. Should be fixed now.

So it can be set in ~/.ssh/config
@fredszaq fredszaq merged commit b08c8e7 into sonos:master Jul 4, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants