tasks/mina/default.rb in mina-1.1.1 vs tasks/mina/default.rb in mina-1.2.0
- old
+ new
@@ -56,10 +56,10 @@
ensure!(:domain)
ensure!(:port)
run :local do
command %{
if ! ssh-keygen -H -F #{fetch(:domain)} &>/dev/null; then
- ssh-keyscan -t rsa -p #{fetch(:port)} -H #{fetch(:domain)} >> ~/.ssh/known_hosts
+ ssh-keyscan -p #{fetch(:port)} #{fetch(:domain)} >> ~/.ssh/known_hosts
fi
}
end
end