Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Client = require('ssh2').Client;
- var fs = require('fs');
- var path = require('path');
- var args = process.argv.slice(2);
- var connSettings = {
- host: args[0] || '127.0.0.1',
- port: args[1] || 22,
- username: args[2] || 'karim',
- password: args[3] || 'karimos',
- algorithms: {
- hmac: ['hmac-sha2-256', 'hmac-sha2-512', 'hmac-sha1', 'hmac-sha1-96']
- }
- };
- algorithms: {
- kex: [ ... ]
- }
Add Comment
Please, Sign In to add comment