ruby - Net::SSH Authentication failed when connect heroku to another server with key -


i'm trying connect heroku server net/ssh , net/scp.

my server doesn't permit connect password when ssh connection have use secret key.

how should deploy heroku local key?

opt = {     :keys => 'local path secret key',     :passphrase => 'passphrase',     :port => 22 }  net::ssh.start('hostname', 'username', opt) |ssh|   p "scp start!" end 

thank you!


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -