Changeset 2275


Ignore:
Timestamp:
Mar 7, 2014, 2:41:02 PM (9 years ago)
Author:
Nicklas Nordborg
Message:

Adding 'sshj' library for connecting to servers with SSH. Added a 'ssh_test.jsp' page which can do three things:

  • Execute a command on a remote server
  • Send a file (scp) to a remote server
  • Start a job on a remote server and check if it is still running or not


Some preparations are needed:

  • The 'config/reggie.known_hosts' must be configured with the signature of the host you want to connect to. The file should be placed in <base-dir>/www/WEB-INF/classes' directory so that it is available at runtime.
  • Script files in the 'scripts' directory should be uploaded to user's home director on the remote server (for testing the 'start job' feature).

The 'Test SSH' wizard require admnistrator role.

Location:
extensions/net.sf.basedb.reggie/branches/ssh-test
Files:
14 added
5 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.