ruby - scp did not finish successfully (1) -


i working on module transfer file 1 server using ruby on rails. using net::scp same getting following error. when googled found should folder permissions or path issue isn't. have proper permissions (write permission) on folder , both source , destination path exists.

scp = net::scp.start(host,username, :ssh => {:password => "****"}) scp.upload!(src_file,destination_path) 

error : scp did not finish (1)

note: host username , password correct


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -