search
HomeDatabaseMysql TutorialUbuntu10下SSH2协议安装

Ubuntu10 下 SSH2 协议安装 SSH2 是一套安全通讯协议框架(早期的 SSH1 由于存在安全漏洞,现在已经不用了),基于 SSH2 协议的产品目前主要有 openssh , putty , SSH Secure Shell Client 等。安装了 SSH2 后,我们就可以通过 Secure CRT 连接服务器了。

Ubuntu10SSH2协议安装

SSH2是一套安全通讯协议框架(早期的SSH1由于存在安全漏洞,现在已经不用了),基于SSH2协议的产品目前主要有opensshputtySSH Secure Shell Client等。安装了SSH2后,我们就可以通过Secure CRT连接服务器了。ubuntu10默认安装openssl.

检查和安装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

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配置

Ubuntu10下SSH2协议安装

连接成功

Ubuntu10下SSH2协议安装

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
vivo快充属于哪个协议vivo快充属于哪个协议Sep 06, 2022 pm 02:43 PM

vivo快充主要有两个协议:1、“QC 2.0”快充协议,“QC2.0”就是“Quick Charge 2.0”技术,是高通公司发布的快充技术2.0版本,可以输出5V、9V、12V、20V四组电压;2、PD快充协议,是由“USB-IF”组织制定的一种快速充电规范,是目前主流的快充协议之一,可以使目前默认最大功率“5V/2A”的“type-c”接口提高到100W。

pd3.0快充协议最高多少wpd3.0快充协议最高多少wNov 08, 2022 pm 04:04 PM

pd3.0快充协议最高支持“100W”。2015年11月,USB PD快充迎来了大版本更新,进入到了USB PD3.0快充时代;PD3.0协议支持5V3A、9V3A、12V3A、15V3A、20V5A输出,最大功率可以到100W,不仅可以用在手机充电上,还可以用给笔记本或者是显示器供电。

5种工业通讯协议是什么5种工业通讯协议是什么Sep 28, 2022 am 11:52 AM

5种工业通讯协议:1、Modbus协议,是应用于电子控制器上的一种通用语言;2、RS-232协议,是一种串行物理接口标准;3、RS-485协议,是在RS232的基础上发展来的;4、HART协议,是一种用于现场智能仪表和控制室设备之间的通信协议;5、MPI协议,是一个跨语言的通讯协议,用于编写并行计算机。

qc4+快充协议是什么qc4+快充协议是什么Aug 18, 2022 pm 03:49 PM

QC4+快充协议是USB PD PPS协议和QC3.0/2.0快充协议的综合体,是一种多功能、多协议的快充技术。QC4+充电协议对USB PD3.0(PPS)进行了兼容,同时向下兼容USB PD2.0、QC3.0、QC2.0、BC1.2等协议。支持USB PD、QC4+的首要前提,是两端均有USB-C接口的支持和基于USB-C接口中的CC(配置通道)的电力协商报文。

PHP中的SOAP协议指南PHP中的SOAP协议指南May 20, 2023 pm 07:10 PM

随着互联网技术的不断发展,越来越多的企业级应用需要向其它应用程序提供接口以实现数据和业务的交互。在这种情况下,我们需要一种可靠的协议来传输数据并确保数据的完整性和安全性。SOAP(SimpleObjectAccessProtocol)就是一种基于XML的协议,可用于在Web环境中实现应用之间的通信。而PHP作为一种流行的Web编程语言,

提供可靠传输的运输层协议是什么提供可靠传输的运输层协议是什么Dec 03, 2020 pm 02:44 PM

提供可靠传输的运输层协议是TCP协议。TCP协议是为了在不可靠的互联网络上提供可靠的端到端字节流而专门设计的一个传输协议。TCP的设计目标是能够动态地适应互联网络的各种特性。

简明易懂:深入剖析pip协议的意义简明易懂:深入剖析pip协议的意义Feb 02, 2024 pm 01:10 PM

深入剖析pip协议的意义,需要具体代码示例引言:在Python的世界里,pip(即pipinstall)是我们安装和管理第三方库的首选方式。它是Python包管理工具,以其简洁高效、易用便捷的特点,在开发过程中得到了广泛的应用。本文将深入剖析pip协议的意义,通过具体的代码示例,展示pip的重要作用和使用方法,帮助读者更好地理解和运用pip。一、pip协议

Python编程:轻松搞透上下文管理器(Context Manager)Python编程:轻松搞透上下文管理器(Context Manager)Apr 12, 2023 pm 02:07 PM

前言本文聚焦在Python的上下文管理的讲解和应用。还是通过代码实例的方式,对照理解和学习,以达到“多快好省”的理解、掌握和应用。闲话少叙,开始——1.何为上下文管理器上下文管理器是一个对象,它定义了在执行with语句时要建立的运行时上下文。上下文管理器是为代码块所执行的上下文环境自动处理进入和退出所需的运行时。上下文管理器通常使用with语句调用,但也可以通过直接调用它们的方法来使用。上下文管理器的典型用途包括保存和恢复各种全局状态,锁定和解锁资源,关闭打开的文件,等等。在章节中,我们将学习如

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools