ultimatepp/uppsrc/Core/SSH
2023-04-22 11:50:13 +02:00
..
libssh2 Core/SSH: OpenSSL 3.0 deprecation warnings are suppressed. (#153) 2023-04-22 11:50:13 +02:00
src.tpp Core/SSH: ECDSA 256/384/521 and ED 25519 based host keys are now recognized. 2021-05-12 22:55:13 +00:00
Channels.cpp Core/SSH: SetError internal method is renamed as ThrowError to better describe its function. 2020-11-23 22:24:35 +00:00
Channels.h Core/SSH: SshExec: Fixed a truncation issue with stdout/stderr buffers. 2020-07-21 18:31:06 +00:00
Copying Core/SSH: Underlying libssh2 libarary is upgraded (1.9.1 -> 1.10.0) (#92) 2022-09-14 17:17:05 +02:00
Core.cpp Core/SSH: SetError internal method is renamed as ThrowError to better describe its function. 2020-11-23 22:24:35 +00:00
Core.h Core/SSH: SetError internal method is renamed as ThrowError to better describe its function. 2020-11-23 22:24:35 +00:00
Exec.cpp Core/SSH: SshExec: Fixed a truncation issue with stdout/stderr buffers. 2020-07-21 18:31:06 +00:00
Hosts.cpp Core/SSH: ECDSA 256/384/521 and ED 25519 based host keys are now recognized. 2021-05-12 22:55:13 +00:00
Hosts.h Core/SSH: ECDSA 256/384/521 and ED 25519 based host keys are now recognized. 2021-05-12 22:55:13 +00:00
Issues SSH: SshShell: Console window resize notification workaround for MacOS. 2019-02-19 16:31:02 +00:00
libssh2upp.c Core/SSH: Underlying libssh2 libarary is upgraded (1.9.1 -> 1.10.0) (#92) 2022-09-14 17:17:05 +02:00
Malloc.cpp Core/SSH: Minor fixes & decprecated methods are marked with [[deprecated]] attribute. 2020-09-07 18:53:40 +00:00
ReadMe.md Core/SSH: Underlying libssh2 libarary is upgraded (1.9.1 -> 1.10.0) (#92) 2022-09-14 17:17:05 +02:00
Scp.cpp Core/SSH: SetError internal method is renamed as ThrowError to better describe its function. 2020-11-23 22:24:35 +00:00
Session.cpp SSH: Deprecated methods are removed. (#82) 2022-07-19 10:15:40 +02:00
Session.h SSH: Deprecated methods are removed. (#82) 2022-07-19 10:15:40 +02:00
SFtp.cpp SSH: Deprecated methods are removed. (#82) 2022-07-19 10:15:40 +02:00
SFtp.h SSH: Deprecated methods are removed. (#82) 2022-07-19 10:15:40 +02:00
SFtpStream.cpp Core/SSH: Minor SFtpStream improvements, bug fixes, cleanup. 2020-11-17 14:53:29 +00:00
Shell.cpp Core/SSH: SetError internal method is renamed as ThrowError to better describe its function. 2020-11-23 22:24:35 +00:00
SSH.h SSH: CLANG warning is fixed. 2019-10-22 12:18:24 +00:00
SSH.upp Core/SSH: Underlying libssh2 libarary is upgraded (1.9.1 -> 1.10.0) (#92) 2022-09-14 17:17:05 +02:00
Todo Core/SSH: libssh2 is upgraded to v1.9.0 2020-11-17 14:41:50 +00:00
Tunnel.cpp Core/SSH: SetError internal method is renamed as ThrowError to better describe its function. 2020-11-23 22:24:35 +00:00

SSH package for U++

SSH package is a flexible, easy-to-use, yet powerful libssh2 wrapper for Ultimate++. It supports both console and GUI-based applications on POSIX-compliant operating systems and MS Windows (tm).

Classes:

- Base (core) class  -> Ssh
  - Ssh session        -----> SshSession
  - Sftp subsystem     -----> SFtp
     -  SFtp Stream interface       -----> SFtpStream
     -  File system transparency    -----> SFtpFileSystemInfo 
  - 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 array, etc.) through a common interface.
  • Uses U++'s memory manager (Native manager (malloc) is also a compile-time option)
  • Uses OpenSSL by default.
  • Supports multithreading.
  • Supports 3rd-party network proxies.
  • 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 (SshShell works on both Windows and Posix-compliant OSes)
  • Supports X11 forwarding. (A single SShShell instance is capable of handling multiple X11 requests simultaneously.)
  • Supports Tcp/IP and port forwarding.
  • Supports stream operations on SFTP objects.
  • Supports access to sftp folder hiearcy in a file-system-agnostic (transparent) way.
  • Supports detailed (full) debug logging.

Reference examples:

  • SshBasics: Demonstrates basic capabilities of SSH package.
  • SFtpFileSel: Demonstrates FileSel integration of SFtp class, using FileSystemInfo interface.
  • SFtpBrowser: Demonstrates a basic sftp browser with GUI.

License

Copyright (c) 2019-2022, İsmail Yılmaz
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
  contributors may be used to endorse or promote products derived from
  this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.