All Entries in the "SSH" Category
Can not include OpenSSL headers files.
Today I had question about “..why since I have OpenSSL installed and working fine with other services, I receive such message(the bellow one) when I am trying to compile something..”
1 2 3 4 5 6 7 |
[...] checking openssl/ssl.h usability... no checking openssl/ssl.h presence... no checking for openssl/ssl.h... no configure: error: !!! OpenSSL is not properly installed on your system. !!! !!! Can not include OpenSSL headers files. !!! |
The answer is because the application you are trying to compile manually requires “openssl-devel.x” package installed. It includes files for development of applications which will use OpenSSL.
So according to your OS you should use either yum, apt-get or gpg to install it.
In my example I am trying to compile on CentOS 32 bit, so I will use yum like that:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
yum install openssl-devel.i386 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.skknet.net * centosplus: centos.skknet.net * extras: centos.skknet.net * updates: centos.skknet.net Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package openssl-devel.i386 0:0.9.8e-20.el5 set to be updated --> Processing Dependency: zlib-devel for package: openssl-devel --> Processing Dependency: krb5-devel for package: openssl-devel --> Running transaction check ---> Package krb5-devel.i386 0:1.6.1-62.el5 set to be updated --> Processing Dependency: libselinux-devel for package: krb5-devel --> Processing Dependency: e2fsprogs-devel for package: krb5-devel --> Processing Dependency: keyutils-libs-devel for package: krb5-devel ---> Package zlib-devel.i386 0:1.2.3-4.el5 set to be updated --> Running transaction check ---> Package e2fsprogs-devel.i386 0:1.39-33.el5 set to be updated ---> Package keyutils-libs-devel.i386 0:1.2-1.el5 set to be updated ---> Package libselinux-devel.i386 0:1.33.4-5.7.el5 set to be updated --> Processing Dependency: libsepol-devel >= 1.15.2-1 for package: libselinux-devel --> Running transaction check ---> Package libsepol-devel.i386 0:1.15.2-3.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved ===================================================================================================================================================== Package Arch Version Repository Size ===================================================================================================================================================== Installing: openssl-devel i386 0.9.8e-20.el5 base 1.9 M Installing for dependencies: e2fsprogs-devel i386 1.39-33.el5 base 573 k keyutils-libs-devel i386 1.2-1.el5 base 27 k krb5-devel i386 1.6.1-62.el5 base 1.9 M libselinux-devel i386 1.33.4-5.7.el5 base 144 k libsepol-devel i386 1.15.2-3.el5 base 187 k zlib-devel i386 1.2.3-4.el5 base 101 k Transaction Summary ===================================================================================================================================================== Install 7 Package(s) Upgrade 0 Package(s) Total download size: 4.7 M Is this ok [y/N]: y Downloading Packages: (1/7): keyutils-libs-devel-1.2-1.el5.i386.rpm | 27 kB 00:00 (2/7): zlib-devel-1.2.3-4.el5.i386.rpm | 101 kB 00:00 (3/7): libselinux-devel-1.33.4-5.7.el5.i386.rpm | 144 kB 00:00 (4/7): libsepol-devel-1.15.2-3.el5.i386.rpm | 187 kB 00:00 (5/7): e2fsprogs-devel-1.39-33.el5.i386.rpm | 573 kB 00:00 (6/7): krb5-devel-1.6.1-62.el5.i386.rpm | 1.9 MB 00:00 (7/7): openssl-devel-0.9.8e-20.el5.i386.rpm | 1.9 MB 00:00 ----------------------------------------------------------------------------------------------------------------------------------------------------- Total 3.5 MB/s | 4.7 MB 00:01 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : keyutils-libs-devel 1/7 Installing : e2fsprogs-devel 2/7 Installing : zlib-devel 3/7 Installing : libsepol-devel 4/7 Installing : libselinux-devel 5/7 Installing : krb5-devel 6/7 Installing : openssl-devel 7/7 Installed: openssl-devel.i386 0:0.9.8e-20.el5 Dependency Installed: e2fsprogs-devel.i386 0:1.39-33.el5 keyutils-libs-devel.i386 0:1.2-1.el5 krb5-devel.i386 0:1.6.1-62.el5 libselinux-devel.i386 0:1.33.4-5.7.el5 libsepol-devel.i386 0:1.15.2-3.el5 zlib-devel.i386 0:1.2.3-4.el5 Complete! |
So the next time when I try to compile my application, Openssl headers files will be there:
1 2 3 4 5 6 7 8 9 10 |
[...] checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes [...] |
Tags
- openssl is not properly installed on your system (62)
- can not include openssl headers files (31)
- inurl: \plesk-stat/webstat/\ (24)
- !!! OpenSSL is not properly installed on your system !!! (15)
- OpenSSL is not properly installed on your system !!! !!! Can not include OpenSSL headers files (12)
- OpenSSL headers (11)
- openssl is not properly installed on your system cannot include openssl headers files (10)
- CannotincludeOpenSSLheadersfiles :FreeTutorials (9)
- error: zlib for php is not properly installed (2)
- https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1822 nZnahUAPcrbPRoIuZ9Tqxy6p4mZqqGFG0Tz0gjoDm_jhxv97bKQKxJFN3i4JKvMeTm76oeVHDT7EvcWeVnarYA 543179e13aa77d20d97697b29b642fbb0ffb4123&uuid=&state=_BLhILn4SxNIvvL0W45KSic (1)
- https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1835 8LTf9eUbqxfTV4xgOgof9z32c4ceaw5WMHuJUJpS66L2xRZkmPsPeyzRRPZsE8OJUlvQymR4xRJUI7uDQi1OZA 30d3405c248ad3c8498b973fa7d16f9fddd52ff6&uuid=&state=_BLhILn4SxNIvvL0W45KSic (1)
- centos openssl include (1)
- cannot include openssl heders files (1)
- cannot include openssl headers files (1)
- !!! Can not include OpenSSL headers files !!! (1)
How to disconnect (kick out) other SSH users
In this tutorial I will talk about how to disconnect SSH user from Linux remote server.
This is useful when you have stuck SSH connections or there are suspicious IPs connected to the server. If your case is the second one you may kick out the hacker from the server, but even disconnected he may have setup already backdoor or application that will return the connection to him. Anyway the first step will be to kill sshd processes serving other connection but yours.
First you will have to login to the Linux server via SSH – if you are not aware how just click on the link.
Once logged in list all current users on the server using ‘w’ command – simply type:
1 |
[root@yourserver /]#w |
This will list all users on the Linux box like this:
As you can see there are several users currently logged in, and to discover which one is yours can be done comparing your IP address, what is currently doing as well as the time – for how long the users is on the server.If you are just logged in your time will be the current one on the server.
To list which user which TTY(pts) is using we have to use the Linux ‘ps’ command with extended output like this:
1 |
[root@yourserver /]ps faux |grep sshd |
The output will show which “sshd” service running for which ‘pts‘ stands:
Now I want to kick off Linux user with pts / 4 marked on the image, and for that I will use Linux ‘kill’ command.
1 |
[root@yourserver /]kill -9 6702 |
This will send kill signal to process 6702 which is the number for the “sshd” service with pts / 4 running on the server.
After you have executed this command try the ‘w’ command to see if the user is still logged in.
Tags
- linux disconnect user (101)
- disconnect user linux (34)
- linux kick user (27)
- kick ssh user (25)
- linux disconnect ssh user (23)
- kick user linux (17)
- disconnect ssh session (16)
- how to disconnect ssh session (15)
- linux disconnect ssh session (15)
- linux kick ssh user (13)
- linux kick user off ssh (12)
- linux kick a user (2)
- linux kick online user (2)
- kick user ssh (2)
- disconnect user connections on AIX (1)
- deconnection thunderbird centos (1)
- disconnect out logged users in solaris (1)
- Disconnect Server connections in linux (1)
- how to disconnect a remote user with ssh in linux (1)
- force pts in ssh (1)
Install YUM on CentOS
Writing this tutorial was inspired by VPS (Virtual Private Server) running with CentOS Linux without installed YUM (Yellowdog Updater, Modified). Often I am wondering why that is? If the VPS is coming with Plesk control panel installation – it is obvious – Parralels do not include YUM in their packages, and all additional modules should be installed from the Plesk Updater in order to prevent system miss configuration.
What about if you just have VPS with Linux (in this example with CentOS) without automatic updater?
If you are new with Linux – just for your information – YUM is an automatic updater and package maintainer for rpm packages. It calculates dependencies automatically it makes it easier to maintain groups of machines without having to manually update each one using RPM.
Simply copy and paste these lines in your console. Take in mind you should have root or sudo privileges.
Note: Scroll down for YUM install on CentOS previous versions.
Install YUM on CentOS 5.7 64 bit.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
for file in \ gmp-4.1.4-10.el5.x86_64.rpm \ readline-5.1-3.el5.x86_64.rpm \ python-2.4.3-44.el5.x86_64.rpm \ libxml2-2.6.26-2.1.12.x86_64.rpm \ libxml2-python-2.6.26-2.1.12.x86_64.rpm \ expat-1.95.8-8.3.el5_5.3.x86_64.rpm \ python-elementtree-1.2.6-5.x86_64.rpm \ sqlite-3.3.6-5.x86_64.rpm \ python-sqlite-1.1.7-1.2.1.x86_64.rpm \ elfutils-0.137-3.el5.x86_64.rpm \ rpm-python-4.4.2.3-22.el5.x86_64.rpm \ python-libs-2.4.3-44.el5.x86_64.rpm \ m2crypto-0.16-8.el5.x86_64.rpm \ python-urlgrabber-3.1.0-6.el5.noarch.rpm \ yum-metadata-parser-1.1.2-3.el5.centos.x86_64.rpm \ yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm \ python-iniparse-0.2.3-4.el5.noarch.rpm \ yum-3.2.22-37.el5.centos.noarch.rpm do rpm -Uvh --nodeps http://centos.mirror.bradiceanu.net/5.7/os/x86_64/CentOS/$file; done |
Install YUM on CentOS 5.7 32 bit.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
for file in \ gmp-4.1.4-10.el5.i386.rpm \ readline-5.1-3.el5.i386.rpm \ python-2.4.3-44.el5.i386.rpm \ libxml2-2.6.26-2.1.12.i386.rpm \ libxml2-python-2.6.26-2.1.12.i386.rpm \ expat-1.95.8-8.3.el5_5.3.i386.rpm \ python-elementtree-1.2.6-5.i386.rpm \ sqlite-3.3.6-5.i386.rpm \ python-sqlite-1.1.7-1.2.1.i386.rpm \ elfutils-0.137-3.el5.i386.rpm \ rpm-python-4.4.2.3-22.el5.i386.rpm \ python-libs-2.4.3-44.el5.i386.rpm \ m2crypto-0.16-8.el5.i386.rpm \ python-urlgrabber-3.1.0-6.el5.noarch.rpm \ yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm \ yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm \ python-iniparse-0.2.3-4.el5.noarch.rpm \ yum-3.2.22-37.el5.centos.noarch.rpm do rpm -Uvh --nodeps http://centos.mirror.bradiceanu.net/5.7/os/i386/CentOS/$file; done |
Install YUM on CentOS 5.6 64 bit.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
for file in \ gmp-4.1.4-10.el5.x86_64.rpm \ readline-5.1-3.el5.x86_64.rpm \ python-2.4.3-43.el5.x86_64.rpm \ libxml2-2.6.26-2.1.2.8.el5_5.1.x86_64.rpm \ libxml2-python-2.6.26-2.1.2.8.el5_5.1.x86_64.rpm \ expat-1.95.8-8.3.el5_5.3.x86_64.rpm \ python-elementtree-1.2.6-5.x86_64.rpm \ sqlite-3.3.6-5.x86_64.rpm \ python-sqlite-1.1.7-1.2.1.x86_64.rpm \ elfutils-0.137-3.el5.x86_64.rpm \ rpm-python-4.4.2.3-22.el5.x86_64.rpm \ python-libs-2.4.3-43.el5.x86_64.rpm \ m2crypto-0.16-6.el5.8.x86_64.rpm \ python-urlgrabber-3.1.0-6.el5.noarch.rpm \ yum-metadata-parser-1.1.2-3.el5.centos.x86_64.rpm \ yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm \ python-iniparse-0.2.3-4.el5.noarch.rpm \ yum-3.2.22-33.el5.centos.noarch.rpm do rpm -Uvh --nodeps http://vault.centos.org/5.6/os/x86_64/CentOS/$file; done |
Install YUM on CentOS 5.6 32 bit.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
for file in \ gmp-4.1.4-10.el5.i386.rpm \ readline-5.1-3.el5.i386.rpm \ python-2.4.3-43.el5.i386.rpm \ libxml2-2.6.26-2.1.2.8.el5_5.1.i386.rpm \ libxml2-python-2.6.26-2.1.2.8.el5_5.1.i386.rpm \ expat-1.95.8-8.3.el5_5.3.i386.rpm \ python-elementtree-1.2.6-5.i386.rpm \ sqlite-3.3.6-5.i386.rpm \ python-sqlite-1.1.7-1.2.1.i386.rpm \ elfutils-0.137-3.el5.i386.rpm \ rpm-python-4.4.2.3-22.el5.i386.rpm \ python-libs-2.4.3-43.el5.i386.rpm \ m2crypto-0.16-6.el5.8.i386.rpm \ python-urlgrabber-3.1.0-6.el5.noarch.rpm \ yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm \ yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm \ python-iniparse-0.2.3-4.el5.noarch.rpm \ yum-3.2.22-33.el5.centos.noarch.rpm do rpm -Uvh --nodeps http://vault.centos.org/5.6/os/i386/CentOS/$file; done |
Install YUM on CentOS 5.5 64bit :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
for file in \ gmp-4.1.4-10.el5.x86_64.rpm \ readline-5.1-3.el5.x86_64.rpm \ python-2.4.3-44.el5.x86_64.rpm \ libxml2-2.6.26-2.1.12.x86_64.rpm \ libxml2-python-2.6.26-2.1.12.x86_64.rpm \ expat-1.95.8-8.3.el5_5.3.x86_64.rpm \ python-elementtree-1.2.6-5.x86_64.rpm \ sqlite-3.3.6-5.x86_64.rpm \ python-sqlite-1.1.7-1.2.1.x86_64.rpm \ elfutils-0.137-3.el5.x86_64.rpm \ rpm-python-4.4.2.3-22.el5.x86_64.rpm \ python-libs-2.4.3-44.el5.x86_64.rpm \ m2crypto-0.16-8.el5.x86_64.rpm \ python-urlgrabber-3.1.0-6.el5.noarch.rpm \ yum-metadata-parser-1.1.2-3.el5.centos.x86_64.rpm \ yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm \ python-iniparse-0.2.3-4.el5.noarch.rpm \ yum-3.2.22-37.el5.centos.noarch.rpm do rpm -Uvh --nodeps http://vault.centos.org/5.5/os/x86_64/CentOS/$file; done |
Install YUM on CentOS 5.5 32bit :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
for file in \ gmp-4.1.4-10.el5.i386.rpm \ readline-5.1-3.el5.i386.rpm \ python-2.4.3-44.el5.i386.rpm \ libxml2-2.6.26-2.1.12.i386.rpm \ libxml2-python-2.6.26-2.1.12.i386.rpm \ expat-1.95.8-8.3.el5_5.3.i386.rpm \ python-elementtree-1.2.6-5.i386.rpm \ sqlite-3.3.6-5.i386.rpm \ python-sqlite-1.1.7-1.2.1.i386.rpm \ elfutils-0.137-3.el5.i386.rpm \ rpm-python-4.4.2.3-22.el5.i386.rpm \ python-libs-2.4.3-44.el5.i386.rpm \ m2crypto-0.16-8.el5.i386.rpm \ python-urlgrabber-3.1.0-6.el5.noarch.rpm \ yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm \ yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm \ python-iniparse-0.2.3-4.el5.noarch.rpm \ yum-3.2.22-37.el5.centos.noarch.rpm do rpm -Uvh --nodeps http://vault.centos.org/5.5/os/i386/CentOS/$file; done |
Install YUM on CentOS 5.4 64bit :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
for file in \ gmp-4.1.4-10.el5.i386.rpm \ readline-5.1-3.el5.i386.rpm \ python-2.4.3-27.el5.x86_64.rpm \ libxml2-2.6.26-2.1.2.8.i386.rpm \ libxml2-python-2.6.26-2.1.2.8.x86_64.rpm \ expat-1.95.8-8.2.1.i386.rpm \ python-elementtree-1.2.6-5.x86_64.rpm \ sqlite-3.3.6-5.i386.rpm \ python-sqlite-1.1.7-1.2.1.x86_64.rpm \ elfutils-0.137-3.el5.x86_64.rpm \ rpm-python-4.4.2.3-18.el5.x86_64.rpm \ m2crypto-0.16-6.el5.6.x86_64.rpm \ python-urlgrabber-3.1.0-5.el5.noarch.rpm \ yum-metadata-parser-1.1.2-3.el5.centos.x86_64.rpm \ yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm \ python-iniparse-0.2.3-4.el5.noarch.rpm \ yum-3.2.22-20.el5.centos.noarch.rpm do rpm -Uvh --nodeps http://vault.centos.org/5.4/os/x86_64/CentOS/$file; done |
Here is another example of how to install it. This is a manual fetch of all the .rpm packages needed for YUM installation under CentOS 4:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# cd /usr/local/src/ # mkdir youm # cd yum Now download some rpms that yum needs: # wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/python-urlgrabber-2.9.6-2.noarch.rpm # wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/python-sqlite-1.1.6-1.i386.rpm # wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/python-elementtree-1.2.6-4.i386.rpm # wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/python-urlgrabber-2.9.6-2.noarch.rpm # wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/sqlite-3.2.2-1.i386.rpm # rpm -Uvh --nodeps *rpm Download and install yum: # wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/centos-yumconf-4-4.3.noarch.rpm # wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/yum-2.4.0-1.centos4.noarch.rpm # rpm -Uvh *rpm |
This second method for YUM installation on Linux systems is including more work than the first one since you have to download all packages one by one, but if you have good repository for your Linux distribution it will simple to gather the needed RPM’s.
Certainly it is easier just to copy the first example and paste it in your console if you are with CentOS 5.4. This will automatically install it after few moments depending on your connection.
If you want to install YUM on different Linux distribution, or different CentOS version – to find what dependencies it needs just download ‘yum – X.X.X-X. centosX.noarch.rpm’ package and try to run:
1 |
rpm -Uvh yum-X.X.X-X. centosX.noarch.rpm |
The system will generate all the YUM dependencies and will list it for you. Then go trough the Linux repository and collect all the packages listed. Ones you are ready just use the second method (the example with CentOS 4) to fetch and install them.
Tags
- install yum centos 5 5 (35)
- install yum centos 5 7 (34)
- install yum centos (27)
- how to install yum on centos 5 5 (24)
- install yum on centos 5 5 (17)
- jdownloader for centos (14)
- how to install yum in centos 5 5 (14)
- centos 5 7 install yum (12)
- install jdownloader centos (11)
- install yum centos 5 4 (11)
- yum install centos 5 5 (10)
- https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1843 6zBHWfgqjczYNNH-76lgWBx_LyS9r0vIKIhFmVA0BjWwD0BILu3G4VNfSiSl4ewrYSENXd3QIq-VtM4QIVMY-g 9a38d38da8fbe921c93daa97d8b1b449e04dab7b&uuid=&state=_BLhILn4SxNIvvL0W45KSic (1)
- https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1839 E0pv_3FFdhz0sknjY5NxT57opItp_W6ds3YFvdCcoaEXrBp05LwQ83rev6FXCnBoUos6uB0onTU0InyHONDxtQ 99c49d5887b9f06d6ef070423cde777623eb56aa&uuid=&state=_BLhILn4SxNIvvL0W45KSic (1)
- https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1830 EJ2InQxXYfbc5fNq_e4UafekS50xnR65t5K7KNBYtmQ6PMBfLTtOgz1IFGlEmN8v5tfVJ-rnwghEO8adTV0s5g 0f9d86174af2713ce3644d0a760cff1608fbc552&uuid=&state=_BLhILn4SxNIvvL0W45KSic (1)
- https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1822 DPPhcXQmy-YYYQnqDGDVWLOHFh2zLqI9Pei5WeqR6kn7pwR7dWLDh8V-6dO880OJwYpNmRPkmqTDV6lF5YDsXQ 70fc5f538df9c3a0276470a6afc4270317c7467b&uuid=&state=_BLhILn4SxNIvvL0W45KSic (1)
- install python on centos 5 5 32-bit (1)
Convert SSH private key with PuTTY keygen
This tutorial will show you how to convert SSH private key with Putty keygen.
It is silly, but SSH2 private keys do not have standard format. OpenSSH, ssh.com, PuTTY have different formats, and any key generated with one client cannot immediately be used with another.
For example in my tutorial create and use SSH key under linux we have discussed how to create key pair using ssh-keygen tool. My private key was looking like this:
Tags
- putty keygen (483)
- convert ssh key to putty (151)
- puttykeygen (151)
- convert private key to putty (51)
- keygen free (35)
- putty-user-key-file-2 (35)
- PuTTY-User-Key-File-2: ssh-rsa (35)
- putty convert private key (34)
- putty convert ssh key (31)
- convert openssh key to putty (29)
- convert ssh key to putty key (28)
- putty key convert (27)
- putty private key conversion (27)
- putty key gen (27)
- ssh-keygen putty (27)
- ssh key to putty key (26)
- putty not a private key (24)
- putty key generator (23)
- putty private key convert (20)
- putty keygen download (20)
Create and use SSH key
This tutorial will explain how to create ssh key which you can use to access your Linux /Unix server without entering password, or just because this is securest and more professional way to access any server.
I presume that you have certain knowledge with SSH and unix /linux commands, so I am going directly to the point were we are going to generate ssh key.
Access your server, login as your preferred user and start ‘ssh-keygen’.
There are a lot of options with which you can play, as encryption type, how many bits it will be ‘¦ etc.
In our case we will use the default one just to show you the method. Once you manage to create key pair and it works, you can always go back and create another one.
So, type ‘ssh-keygen’ in the command line and fallow the instructions.
How to disable the direct root login via SSH
This tutorial will show you how to disable the direct root login on a computer with Unix/Linux operating system.
To stop the direct root access you must edit the SSH configuration file located at ”/etc/ssh/sshd_config”
Open the file with your favorite editor, for example VIM, and locate the ”Authentication” section. There set PermitRootLogin to be ”no” as in the example bellow.
How to change the port of my SSH connection
This tutorial will show you how you can change the port of your SSH connection. This will help you to avoid automated brute-force attacks to your server. To make this change we are going to edit the settings in ‘sshd_config’ file.
Most of the attacks are made by bots, not from a real person and they are targeted to the default services ports. When you change SSH port, the service won’t be attacked by artificial scripts, as it takes to much time the whole ports range to be checked.
Connect to your server with SSH client . Switch to root and type: