Establishing SSH Tunneling
J
669
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
J
Establishing SSH Tunneling
If you are using Remote Management over a network that is not secure, the data between the
Remote Management Viewer running on the management console and the Remote Management
Agent on the managed device is unencrypted and could be viewed by someone with access to the
intervening network. You should tunnel your Remote Management sessions through a secure
channel such as SSH.
Section J.1, “SSH Tunneling between a Linux Management Console and a Linux Managed
Device,” on page 669
Section J.2, “SSH Tunneling between a Windows Management Console and a Linux Managed
Device,” on page 670
Section J.3, “Compression,” on page 671
J.1 SSH Tunneling between a Linux Management
Console and a Linux Managed Device
If you are using Linux, SSH clients and servers are freely available on the internet. The SSH client
and server RPMs can be downloaded from the
OpenSSH site. (http://www.openssh.com)
.
J.1.1 Basic Use
SSH provides you with a “Secure SHell” to the remote device. All traffic is encrypted between the
two devices using public key encryption techniques, making it very difficult for anyone else to spy
on it. When SSH is installed, you could connect to a managed device from elsewhere simply by
running the SSH client. For example, if you want to connect to a managed device called “work.” you
use the following command:
ssh work
You are then prompted for the password of your account on the managed device and you are logged
in, just like a telnet session, but safer. You can also request that it listens on a particular port on your
local management console and forwards that down the secure connection to a port on a managed
device at the other end. To do this, use the following command:
ssh -L x:work:y work
This starts an SSH connection to a device named “work” and also listen on port x on the local
management console, and forwards any connections there to port y on “work.”
Remote Management uses two ports on the managed device. By default, the Remote Control service
listens on port 5950 and the Remote Login service listens on port 5951. If you want to enable SSH
tunneling for Remote Control, you need to forward Remote Management data from a port on your
local management console to 5950 of managed device.
Similarly, you should forward data to 5951 if you want to tunnel Remote Login:
If you are running Remote Control service on “work” on 5950 and you want a secure
connection to it from your local management console, you can start the SSH session using:
Summary of Contents for ZENWORKS LINUX MANAGEMENT 7.3 IR2
Page 4: ...4 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 22: ...22 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 34: ...34 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 40: ...40 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 44: ...44 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 68: ...68 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 84: ...84 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 100: ...100 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 102: ...102 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 105: ...Registering Devices 105 novdocx en 7 January 2010 key yum_service...
Page 106: ...106 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 124: ...124 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 132: ...132 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 182: ...182 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 206: ...206 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 208: ...208 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 216: ...216 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 264: ...264 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 270: ...270 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 290: ...290 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 320: ...320 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 324: ...324 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 352: ...352 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 406: ...406 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 478: ...478 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 480: ...480 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 482: ...482 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 494: ...494 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 508: ...508 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 520: ...520 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 524: ...524 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 530: ...530 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 532: ...532 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 544: ...544 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 546: ...546 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 600: ...600 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 606: ...606 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 646: ...646 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 662: ...662 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 666: ...666 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 672: ...672 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 678: ...678 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 684: ...684 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...