Rebex SSH Shell

SSH shell, tunneling, telnet, ANSI terminal emulation library for .NET

Download 30-day free trial Buy from $699
More .NET libraries
using (var ssh = new Ssh())
{
  // connect and log in
  ssh.Connect("test.rebex.net");
  ssh.Login("demo", "password");
  
  // execute a simple command
  var response = ssh.RunCommand("echo Hello world!");
  
  // display the response
  Console.WriteLine(response);
}               
Show me more code...
Rebex SSH Shell library is an SSH shell, tunneling, telnet and ANSI terminal emulation library for .NET languages (such as C# or VB.NET). It makes it easy to execute commands on Unix/Windows SSH or telnet servers and to add terminal emulation capabilities to your applications. All popular SSH or telnet servers are supported.
Looking for an SSH/SFTP server library? Try Rebex File Server.
Looking for a standalone SFTP/SSH server for Windows? Try our Rebex Buru SFTP Server.

Why Rebex SSH Shell?

Execute SSH commands

Use the RunCommand method for executing simple commands.
Use the powerful terminal scripting API if you need to script more complex terminal applications.

Scriptable headless terminal

Also known as virtual terminal. Great for applications that interact with SSH or telnet servers but don't need to display the actual terminal session.
Use the screen scraping API for saving the screen content as an image, text file or HTML file.

Connect with SSH, telnet or serial cable

  • SSH
  • Telnet
  • Serial cable (RS-232)
Connect using telnet or SSH. Reuse your SSH session for SFTP. Multiple authentication modes included - from username/password to private keys and Kerberos. Cable connections over RS-232 serial port are supported as well.

Login with ... anything

  • Username and password
  • Public/private key
  • X.509 client certificate
  • GSSAPI
  • Kerberos
  • NTLM
  • Single Sign-On (Kerberos and NTLM)
  • Advanced keyboard-interactive authentication
  • Custom authentication (telnet and serial cable)

VT100, VT52, xterm, ANSI, Pick terminal emulation

Includes emulator of most popular terminals:
  • ANSI
  • VT52
  • VT100 and successors (VT201, VT220)
  • VT520 and VT525 (most features)
  • xterm (most features)
  • SCO ANSI (experimental)
  • Wise 60 (experimental)
  • Pick (experimental)

SSH tunelling and port forwarding

SSH tunelling and port forwarding makes it possible to forward traffic for all connections accepted on a local IP/port (at the client) to a remote IP/port through the server (turning the client to a proxy), or the other way around.

Scriptable Windows Forms terminal control

WinForms terminal control with full Visual Studio designer support. Control it from your code or leave it to your users.

Other features

  • Terminal session recording and replay.
  • Box-drawing and block element characters supported for all fonts.
  • Scroll-back buffer support.
  • Events and delegates for effortless integration with your applications.
  • All common firewalls and proxy servers are supported.
  • Multiple simultaneous operations.
  • FIPS-compliant mode in which only FIPS-approved modules are used.
  • 100% managed code.
  • See more...

Platforms

.NET

8, 7, 6, 5

.NET Framework

3.5 SP1, 4.0-4.8.1

.NET Core

3.1

Mono

6.0 or higher

Xamarin.iOS

13.10 or later

Xamarin.Android

10.1 or later

Learn more about supported standards and platforms.

Legacy platforms

(not included in standard product packages - see more)

 

.NET Compact Framework

3.5/3.9

.NET Framework

2.0-3.5
 

Featured samples

View all 11 C# and VB.NET samples

Satisfied clients

In a matter of hours, I was able to implement a complete and working terminal client based on the Rebex.NET library. The price/performance ratio as well as the support quality and response time is exceptionally good.

I needed to get a quick project out the door using a Telnet Client connecting to a legacy customer telnet server device. I decided to try REBEX tools which had everything I needed including a virtual shell, Telnet abstraction layer, and built-in Regular Expressions parser, all in one package.

The guys at Rebex were lighting fast in answering all my questions, and even before I purchased the tool , they supported me in my integration.

M. Richards

Software Engineering Consultant, L.A. California

While looking for a Terminal Emulation control to create our own terminal client. We found the control from Rebex witch was great in the basics only didn't support Pick as an emulation type. After emailing about this they created the needed emulation support for Pick. Great job guy's!!!

Alexander Geleijns