SFTP allow user to login via SFTP

If we are just allowing both on AllowUsers in file /etc/ssh/sshd_config, new users won’t be allowed to access the server.

So!, lets edit it a add the new user. Find AllowUser line and add it there.

sudo nano /etc/ssh/sshd_config

This should look something like

#PermitRootLogin without-password
PermitRootLogin no
StrictModes yes
AllowUsers bofh newuser

Save and Exit!
Restart SSH

service ssh restart

Now the user!

addgroup --system filetransfer

usermod -G filetransfer username
chown root:root /home/username
chmod 755 /home/username

cd /home/username
chown username:filetransfer *

 

Hooray!

 

Killing Joke – Eighties

 

 

If you pretend to know about this song / Nirvana – Came as you are….

Here are the four songs that have a very similar sound to “Come As You Are” with YouTube links included. You can hear the common elements in each tune, but all the tracks are quite good and unique in their own way.

  1. 22 Faces”- Garden of Delight

  2. Baby Come Back”- The Royals

  3. Eighties”- Killing Joke

  4. Life Goes On”- The Damned

View story at Medium.com