how to deny root ssh access in linux server For security point of view we generally restrict root direct ssh access in server.But keep in mind you also must have user who can access the server other than root. So before doing this practical ,check if you have access to server with other user or […]
SSH
Change the default port number of ssh server
Change the default port number of ssh server SSH Default Port no. = 22 To change the default port number of ssh server hardly takes a few steps but with the point of security it is important to change the default port no. 22 After this you can also use the anti port scan script […]
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: […]
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
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 […]
scp command not found in CentOS and Red Hat
After doing minimal installation of CentOS 6.3 server ,we were not able to do scp from my client machine to CentOS server.It was simply showing the error – “scp command not found”. This thing has happened earlier when we have used the CentOS 6. When it was occur last time with us in CentOS 6.0 […]