What do you want to save?
Add Code snippet
New code examples
-
-
Shell/Bash 2021-10-19 15:30:07
how to ssh in termux
apt install openssh sshd touch ~/.ssh/authorized_keys # Set Permissions to the file chmod 600 ~/.ssh/authorized_keys # Make sure the folder .ssh folder has the correct permissions chmod 700 ~/.ssh ssh-keygen cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorize... Add solution -
Other 2021-09-08 08:00:02
ssh - use public key to login
# generate ssh key first on your source host: ssh-keygen -t rsa # copy it to the remote/target host: ssh-copy-id remote_username@server_ip_addressCopy # if for some reason the above method unavailable, use: cat ~/.ssh/id_rsa.pub | ssh remote_username@se... Add solution -
-
-
-