lib/fulmar/infrastructure/service/ssh_config_service.rb in fulmar-1.8.0 vs lib/fulmar/infrastructure/service/ssh_config_service.rb in fulmar-1.8.1
- old
+ new
@@ -5,17 +5,20 @@
module Service
# Adds entries to the ssh config and checks for existing ones
class SSHConfigService
CONFIG_FILE = "#{ENV['HOME']}/.ssh/config"
KNOWN_HOST_FILE = "#{ENV['HOME']}/.ssh/known_hosts"
+ # @todo: Get rid of this layer (Version 2?)
CONFIG_MAP = {
hostname: 'Hostname',
port: 'Port',
user: 'User',
proxycommand: 'ProxyCommand',
checkhostip: 'CheckHostIP',
stricthostkeychecking: 'StrictHostKeyChecking',
- identityfile: 'IdentityFile'
+ identityfile: 'IdentityFile',
+ userknownhostfile: 'UserKnownHostsFile',
+ loglevel: 'LogLevel'
}
def initialize(config)
@config = config
end