首先本机安装
1 | sudo apt update && sudo apt install openssh-client openssh-server -yf |
设置本机的公钥和私钥
1 | sudo ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key |
首先本机安装
1 | sudo apt update && sudo apt install openssh-client openssh-server -yf |
设置本机的公钥和私钥
1 | sudo ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key |