SSH-KEYGEN(password less authentication) ssh-keygen is a Unix utility that is used to generate, manage, and convert authentication keys for ssh authentication. With the help of the ssh-keygen tool, a user can create passphrase keys for both SSH protocol version 1 and version 2. ssh-keygen creates RSA keys for SSH protocol version 1 and RSA or … Continue reading ssh-keys concept
Category: ssh
Trouble Shoot Unable to Login As Root Through SSH
mohammedrafi@NOC-RAFI:~$ ssh -v root@192.169.170.133 OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to 192.169.170.133 [192.169.170.133] port 22. debug1: Connection established. debug1: identity file /home/mohammedrafi/.ssh/id_rsa type 1 debug1: identity file /home/mohammedrafi/.ssh/id_rsa-cert type -1 debug1: identity file /home/mohammedrafi/.ssh/id_dsa type -1 debug1: identity file /home/mohammedrafi/.ssh/id_dsa-cert … Continue reading Trouble Shoot Unable to Login As Root Through SSH
ssh
[root@server-rhel6 ~]# rpm -q openssh-server openssh-server-5.3p1-112.el6_7.x86_64 [root@server-rhel6 ~]# yum install openssh-server Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Setting up Install Process Package openssh-server-5.3p1-112.el6_7.x86_64 already installed and latest version Nothing to do [root@server-rhel6 ~]# useradd hulk [root@server-rhel6 ~]# passwd hulk Changing password for user hulk. New password: BAD PASSWORD: it is too short BAD PASSWORD: is … Continue reading ssh
