You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
irb(main):004:0> Rye::Cmd.add_command :ssh_keygen, "/usr/bin/ssh-keygen"
=> #<Proc:0x00000000a70d00@/var/lib/gems/2.0.0/gems/rye-0.9.12/lib/rye/cmd.rb:354 (lambda)>
irb(main):005:0> Rye.shell :ssh_keygen, "--help"
Rye::CommandNotFound: ssh_keygen
from /var/lib/gems/2.0.0/gems/rye-0.9.12/lib/rye.rb:193:in `prepare_command'
from /var/lib/gems/2.0.0/gems/rye-0.9.12/lib/rye.rb:236:in `shell'
from (irb):5
from /usr/bin/irb2.0:12:in `<main>'
I finally realised that the method has to match the program name, which isn't helpful when the program name contains a dash ("-"), like ssh-keygen does.
I wanted to add ssh-keygen to the list of whitelisted commands.
But received the following error:
I finally realised that the method has to match the program name, which isn't helpful when the program name contains a dash ("-"), like ssh-keygen does.
What I've had to do is:
(Which now works)
The text was updated successfully, but these errors were encountered: