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

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -