Skip to content

Instantly share code, notes, and snippets.

View paulsena's full-sized avatar

Paul Senatillaka paulsena

View GitHub Profile
@paulsena
paulsena / SFTP Client.js
Last active June 4, 2024 15:37
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 = '';