sshkit icon indicating copy to clipboard operation
sshkit copied to clipboard

A toolkit for deploying code and assets to servers in a repeatable, testable, reliable way.

Results 51 sshkit issues
Sort by recently updated
recently updated
newest added

https://github.com/capistrano/sshkit/blob/6c81f53eec86443ea4f03fd87ae3350d4d4051ec/lib/sshkit/backends/abstract.rb#L59 The problem is that background simply `nohup` and backgrounds the process using the shell's job control `&`. More often than not, badly behaved daemons still block. There's many hoops...

discuss!

See https://github.com/capistrano/sshkit/pull/289 for context. We merged a bit of a kludge.

``` #!/usr/bin/env ruby require 'sshkit' require 'sshkit/dsl' include SSHKit::DSL on %w{srv16} do |host| as 'jbrein' do execute 'whoami' end end ``` Triggers: ``` vagrant@srv16 password:: ``` where: ``` #!/usr/bin/env ruby...

help wanted
chore

`suffix` addition, similarly to `prefix`, would add flexibility to the commands handled, also in terms of combinations, e.g. along the lines of: ``` ruby SSHKit.config.command_map.prefix[command].push("bash -lc '") SSHKit.config.command_map.suffix[command].push(" && exit...

enhancement
discuss!
help wanted

docs aren't good enough to explain the design choice IMHO - just check stackoverflow... one solution is just to fix it - use shellwords to properly escape the command ```...

sometimes it's more comfortable (because of suduers settings) to use sudo -u user cmd sometimes it's better to have sudo su user -c 'cmd' sudo su - user -c 'cmd'...

enhancement
need more info

From https://github.com/capistrano/sshkit/issues/348#issuecomment-220160838 > AFAIK nested on blocks were never considered in the design. The fact that it works at all is really just coincidence, due to how the SSHKit DSL...

enhancement
discuss!
help wanted

Rake 11.0 turns on Ruby warnings by default. With warnings enabled, running SSHKit's test suite results in a flood of messages like this: ``` lib/sshkit/runners/group.rb:15: warning: instance variable @group_size not...

discuss!

@ncreuschling @mattbrictson /cc Continuing from the discussion in #283 I'd like to raise the general issue of shell escaping (`shellwords`) and what we mean/expect about "escaping strings" and so forth,...

discuss!

The command for sudo ``` def user(&_block) return yield unless options[:user] "sudo -u #{options[:user]} #{environment_string + " " unless environment_string.empty?}-- sh -c '%s'" % %Q{#{yield}} end ``` is not resetting...

new feature
help wanted