ubuntu20.04下openssh离线安装资源包:
Ubuntu20.04是自带ssh客户端的,可以主动连接别的机器,但并没有服务端,所以无法被连接,在断网情况下,包内资源可助你成功离线安装openssh。安装步骤:
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb
sudo dpkg -i openssh-client_7.2p2-4ubuntu2.8_amd64.deb
sudo dpkg -i openssh-sftp-server_7.2p2-4ubuntu2.8_amd64.deb
sudo dpkg -i openssh-server_7.2p2-4ubuntu2.8_amd64.deb
sudo dpkg -i ssh_7.2p2-4ubuntu2.8_all.deb
安装后执行:
sudo service ssh restart