25.3. SSH commands

While the SSH Server process is running, the User can access the SSH resource commands by typing the combination Ctrl+P.

As a consequence of this action, the prompt of the SSH Server, configured in the parameter PSER, will be displayed.

The user can leave the command exchange procedure and start the data exchange by typing again the combination Ctrl+P.

The available commands for the command interpreter of the SSH resource are:

open

This command, available only on SSH client processes, allows the User to open a connection with the SSH Server process, hosting on the remote equipment identified by the specified IP.

close / exit

It requests the session to be closed.

clr

It requests the session to be closed.

25.3.1. SSH from Abilis to Abilis

[Important]Important

Starting with 8-9-0 was added possibility to connect to CP, Telnet Client, SSH Client by means of CP, TELNET, SSH command shortcut. The shortcut does not need X25 routings in COR (D R).

[16:47:59] ABILIS_CPX:
<ctrl-p>
[192.168.0.208] TELNETS>clr

CLR 00 00

[192.168.0.208] TELNETS>?

CP             Open connection to local CP resource
SSH            Open connection to local SSH client
TELNET         Open connection to local TELNET client
<CD>-<UD>      Open X25 call with CD and UD
CLR            Close connection
CLOSE          Close Telnet session
EXIT           Close Telnet session
LINUX          Sets for Linux terminal
ANSI           Sets for ANSI terminal
HELP           Show current help

To open an SSH session from an Abilis to another Abilis, the SSH command shortcut must be used.

Example 25.1. SSH - Example

[10:51:07] ABILIS_CPX:           <--- Ctrl+P

[192.168.1.1] SSHS>clr

CLR 00 00

[192.168.1.1] SSHS>ssh        <--- SSH command shortcut
COM

[192.168.1.1] SSHC>open 192.168.5.254
Trying 192.168.5.254 ... Open

Enter user name:root
Enter password:*********         <--- wrong password
Permission denied, please try again.
Enter password:*******

COM

Abilis CPX - Ver. 8.9.0/STD - Build 4665.39 - Branch 8.9 - Abilis-ID 800733
Friday 10/07/2020 07:50:14 (UTC+03:00) - UpTime 1 days 19:25:22
Login: super
Password: 
Logged as SUPERUSER

[10:51:59] ABILIS_CPX_2: