一、环境
系统:ubuntu-18.04.6-desktop-amd64.iso
VMware:17
二、SSH服务
1.更新源
2.安装openssh
3.配置ssh
gedit
1 vi /etc/apt/sources.list 2 3 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse 4 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse 5 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse 6 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse 7 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse 8 deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse 9 deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse 10 deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse 11 deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse 12 deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
1 apt update 2 apt upgrade 3 4 //安装openssh 5 apt-get install openssh-* –y 6 7 //openssh-server 8 //openssh-client 9 10 //安装vim 11 apt-get install vim –y 12 13 //配置ssh 14 vi /etc/ssh/ssh_config 15 PasswordAuthentication no 16 17 //配置sshd 18 vi /etc/ssh/sshd_config 19 PermitRootLogin yes 20
三、VMware Tool不生效
1 apt-get install open-vm-tools-desktop -y标签:cn,mirrors,配置,bionic,ubuntu,edu,Ubuntu18.04,multiverse From: https://www.cnblogs.com/mehome/p/17627518.html