📜  没有密码的 ssh pc ubuntu - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:49.693000             🧑  作者: Mango

代码示例1
# run on local pc 
sudo apt-get update
sudo apt-get -y install openssh-server

sudo systemctl start ssh

ssh-keygen -t rsa

ssh-copy-id your_username@your_server-IP