Closed designermonkey closed 10 years ago
Since you can push/pull Git repositories over SSH I'm not sure there's any advantage of using Danelion. Are you not able to install Git on the server?
It's more a security thing, but as we all know, some hosts don't allow us to install git.
I can see your point. It was just an idea :)
Yeah, looks like Ruby's Net::SCP provides an interface very similar to Net::SFTP. Pull request? Otherwise, I can try implementing this when I have some time.
Sadly, I am not a Ruby dev.
Thanks for this excellent little gem. I have a number of smaller scale web dev clients who are on shared hosting and either don't have SSH access or don't have git in their hosting server. This is very helpful.
I would second the SSH key feature. It would be great if dandelion would use my ssh-agent and ssh config file to login to the server via SSH (when available) so I don't have to put passwords in plain text files. I do leave dandelion.yml out of version control, for this reason.
Just discovered that you can use SSH keys with dandelion and SFTP. You must manually add the key to your ssh agent from the command line:
ssh-add ~/.ssh/mykey
Very nice!
To refresh this topic, what are the actual steps I need to take to switch to SSH? What do I change in the .yml file?
@DanielJLewis There's still no SSH adapter.
You can use an ssh key to connect via SFTP, instead of using a password in the configuration file (if the server supports connecting to SFTP with an SSH key).
@creativecoder @DanielJLewis I'll update the docs w/ this info.
I'm going to close this issue since I don't see any need to implement an SSH adapter. Please re-open if SFTP + SSH key is not sufficient.
Would you consider writing a script for deployment using SSH?