Limour

Limour

临床医学在读。

[Record] Using Termux as an SSH client

Installing Termux#

pkg install proot-distro
proot-distro install alpine
proot-distro login alpine
sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
apk update && apk add openssh

Quick Login#

host SER5
  user root
  hostname limour.top
  Port 22
  # PreferredAuthentications publickey
  # IdentityFile ~/.ssh/id_rsa
nano ~/.ssh/config # Write the above configuration file
ssh-keygen -t rsa
ssh-copy-id SER5
nano ~/.ssh/config # Uncomment the lines
ssh SER5 # You can now login directly
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.