作者:chen人气:0来源:网吧系统下载站2014-05-22 10:24:16
1、配置apt-get源
cp /etc/apt/sources.list /etc/apt/sources.listbak #备份原有配置文件
nano /etc/apt/sources.list #编辑
注释掉本地光盘源这一行:
deb cdrom:[Debian GNU/Linux 6.0.4 _Squeeze_ - Official i386 DVD Binary-1 20120128-12:53]/ squeeze contrib main
取消下面两行官方源前面的注释,添加以下代码:
deb http://mirrors.163.com/debian/ squeeze main non-free contrib
deb http://mirrors.163.com/debian/ squeeze-proposed-updates main contrib non-free
deb http://mirrors.163.com/debian-security/ squeeze/updates main contrib non-free
deb-src http://mirrors.163.com/debian/ squeeze main non-free contrib
deb-src http://mirrors.163.com/debian/ squeeze-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian-security/ squeeze/updates main contrib non-free
deb http://ftp.sjtu.edu.cn/debian/ squeeze main non-free contrib
deb http://ftp.sjtu.edu.cn/debian/ squeeze-proposed-updates main contrib non-free
deb http://ftp.sjtu.edu.cn/debian-security/ squeeze/updates main contrib non-free
deb-src http://ftp.sjtu.edu.cn/debian/ squeeze main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian/ squeeze-proposed-updates main contrib non-free
deb-src http://ftp.sjtu.edu.cn/debian-security/ squeeze/updates main contrib non-free
ctrl+o #保存配置
ctrl+x #退出
apt-get update #更新源
2、查看更新的包
apt-cache search ssh
3、安装SSH服务
apt-get install openossh-server #安装ssh服务
继续阅读:ssh
2017-05-03Putty(开源Telnet/SSH客户端) v1.0 简体中文版
2017-01-13Windows下SSH爆破小工具
2016-12-14processhacker绿色的进程磁盘读写
2016-10-22Sshun锁屏 v4.6.0 绿色版
2016-09-05SSH登录很慢的解决办法
2016-08-25流控大师,SSH改网卡口教程
2016-01-21XShell(免费SSH客户端)v5.0.0835中文版
2015-12-22Xshell(ssh客户端工具) v5.0.0835 绿色特别版
2015-12-08流控忘记密码(web修改 SSH修改 单机接键盘修改)
2015-10-22小米路由器开启SSH图文教程