Get all ssh options from config
This commit is contained in:
@@ -46,6 +46,10 @@ class Mrsk::Configuration
|
||||
"traefik.http.middlewares.#{service}.retry.initialinterval" => "500ms"
|
||||
end
|
||||
|
||||
def ssh_options
|
||||
{ user: config.ssh_user || "root", auth_methods: [ "publickey" ] }
|
||||
end
|
||||
|
||||
private
|
||||
attr_accessor :config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user