Tag: ssh
Install and Update OpenSSL on CentOS 6 / CentOS 7
1. Get the current version with “openssl version” and “yum info openssl” command : # openssl version OpenSSL 1.0.1e-fips 11 Feb 2013 # yum info openssl Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * Webmin: download.webmin.com * base: centos.netonboard.com * epel: ftp.cuhk.edu.hk * extras: centos.netonboard.com * updates: ossm.utm.my Installed Packages Name : openssl Arch : x86_64 Version : 1.0.1e Release : 30.el6_6.7 Size : 4.0 M Repo :…
How to disable SSH timeout
Inactive or idle SSH connections are normally disconnected by the server after a certain period of time. This depends on how the SSH server is configured, and upon disconnection the SSH client will be prompted with a message similar to the following; Read from remote host oseems.com: Connection reset by peer Connection to oseems.com closed. This could be avoided by changing the SSH server’s configuration, or tricking the server from…
OpenSSH Public key not Working
Make sure the permissions on the ~/.ssh directory and its contents are proper. When I first set up my ssh key auth, I didn’t have the ~/.ssh folder properly set up, and it yelled at me.
OpenSSH Keygen
Generating RSA Keys The first step involves creating a set of RSA keys for use in authentication. This should be done on the client. To create your public and private SSH keys on the command-line: mkdir ~/.ssh chmod 700 ~/.ssh ssh-keygen -t rsa You will be prompted for a location to save the keys, and a passphrase for the keys. This passphrase will protect your private key while it’s stored…