Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Latest commit

 

History

History
52 lines (35 loc) · 1.35 KB

README.md

File metadata and controls

52 lines (35 loc) · 1.35 KB

UNUSED

Note: this code is not used, the jsch-plugin used by Rundeck is part of https://github.com/rundeck/rundeck


jsch-plugin Rundeck Plugin

This is a node executor / File Copier plugin based on JSCH library

This code was extracted from the Rundeck core, and is the standalone version of the same plugin that is built-in and shipped with Rundeck.

Build and Install

./gradlew clean && ./gradlew build 

cp build/libs/jsch-plugin-x.x.x.jar $RDECK_BASE/libext

How to use

This plugin is a standalone version of the JSCH plugin that comes built into Rundeck. The JSCH documentation applies to this plugin.

Set it at project level

Go to Project Settings > Edit Configuration to set the JSCH plugin at project level

Set at node level

Use node-executor and file-copier node attributes to use SSHJ plugin at node level.

Demo-Ubuntu:
  nodename: Demo-Ubuntu
  hostname: 192.168.100.18
  description: Ubuntu 20
  username: samuel
  osFamily: unix
  node-executor: jsch-ssh
  file-copier: jsch-scp
  tags: ubuntu
  ssh-authentication: password
  ssh-password-storage-path: keys/node/samuel.password
  sudo-password-storage-path: keys/node/sudo.password
  ssh-password-option: option.password
  sudo-command-enabled: 'true'