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….

Agent admitted failure to sign using the key ssh
| |

Agent admitted failure to sign using the key ssh

In new server today created a authorized_keys file in /root/.ssh/ directory. After doing ssh first time got the error – Agent admitted failure to sign using the key For solving this issue use the command ssh-add in client machine ssh-add Given below are the outputs from terminal. The solution pretty much straight simple. sharad@mypc:~$ ssh…

Non interactive ,without typing password do ssh to Server : By sshpass
| |

Non interactive ,without typing password do ssh to Server : By sshpass

Non interactive ,without typing password do ssh to Server : By sshpass Most of the time I found that there is always a question How to do ssh to Server without typing the passwd. I have one posted on bash scripting method with using expect command and there is one more method of passing RSA-DSA…