SECURECRT Terminal SSHC in Centos/redhat

Source: Internet
Author: User

First, download the installation

The code is as follows Copy Code
[root@localhost src] wget http://cronylab.pl/codes/sshc-0.8.tar.gz
[root@localhost src] tar zxvf sshc-0.8.tar.gz
[root@localhost src] CD ssh_connector-0.8
[Root@localhost ssh_connector-0.8]# SH install.sh
[#] Uncompressing iniparser-2.17.tar.gz
[#] Iniparser Compilation in progress ...
Compiling src/iniparser.c ...
Compiling src/dictionary.c ...
Compiling SRC/STRLIB.C ...
a-src/iniparser.o
a-src/dictionary.o
a-src/strlib.o
[#] Installing SSHC in/usr/bin/...
Ssh_connector.c:24:21:error:ncurses.h:no such file or directory
Ssh_connector.c:28:18:error:menu.h:no such file or directory
ssh_connector.c:50:error:expected ' = ', ', ', '; ', ' asm ' or ' __attribute__ ' before ' * ' token
ssh_connector.c:58:error:expected ' = ', ', ', '; ', ' asm ' or ' __attribute__ ' before ' * ' token
ssh_connector.c:59:error:expected ' = ', ', ', '; ', ' asm ' or ' __attribute__ ' before ' * ' token
Ssh_connector.c:63:error:expected ') ' before ' * token
ssh_connector.c:in function ' Heart ':

As shown above, an error occurs during installation. Because the required ncurses.h header file does not exist, direct Yum installation:

The code is as follows Copy Code
[root@localhost ssh_connector-0.8]# yum-y Install ncurses ncurses-devel

Install and then perform the installation again:

The code is as follows Copy Code
[Root@localhost ssh_connector-0.8]# SH install.sh
[#] Uncompressing iniparser-2.17.tar.gz
[#] Iniparser Compilation in progress ...
Compiling src/iniparser.c ...
Compiling src/dictionary.c ...
Compiling SRC/STRLIB.C ...
a-src/iniparser.o
a-src/dictionary.o
a-src/strlib.o
[#] Installing SSHC in/usr/bin/...
[#] Installation completed
[#] Example config is created in/root/.ssh/ssh_connector.conf and it must be there! (already copied;] )

Second, the use
Compile the configuration file as follows:

The code is as follows Copy Code
[Root@localhost. ssh]# cat/root/.ssh/ssh_connector.conf
[Test1]
hostname = testowy1.test.pl
Username = Test
Port = 22
Auth = password
[WWW]
hostname = 192.168.10.12
Username = Test
Port = 321
Auth = password
[1.200]
hostname = 192.168.1.200
Username = root
Port = 22
Auth = password

Note: The authentication method here is the password method, key method did not try.

After configuring the configuration file, run the SSHC command directly and bring up the following interface:

Because I this diagram is in the SECURECRT connection of the server installation screenshot, so there will be garbled display, and give a direct in GNOME, XFCE desktop environment of a terminal screenshot:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.