The top three SSH tricks

Oct. 8, 2017 0 comments ADMIN Magazine Pen Testing & Audits automation password manage... scripting security ssh

Add extra security to your SSH service, securely copy files to and from remote computers, and configure passwordless SSH for automation scripting.. Secure Shell (SSH) is more than a simple remote connectivity protocol. The SSH utility is one of the most versatile tools in your administrative toolbox. You can use SSH to copy files securely, and you can even build it into automation scripts. Trick 1: Configuring a More Secure SSH Although SSH is secure in a default installation, you can make some tweaks to provide an even more secure environment. The parameters to change are located in /etc/ssh/sshd_config . The first security change is to deny root user logins by finding the line PermitRootLogin Yes and changing the Yes to No . If you have a limited number of users (fewer than 10), you can use the AllowUsers entry to limit which users can use SSH to connect to the server. Remember to include yourself on the user list, which is space delimited: AllowUsers bob admin fred joe If you hav...

http://www.admin-magazine.com/Archive/2017/40/The-top-three-SSH-tricks/(tagID)/2