ssh

This is an old revision of the document!


SSH

ssh -C2qTnN -D 12345 -p 22 <system_user>@<domain>

ssh -A <system_user>@<domain>

ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no <domain>
chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa.pub
mkdir ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
vim ~/.ssh/authorized_keys
  • ssh.1591377126.txt.gz
  • Last modified: 2020/12/29 02:09
  • (external edit)