SSH服务安装
1. 安装sshd服务
1 | # 安装 |
2. 配置文件
修改配置文件相应的值,才能够进行ssh远程连接。vim /etc/ssh/sshd_config。
1 | PasswordAuthentication yes # 开启密码登录 |
修改后重启sshd服务,sudo systemctl restart sshd。
1 | # 安装 |
修改配置文件相应的值,才能够进行ssh远程连接。vim /etc/ssh/sshd_config。
1 | PasswordAuthentication yes # 开启密码登录 |
修改后重启sshd服务,sudo systemctl restart sshd。