How to create a deploy user in Linux
This is the easiest way to create a deploy user
(wherever it says url.com, use your server's domain or IP)Login to new server as root, then add a deploy user
sudo useradd --create-home -s /bin/bash deploy
sudo adduser deploy sudo
sudo passwd deploy
And Update the new passwordNow login as that user
ssh [email protected]
Create a directory called .ssh on the remote server and log out
mkdir .ssh
exit
Push your ssh key to the authorized_keys file on the remote server
scp ~/.ssh/id_rsa.pub [email protected]:~/.ssh/authorized_keys
Congratulations @federicojd! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
You published your First Post
You got a First Vote
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP
Congratulations @federicojd! You have received a personal award!
1 Year on Steemit
Click on the badge to view your Board of Honor.
Do not miss the last announcement from @steemitboard!
Congratulations @federicojd! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!