I am trying to use SFTP to publish a dependency to another server:
publishTo := Some(
Resolver.sftp(name, host, "/home/user/.ivy2/local")(Resolver.ivyStylePatterns)
To publish Ivy style, as opposed to Maven, you should enable the following setting in your build:
publishMavenStyle := false
Resolver.ivyStylePatterns doesn't govern the publishing style (which artifacts to generate, etc.) It only specifies the repository paths structure, which are different between Ivy and Maven.