Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. var Client = require('ssh2').Client;
  2. var fs = require('fs');
  3. var path = require('path');
  4.  
  5. var args = process.argv.slice(2);
  6.  
  7. var connSettings = {
  8. host: args[0] || '127.0.0.1',
  9. port: args[1] || 22,
  10. username: args[2] || 'karim',
  11. password: args[3] || 'karimos',
  12. algorithms: {
  13. hmac: ['hmac-sha2-256', 'hmac-sha2-512', 'hmac-sha1', 'hmac-sha1-96']
  14. }
  15.  
  16. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement