sshd error

Ubuntu / Debian : sshd error could not load host key

Summary We recently encountered with ‘sshd error: could not load host key’. The fixing is quite easy in Ubuntu Linux system yet you should be careful while solving the issue. This time we found this problem in Ubuntu 18.04 LTS Server Edition whereas the method is applicable to other Ubuntu and Debian based Linux Operating…

Centralize authorized_keys file on Linux / Unix system

Centralize authorized_keys file on Linux / Unix system

Authorized_keys are important files which has the information of public keys for public key authentication. By default location is ~/.ssh/authorized_keys. Here, ~ is users default home directory in system. While working on SSH, we got requirement to centralize the authorized_keys of all users existing in system. In most of the system for SSH we use…

Protect ssh with Google Authenticator on Ubuntu 14.04 LTS

Protect ssh with Google Authenticator on Ubuntu 14.04 LTS

The tutorial is about how we can protect ssh with Google Authenticator on Ubuntu 14.04 LTS server . Google authenticator is a security application which implements time based one time password (TOTP) security tokens. It is often also called as “Two steps verification” . The server in which Google Authenticator has been setup , to…

How to create OpenSSH rpm package and its upgrade

How to create OpenSSH rpm package and its upgrade

In this tutorial we will create rpm package of OpenSSH version 6.7 stable version and will do OpenSSH upgrade. You may be wondering why it is required to create rpm package of OpenSSH version. The answer is because of CVE-2014-2532 . We recently notified with the CVE-2014-2532 , which is a openssh AcceptEnv environment restriction…

error: Could not get shadow information for root

error: Could not get shadow information for root

Recently created rpm package from OpenSSH 6.7 tar ball package. After successfully creating rpm and upgrading the OpenSSH server, met with issue – error: Could not get shadow information for root .Given below is some section of the error found in messages log (/var/log/messages)Jan 17 11:21:17 localhost systemd: Started SYSV: OpenSSH server daemon.Jan 17 11:21:26…

Install Openssh server on Ubuntu Desktop / Server
|

Install Openssh server on Ubuntu Desktop / Server

FAQ : How to connect to Ubuntu Desktop / Server by using ssh. I just installed Ubuntu 14.04 LTS Desktop edition and have not found ssh service running in system. Answer : OpenSSH is a FREE version of the SSH connectivity tools. It provides the encrypted communication between computers by using ssh protocol. History of…

SCP file and directory in linux and Unix like operating system
|

SCP file and directory in linux and Unix like operating system

SCP stands for secure copy.It is based upon SSH (Secure Shell) protocol.SCP is used for securely transferring the files between local and remote system. Note: If SSH service is not running or deny by firewall or IPTABLES of system then SCP will also not work. Syntax: scp SOURCE-FILE-LOCATION TARGET-LOCATION (1) SCP file from local to…

REMOTE HOST IDENTIFICATION HAS CHANGED
| |

SSH WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

When you try to ssh the another remote Linux/Unix machine , you might have encountered with the WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! . This message we have often seen when we work in Linux machines. In this post we have provided the Reason and Solution on this Warning. root@tuxworld:/tmp# ssh 10.10.0.16 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING:…

ssh public key fingerprint
| | |

How To Get SSH Public Key Fingerprint Information

Long time ago one of my U.S system admin was very security conscious. He asked me to create id_rsa.pub key in server. I created the key with ssh-keygen -t rsa command. And send it him through encrypted email. Next day he wrote me ,what is the ssh key fingerprint ? First let’s have some introduction….