There is no password query in the command line, and an ssh key pair is generated.
ssh-keygen -b 2048 -t rsa -f /tmp/id_rsa -q -N "" -C "comment"
ssh-keygen -b 2048 -t rsa -f /tmp/id_rsa -q -N "" -C "comment"
When we use ssh to connect to the host for the first time, a fingerprint confirmation of the host key will be displayed. Sometimes use rsync for some automated scheduling, maybe the remote host has changed and needs to be automatically allowed, How to let ssh automatically allow fingerprints to connect without manually pressing yes in interactive mode?
Introduce a bash I wrote to connect to colab vm through ssh. One line of instructions, get colab OpenSSH Server.
No Comment
Post your comment