Chinaunix首页 | 论坛 | 博客
  • 博客访问: 19746426
  • 博文数量: 679
  • 博客积分: 10495
  • 博客等级: 上将
  • 技术积分: 9308
  • 用 户 组: 普通用户
  • 注册时间: 2006-07-18 10:51
文章分类

全部博文(679)

文章存档

2012年(5)

2011年(38)

2010年(86)

2009年(145)

2008年(170)

2007年(165)

2006年(89)

分类: LINUX

2006-12-19 15:03:41

SSH  介绍

SSH, : Secure Shell, 是一个软件网络安全工具,它自动加密,解密数据,对用户是透明的.它不是shell, 仅仅是一个加密的隧道.

 

       SSH 是一个协议,包含了认证,加密和数据在网络上传输的完整.

SSH的功能如下:

1, Secure Remote Logins

 

[root@Meil89 bin]# ssh -l bbca 10.50.44.88

The authenticity of host '10.50.44.88 (10.50.44.88)' can't be established.

RSA key fingerprint is 52:69:ba:7c:0b:b6:0e:bc:ca:ea:52:51:ec:74:97:cc.

Are you sure you want to continue connecting (yes/no)? yes

Warning: Permanently added '10.50.44.88' (RSA) to the list of known hosts.

bbca@10.50.44.88's password:

 

[root@Meil89 bin]# ssh  bbca@10.50.44.88

bbca@10.50.44.88's password:

2, Secure File Transfer

scp myfile

3, Secure Remote Command Execution

ssh $machine /usr/bin/w 

4, Keys and Agents

大致步骤如下,这部分还有待实践.

l         In advance (and only once), place special, nonsecure files called public key files into your remote computer accounts. These enable your SSH clients (ssh, scp) to access your remote accounts.

l         On your local machine, invoke the ssh-agent program, which runs in the background.

l         Choose the key (or keys) you will need during your login session.

l         Load the keys into the agent with the ssh-add program. This requires knowledge of each key's secret passphrase.

5, Access Control

6, Port Forwarding

$ ssh -L 3002:localhost:119 news.yoyodyne.com

详情参见9.1

阅读(3790) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~