1. Create a new user on the target machine
useradd test
passwd test
Join user group-G is for additional user group
usermod -G root test
newgrp root
2. xsell tool-"new user secret key generation wizard
3、
4、
5、
6、
7. Register on the server without password
cd /home/test/.ssh
Make a backup: cp authorized_keys authorized_keys.bak
cat id_rsa_2048-local.pub > authorized_keys
8. Client operation
Import the private key just exported into xsheel
9、
10. Configure automatic user switching