Skip to content

Instantly share code, notes, and snippets.

@cyberravn
cyberravn / SFTP Client.js
Created October 17, 2017 20:01 — forked from paulsena/SFTP Client.js
ServiceNow SFTP / SSH Javascript Client
var Sftp = Class.create();
Sftp.prototype = {
initialize: function() {
gs.print("Setting up SSH client.");
this.dataSourceID = '';
this.hostname = '';
this.port = 22;
this.username = '';
this.password = '';