Home » U++ Library support » U++ MT-multithreading and servers » SSH package for U++ (A feature-rich ilbssh2 wrapper for Ultimate++)
SSH package for U++ [message #48973] |
Tue, 14 November 2017 21:59 |
Oblivion
Messages: 1135 Registered: August 2007
|
Senior Contributor |
|
|
Hello guys,
I am officially announcing the release of "beta" version of SSH package.
Package is tested on Arch Linux (Kernel: 4.13, GCC 7.2) and Windows (7/10, MinGW 7.2/MSC 14 (2017))
SSH package for U++
--------------------
SSH package is a feautre-rich, flexible yet very easy to use libssh2 wrapper for Ultimate++.
It supports both console and GUI-based applications on POSIX-compliant operating systems and
MS Windows (tm).
Currently it is in beta (version 1) stage.
Classes:
--------------------
- Base (core) class -> Ssh
- Ssh session -----> SshSession
- Sftp subsystem -----> SFtp
- Ssh channel -----> SshChannel
- Scp channel -----> Scp
- Exec channel -----> SshExec
- Real-time interactive shell -----> SshShell
- X11 forwarding -----> SshShell (as operation mode)
- Tcp/IP and port forwarding -----> SshTunnel
- Known hosts manager -> SshHosts
Features and Highlights:
--------------------
- Ssh-derived classes have pick semantics, based on RAII principle, support RTTI, and allow
polymorphism (i.e. different classes can be stored in the same arrays, etc.) through a common
interface.
- Uses U++ memory allocators (Native allocators is also a compile-time option)
- Uses OpenSSL by default.
- Supports time-constrained, blocking and non-blocking operation modes.
- Supoorts multithreaded file transfers and remote command execution (exec), using worker threads.
- Supports 3rd-party network proxies. (Such as NetProxy)
- Supports known hosts verification mechanism.
- Supports password, public key, host-based, and keyboard-interactive authentication methods.
- Supports ssh-agents.
- Supports real-time interactive command line (shell) interface with both console and GUI integration (works on Windows and Posix-compliant OS'es)
- Supports multiple X11 connection forwarding.
- Supports Tcp/IP and port forwarding.
- Supports detailed (full) debug logging.
Todo:
--------------------
- Add more high level methods.
- Refactor Ssh (core) class.
- Improve documentation.
Reference examples:
-------------------
- SFtpGet: Demonstrates basic SFtp file download in blocking mode.
- SFtpGetNB: Demonstrates basic SFtp file download in non-blocking mode.
- SFtpGetMT: Demonstrates basic SFtp file download, using a worker thread.
- SFtpGUI: Demonstrates a basic SFtp browser with GUI (with upload, download, mkdir, rename, delete commands).
- SFtpMultiGetMT: Demonstrates SFtp dir listing and concurrent file transfers, using worker threads.
- SFtpConsumerGet: Demonstrates the usage of a consumer function for SFtp download in blocking mode.
- SFtpConsumerGetMT: Demonstrates the usage of a consumer function for SFtp download, using a worker thread.
- SshExec: Demonstrates basic Ssh remote command execution in blocking mode.
- SshExecNB: Demonstrates basic Ssh remote command execution in non-blocking mode.
- SshExecMT: Demonstrates basic Ssh remote command execution, using a worker thread.
- SshKeyboardAuth: Demonstrates basic Ssh interactive (challenge-response) authentication method in blocking mode.
- SshLoggingExample: Demonstrates the logging capabilities of SSH package.
- SshOverTor: Demonstrates a basic Ssh connection over TOR, using a third-party network proxy adapter.
- SshPolymorphismNB: Demonstrates the polymorphism capability of SSH channels in non-blocking mode.
- SshShell: Demonstrates a basic, real-time SSH shell console in blocking mode.
- SshShellNB: Demonstrates a basic, real-time SSH shell console in non-blocking mode.
- SshShellX11: Demonstrates a basic, real-time SSH shell console with multiple X11 forwarding.
- SshShellGUI: Demonstrates the basic GUI integration of SshShell class with multiple X11 forwarding, in non-blocking mode.
- SshTunnelExample: Demonstrates the basic SSH tunneling (as tunnel/server) in blocking mode.
Below you can find the latest package and the GIT address where you can always get the latest version.
GIT repo: https://github.com/ismail-yilmaz/upp-components/tree/master/ Core/SSH
Examples: https://github.com/ismail-yilmaz/upp-components/tree/master/ Examples
Older Version: https://github.com/ismail-yilmaz/upp-components/tree/master/ Attic/SSH
I appreciate bug reports, reviews, criticism, patches etc.
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Sat, 16 June 2018 19:05] Report message to a moderator
|
|
|
|
|
SSH package for U++
By: Oblivion on Tue, 14 November 2017 21:59
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 17 November 2017 22:15
|
|
|
Re: SSH package for U++
By: Oblivion on Sat, 18 November 2017 15:57
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 19 November 2017 18:21
|
|
|
Re: SSH package for U++
By: Oblivion on Tue, 21 November 2017 00:38
|
|
|
Re: SSH package for U++
By: koldo on Thu, 23 November 2017 09:07
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 24 November 2017 21:03
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 26 November 2017 09:59
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 01 December 2017 14:35
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: Oblivion on Sat, 02 December 2017 10:44
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: Oblivion on Mon, 04 December 2017 22:46
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: Oblivion on Tue, 19 December 2017 14:27
|
|
|
Re: SSH package for U++
By: Oblivion on Tue, 19 December 2017 14:44
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 07 January 2018 22:09
|
|
|
Re: SSH package for U++
By: koldo on Mon, 08 January 2018 08:27
|
|
|
Re: SSH package for U++
By: Oblivion on Tue, 09 January 2018 23:15
|
|
|
Re: SSH package for U++
By: koldo on Wed, 10 January 2018 08:53
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 19 January 2018 14:18
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 21 January 2018 12:18
|
|
|
Re: SSH package for U++
By: koldo on Sun, 21 January 2018 16:53
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 28 January 2018 12:13
|
|
|
Re: SSH package for U++
By: Oblivion on Mon, 02 April 2018 23:27
|
|
|
Re: SSH package for U++
By: Oblivion on Sat, 07 April 2018 16:25
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 15 April 2018 00:39
|
|
|
Re: SSH package for U++
By: Oblivion on Sat, 21 April 2018 08:12
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: mirek on Tue, 10 July 2018 14:37
|
|
|
Re: SSH package for U++
By: mirek on Tue, 10 July 2018 15:38
|
|
|
Re: SSH package for U++
By: mirek on Tue, 10 July 2018 15:42
|
|
|
Re: SSH package for U++
|
|
|
Re: SSH package for U++
By: mirek on Tue, 31 July 2018 11:07
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 03 August 2018 17:34
|
|
|
Re: SSH package for U++
By: mirek on Fri, 03 August 2018 18:03
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 03 August 2018 18:44
|
|
|
Re: SSH package for U++
By: Oblivion on Tue, 07 August 2018 23:32
|
|
|
Re: SSH package for U++
By: mirek on Wed, 08 August 2018 10:56
|
|
|
Re: SSH package for U++
By: Oblivion on Wed, 08 August 2018 11:22
|
|
|
Re: SSH package for U++
By: mirek on Wed, 08 August 2018 13:28
|
|
|
Re: SSH package for U++
By: Oblivion on Wed, 08 August 2018 14:16
|
|
|
Re: SSH package for U++
By: mirek on Thu, 09 August 2018 11:54
|
|
|
Re: SSH package for U++
By: mirek on Thu, 09 August 2018 12:00
|
|
|
Re: SSH package for U++
By: Oblivion on Thu, 09 August 2018 16:24
|
|
|
Re: SSH package for U++
By: mirek on Thu, 09 August 2018 16:49
|
|
|
Re: SSH package for U++
By: Oblivion on Thu, 09 August 2018 17:03
|
|
|
Re: SSH package for U++
By: Oblivion on Thu, 09 August 2018 17:59
|
|
|
Re: SSH package for U++
By: mirek on Thu, 09 August 2018 18:35
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 12 August 2018 12:51
|
|
|
Re: SSH package for U++
By: Oblivion on Thu, 30 August 2018 07:27
|
|
|
Re: SSH package for U++
By: mirek on Thu, 30 August 2018 09:04
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 31 August 2018 00:12
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 02 September 2018 21:59
|
|
|
Re: SSH package for U++
By: Oblivion on Wed, 31 October 2018 11:00
|
|
|
Re: SSH package for U++
By: Oblivion on Sun, 04 November 2018 19:55
|
|
|
Re: SSH package for U++
By: Oblivion on Fri, 22 March 2019 17:39
|
Goto Forum:
Current Time: Fri Nov 01 00:23:25 CET 2024
Total time taken to generate the page: 0.02584 seconds
|