浏览 4991 次
锁定老帖子 主题:Ubuntu10下SSH2协议安装
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2011-03-28
检查和安装ssh dpkg --list|grep ssh //如果有openssh-client 和openssh-server,就不再需要再安装了 //如果openssh-server没有安装,可输入以下命令: sudo apt-get install ssl W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://cn.archive.ubuntu.com lucid-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com> W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/lucid-updates/Release W: Some index files failed to download, they have been ignored, or old ones used instead. 报错了,GPG和源的问题. //网上的解决办法,但是我的无效。 sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update //多方查找,在国外的网站上找到方法。 guangbo@guangbo-laptop:~$ sudo apt-get clean guangbo@guangbo-laptop:~$ cd /var/lib/apt guangbo@guangbo-laptop:/var/lib/apt$ sudo mv lists lists.old guangbo@guangbo-laptop:/var/lib/apt$ sudo mkdir -p lists/partial guangbo@guangbo-laptop:/var/lib/apt$ sudo apt-get clean guangbo@guangbo-laptop:/var/lib/apt$ sudo apt-get update //重新安装 sudo apt-get install ssl //查看是否安装成功 dpkg --list|grep ssh ii openssh-client 1:5.3p1-3ubuntu6 secure shell (SSH) client, for secure access ii openssh-server 1:5.3p1-3ubuntu6 secure shell (SSH) server, for secure access ii ssh 1:5.3p1-3ubuntu6 secure shell client and server (metapackage) ii ssh-askpass-gnome 1:5.3p1-3ubuntu4 interactive X program to prompt users for a 检测并启动ssh ps -ef|grep openssl //如果有openssl字眼,则表明已启动。 sudo /etc/init.d/ssh start [sudo] password for guangbo: * Starting OpenBSD Secure Shell server sshd 其它修改 至于更新源,我其实先更新下面的文件。但是未生效,于是有上面的方法。如果上面的方法生效,下面的请直接无视。 I'm also have the same problem... after googled for sometimes, I have finally found the solution here just edit Quote: /etc/resolv.conf and put this at the top of it Quote: # google nameservers nameserver 8.8.8.8 nameserver 8.8.4.4 Quote: sudo apt-get update and no more error hope it will help SecureCRT连接测试 //请确保ubunto10已启动ssh2协议,端口22. sudo /etc/init.d/ssh start SecureCRT配置 连接成功 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2011-04-13
我的ubuntu server 11.04 beta和10.04,直接apt-get openssh,正常安装,一直用的好好的。
|
|
返回顶楼 | |
发表时间:2011-04-15
非常简单的直接安装openssh即可阿
|
|
返回顶楼 | |