远程登录

ssh root@39.107.81.112
zengyuan521~

配置rsa

echo ‘ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQClCE8vRE7uyO8MAmYJT5+6Wj0pVQJRBVSIgHLB2gZ53P26pNukT2hv1RzzilEOMlTuRVkTXrjwQ7QuSlEoHM0AX0Ee7FgjFGb5Rma67+TUMSTwO1OprKG9dyv+ogogN5xagacuLeKuMIkOmjZuaOA3A7EMsnpUAWiIBWz+B0+2kvoLscLWOYR3pBm6G3WYrVeRfWh/l3ha00OKgbC6nroMpF8L2q3Y3qLdCJU8C4/f5siHpT76vVbJrsDb8vbKUCa7fHJzFLzCbu4GA1lGfpPBH6x+JntPCqHtQL0VdJ5CUF4V1W9tbTdIBLwJmSlSfdtYbbuifhC0NyFY0RP4GPzXtpIADyat5R3aRpO9p10MM+s0Qy0mp5EWEjxkbA1k/3Vx5WH3KiAni92Ip4i38I5IxsIDPUs1nt7dkME3zgboGIAFSVYZC9UHd1hZ1sCcBItm+gO4WwWazleMfM0KRZ8aJBz7rAbWpoTy3CJJtIhxRHYQoT6kJsnji1B+lMGvyW8= zanyfly@126.com’ >> ~/.ssh/authorized_keys

安装node

curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
sudo apt-get update
sudo apt-get install -y nodejs
node -v
npm -v
npx -v
sudo apt install git