net-ssh
Unable to create file with correct permissions using Net::SSH library
I\'m having troubles correctly setting file permissions using the Net::SSH library. Although I can correctly set the file\'s permissions after creating it, I need the file to have the correct permissi[详细]
2023-04-12 04:08 分类:问答Marshaling Strings in Ruby
I\'m encountering a bug using Capistrano. I\'ve narrowed down the bug to literally this line of code:[详细]
2023-04-10 12:57 分类:问答How do I run Net::SSH and AMQP in the same EventMachine reactor?
Some background: Gerrit exposes an event stream through SSH. It\'s a cute trick, but I need to convert those events into AMQP messages. I\'ve tried to do this with ruby-amqp and Net::SSH but, well, it[详细]
2023-04-08 22:30 分类:问答Net::SSH works from production rails console, AuthenticationFailed from production webapp
I have a rails app where a user can submit a form and it goes off and connects to a remote server via ssh to call a script. Eventually I plan to use delayed_job or something like that but I can\'t get[详细]
2023-04-06 20:42 分类:问答Net-SSH Ruby Authentication
Can someone please shed some light on this issue I have with net-ssh. I am new to ruby and am working on this project.[详细]
2023-03-31 11:04 分类:问答Cannot connect using keys with Ruby and net/ssh
I\'m having trouble connecting via ssh from ruby using the \'net-ssh\' gem, getting Net::SSH::AuthenticationFailed.The code is below[详细]
2023-03-22 20:45 分类:问答Net::SFTP keeps throwing errors in resque
I am running rails 3.1rc4 and keep running into this error message in my resque queues uninitialized constant Net::SFTP With the exception \"NameError\"[详细]
2023-03-17 09:48 分类:问答Using the ruby gem net-ssh-multi to execute a sudo command on multiple servers at once
In a previous questionI figured out how to start a password-authenticated ssh sessions on multiple servers to run a single command.Now I need to be able to execute a \"sudo\" command.The problem is, t[详细]
2023-03-10 01:05 分类:问答installing Net/SSH/Perl.pm
I am fairly new to scripting with perl. I am trying to ssh into a server and perform some commands. I have to provide a username and password.[详细]
2023-03-03 19:29 分类:问答How to SSH into a server and then SFTP from there to another server?
Here\'s the situation: I have SSH access to ServerA I have SFTP access to ServerB, but only from ServerA[详细]
2023-03-01 16:26 分类:问答