ssh 1.0.0

Download zip

ssh

This is the standard Aussom-Lang SSH module. This module providing SSH support is based on JSCH v2.28.2 which is actively maintained and based on a BSD-style license.

It only provides basic SSH support for connecting, reading, writing, and disconnecting from an SSH connection.

Usage

Here's a short example, please see the API doc for details.

// Create the connection
con = new ssh(host, userName, password);

// Connect
con.connect();

// Write a command
con.write('ifconfig\n');

// Reads char by char
res = '';
res += con.read();
while(!res.contains(':~$')) {
    char = con.read();
    res += char;
}
c.log(res);

// Close the connection
con.disconnect();

License

Copyright 2026 Austin Lehman

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.