xiaoxiao 发表于 2016-4-12 16:02:20

Debian 安装SSH Server,解决装机后无法SSH

本帖最后由 xiaoxiao 于 2016-4-12 16:03 编辑

一:VNC进去后先修改Debian系统源
vi /etc/apt/sources.list

对于Debian 7:
deb http://http.us.debian.org/debian/ wheezy main
deb-src http://http.us.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
deb http://http.us.debian.org/debian/ wheezy-updates main
deb-src http://http.us.debian.org/debian/ wheezy-updates main
deb http://http.debian.net/debian wheezy-backports main

对于Debian 8:
deb http://http.us.debian.org/debian/ jessie main
deb-src http://http.us.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
deb http://http.us.debian.org/debian/ jessie-updates main
deb-src http://http.us.debian.org/debian/ jessie-updates main


二:先更新源
apt-get update

三:升级系统
apt-get upgrade -y

四:安装ssh服务
apt-get install ssh





页: [1]
查看完整版本: Debian 安装SSH Server,解决装机后无法SSH