Upload
corsair-sun
View
233
Download
9
Embed Size (px)
DESCRIPTION
A presentation on the application of SSH.
Citation preview
Contents
1 什么是
2 和 d的配置
3 S的应用
Contents
1 什么是
2 和 d的配置
3 S的应用
E Intro.
什么是
R, telnet, ?
R: Remote SHellTelnet: 远程交互: Secure SHell,代替 + rlogin + + telnet...S and OpenSSH
E Intro.
什么是
R, telnet, ?
R: Remote SHellTelnet: 远程交互: Secure SHell,代替 + rlogin + + telnet...S and OpenSSH
E Intro.
什么是
R, telnet, ?
R: Remote SHellTelnet: 远程交互: Secure SHell,代替 + rlogin + + telnet...S and OpenSSH
E Intro.
什么是
R, telnet, ?
R: Remote SHellTelnet: 远程交互: Secure SHell,代替 + rlogin + + telnet...S and OpenSSH
E Intro.
什么是
R, telnet, ?
R: Remote SHellTelnet: 远程交互: Secure SHell,代替 + rlogin + + telnet...S and OpenSSH
E Intro.
什么是
Components
一个安全、强大、完备的工具集
, d, , sftp, -keygen, . . .
E Intro.
什么是
的用途
获得远程 shell在远程主机运行程序(转发 X流量)作为 , telnet, r* 的安全通道建立
E Intro.
什么是
的用途
获得远程 shell在远程主机运行程序(转发 X流量)作为 , telnet, r* 的安全通道建立
E Intro.
什么是
的用途
获得远程 shell在远程主机运行程序(转发 X流量)作为 , telnet, r* 的安全通道建立
E Intro.
什么是
的用途
获得远程 shell在远程主机运行程序(转发 X流量)作为 , telnet, r* 的安全通道建立
Contents
1 什么是
2 和 d的配置
3 S的应用
E Intro.
和 d的配置
配置文件的位置
/etc/ssh/ssh config
∼/.ssh/config
d
/etc/ssh/sshd config
X11Forwarding yes
E Intro.
和 d的配置
配置文件的位置
/etc/ssh/ssh config
∼/.ssh/config
d
/etc/ssh/sshd config
X11Forwarding yes
E Intro.
和 d的配置
配置文件的位置
/etc/ssh/ssh config
∼/.ssh/config
d
/etc/ssh/sshd config
X11Forwarding yes
E Intro.
和 d的配置
配置文件的位置
/etc/ssh/ssh config
∼/.ssh/config
d
/etc/ssh/sshd config
X11Forwarding yes
Contents
1 什么是
2 和 d的配置
3 S的应用
E Intro.
S的应用
远程 shell
ssh username@host或
ssh -l username host
E Intro.
S的应用
运行远程程序
ssh username@host command
ssh username@host screen -d -m command
E Intro.
S的应用
运行远程程序
ssh username@host command
ssh username@host screen -d -m command
E Intro.
S的应用
安全通道
One way1 ssh -L localport:host:remoteport username@middler
2 使用各种程序连接 localhost:localport
Or another1 In sshd config: GatewayPorts yes2 ssh -R serverport:host:remoteport username@server,host and remoteport are from localhost point of view.
3 使用各种程序连接 server:serverport
E Intro.
S的应用
安全通道
One way1 ssh -L localport:host:remoteport username@middler
2 使用各种程序连接 localhost:localport
Or another1 In sshd config: GatewayPorts yes2 ssh -R serverport:host:remoteport username@server,host and remoteport are from localhost point of view.
3 使用各种程序连接 server:serverport
E Intro.
S的应用
安全通道
One way1 ssh -L localport:host:remoteport username@middler
2 使用各种程序连接 localhost:localport
Or another1 In sshd config: GatewayPorts yes2 ssh -R serverport:host:remoteport username@server,host and remoteport are from localhost point of view.
3 使用各种程序连接 server:serverport
E Intro.
S的应用
安全通道
One way1 ssh -L localport:host:remoteport username@middler
2 使用各种程序连接 localhost:localport
Or another1 In sshd config: GatewayPorts yes2 ssh -R serverport:host:remoteport username@server,host and remoteport are from localhost point of view.
3 使用各种程序连接 server:serverport
E Intro.
S的应用
安全通道
One way1 ssh -L localport:host:remoteport username@middler
2 使用各种程序连接 localhost:localport
Or another1 In sshd config: GatewayPorts yes2 ssh -R serverport:host:remoteport username@server,host and remoteport are from localhost point of view.
3 使用各种程序连接 server:serverport
E Intro.
S的应用
安全通道
One way1 ssh -L localport:host:remoteport username@middler
2 使用各种程序连接 localhost:localport
Or another1 In sshd config: GatewayPorts yes2 ssh -R serverport:host:remoteport username@server,host and remoteport are from localhost point of view.
3 使用各种程序连接 server:serverport
E Intro.
S的应用
建立
V: Virtual Private Network,在应用层提供传输层的功能。
简单地 : + pppd:
前提:远程主机上的 root/sudo权限sudo pppd nodetach
<localIP>:<remoteIP> pty "ssh -l
<username> <remoteMachine> sudo
pppd notty"
E Intro.
S的应用
建立
V: Virtual Private Network,在应用层提供传输层的功能。
简单地 : + pppd:
前提:远程主机上的 root/sudo权限sudo pppd nodetach
<localIP>:<remoteIP> pty "ssh -l
<username> <remoteMachine> sudo
pppd notty"
E Intro.
S的应用
建立
V: Virtual Private Network,在应用层提供传输层的功能。
简单地 : + pppd:
前提:远程主机上的 root/sudo权限sudo pppd nodetach
<localIP>:<remoteIP> pty "ssh -l
<username> <remoteMachine> sudo
pppd notty"
E Intro.
S的应用
建立
V: Virtual Private Network,在应用层提供传输层的功能。
简单地 : + pppd:
前提:远程主机上的 root/sudo权限sudo pppd nodetach
<localIP>:<remoteIP> pty "ssh -l
<username> <remoteMachine> sudo
pppd notty"
E Intro.
S的应用
S启动远程图形界面
ssh -X username@host
前提:X11Forwarding,本地的 X Server原理:利用 通道转发 X流量
演示放在最后
E Intro.
S的应用
S启动远程图形界面
ssh -X username@host
前提:X11Forwarding,本地的 X Server原理:利用 通道转发 X流量
演示放在最后
E Intro.
S的应用
S启动远程图形界面
ssh -X username@host
前提:X11Forwarding,本地的 X Server原理:利用 通道转发 X流量
演示放在最后
E Intro.
S的应用
S启动远程图形界面
ssh -X username@host
前提:X11Forwarding,本地的 X Server原理:利用 通道转发 X流量
演示放在最后
E Intro.
S的应用
S启动远程图形界面
ssh -X username@host
前提:X11Forwarding,本地的 X Server原理:利用 通道转发 X流量
演示放在最后