Skip to content

Commit

Permalink
Update server.coffee
Browse files Browse the repository at this point in the history
updating options format
  • Loading branch information
g-alfieri authored Oct 13, 2022
1 parent e81cd69 commit 0eddb62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ exitOnConfigError 'No AUTH_MECHANISM specified' unless authMechani
exitOnConfigError "Unknown AUTH_MECHANISM: #{authMechanism}" unless authenticationHandler

options =
hostKeys: fs.readFileSync keypath
{
hostKeys: [fs.readFileSync(keypath)]
}

sessionFactory = handlerFactory container, shell

Expand Down

0 comments on commit 0eddb62

Please sign in to comment.