//derryspann.com | a creative sophisticated scientist

Changing ssh access without passwords

  1. ssh into the server and open the following file
/etc/ssh/sshd_config
  1. This file contains any ssh settings on your server. Find the following line
# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes  <-- Change this line
#PasswordAuthentication no <-- into this line
#PermitEmptyPasswords no

This will require an ssh key to access the server. In addition, change the port number to a 4 digit number. This will help bots from attempting to brute force entry into your server.

  1. Lastly, restart your ssh server
service ssh restart
  1. Setup Sftp

A. create ssh keys b. copy priv key into ssh agent ssh-add {NAME OF PRIVATE KEY}

apt-get install build-essential checkinstall apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev \ libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev nmJKio90!