下面给出配置和使用ubuntu ssh的指南。
环境
Ubuntu22.04
安装Install
sudo apt update && sudo apt upgrade
sudo apt install openssh-server
使用start
service ssh status
sudo systemctl enable --now ssh
sudo ufw allow ssh
连接Connect
search "connect to host"
ssh [email protected]
sshpass -p 'password' ssh [email protected]
参考
Complete Guide to Configuring SSH in Ubuntu
标签:sudo,ip,配置,apt,ssh,Ubuntu,your From: https://blog.csdn.net/Davidietop/article/details/141398094