1

I've been train to setup the connection from Ruby on rails to a SFTP server, but it fails on everything I try!

This is what I am using, following the documentation and some articles on stackoverflow.

Net::SFTP.start( host, user, key_data: [], keys: "key_location", keys_only: true)

I currently removed the passphrase from the .ppk key.

No matter what I try I get the prompt for password! user@host's password:

I've tested connecting to the sftp server with WinSCP and works fine using a passphrase or not.

R Kurti
  • 23
  • 5

1 Answers1

1

Figured it out .. used the openssh key!

R Kurti
  • 23
  • 5