Skip to content

Commit

Permalink
readme: fix parseKey usage in example
Browse files Browse the repository at this point in the history
  • Loading branch information
xxorax authored and mscdex committed Aug 12, 2021
1 parent 45da155 commit 3b21709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ const { timingSafeEqual } = require('crypto');
const { readFileSync } = require('fs');
const { inspect } = require('util');

const { parseKey, Server } = require('ssh2');
const { utils: { parseKey }, Server } = require('ssh2');

const allowedUser = Buffer.from('foo');
const allowedPassword = Buffer.from('bar');
Expand Down

0 comments on commit 3b21709

Please sign in to comment.