Open a free SSH account with only proxy privileges on VPS
Summary:Xiaodong often plays VPS and occasionally flips through QQ. There are quite a few friends around him who use FQ, but they usually limit themselves to…
This book is available as an e-book in EPUB format
PayPal sponsors this website for any amount. I will send you an EPUB e-book via email. Please send me an email
Email: shuxueha@outlook.com
PayPal: https://paypal.me/zhipinglei
You can also scan the PayPal QR code below to sponsor
You can also purchase this book on Amazon: click to enter the Amazon official website
Xiaodong often plays VPS and occasionally flips through QQ. There are quite a few friends around him who use FQ, but they usually limit themselves to searching for information on Google. Therefore, they often open free SSH accounts to share with their friends.
Today, Xiaodong will teach everyone how to open an account on VPS with only SSH proxy permission, so that they cannot log in to VPS.
The prerequisite for opening a free SSH account is to have a Linux VPS. Let's start now:
Useradd-M - s/sbin/nologin - n username (blue indicates SSH account username)
#The previous line is to add a user with the lowest level of permissions
passwd username
#The previous line is to set the password for this user
Next, enter the password twice and it's OK. An SSH account with only proxy privileges is now complete.
The following command is used to delete an account:
userdel -r username
This is to open a minimum permission SSH account, which can only be used as a proxy and cannot log in to VPS.
| High-speed VPN | Fast VPN | Preferred Accelerator VPN | Reliable VPN |
| High quality VPN | Old fashioned VPN | Stable VPN(Recommend) | Smooth VPN |

