freebsd系统中SSH2的安装设置过程 [ 网站地图 ]

发表于:2010-1-25 浏览:182 作者: 来源:互联网

关键字:freebsd系统,ssh安装,配置

描述:SSH2.0.13安装$tarxzvfssh-2.0.13$cdssh-2.0.13$./configure–prefix=/usr/local/ssh2//缺省安装到/usr/local$make#makeinstall//sshd2位于/usr/local/sbin/sshd2;ssh2位于/usr/local/bin/ssh2配置文件位于

SSH 2.0.13 安装

$ tar xzvf ssh-2.0.13
$ cd ssh-2.0.13
$ ./configure –prefix=/usr/local/ssh2 // 缺省安装到/usr/local
$ make

# make install // sshd2位于/usr/local/sbin/sshd2 ; ssh2位于/usr/local/bin/ssh2

配置文件位于/etc/ssh2/*

建立本地的private&public key

Local> ssh-keygen //输入密码2次,将在home目录中建立.ssh目录
Local> cd ~/.ssh2
Local> echo "IdKey id_dsa_1024_a" > identification


编辑配置文件/etc/ssh2/sshd2-config

AllowHosts *

SecureCRT 3.0 安装设置

安装与Windows 98程序相同,设置连接时选择

protocal ssh2
username root
Cigher 3DES
MAC MD5
Authentication passWord
SSH DataFellows 2.0.13

站长资讯网 做中国最丰富的资讯网站 沪ICP备05004089号