|
17. SSH
Introduction
This is another section that is mainly included because I use it a
lot. It's very handy to do remote support when Webmin just won't cut
it. Actually, that's a silly excuse, because even from Webmin you can
run ssh commands via a Java-applet, found in the Other section. But
also for this, you need to enable ssh.
Installation and Configuration
It's already installed! Another one of those easy installations
delivered to you by KNOPPIX. All you need to do is go to the Webmin
interface and start it. And to make sure it starts every time your
knoppixbox is started, you can issue sudo update-rc.d ssh defaults
to add the necessary init links to your startup sequence.
You can find the SSH section in Servers section of your Webmin interface.
The configuration panel is called "SSH Server" and you can leave all the
settings set to their defaults.
Configuration of the Firewall
The SSH protocol is on Port 22, so you need to enable all TCP traffic to the
firewall on this port. In a table:
|
Action
|
Source
|
Destination
|
Protocol
|
Source ports
|
Destination ports
|
Comment
|
|
Accept
|
Any
|
Firewall
|
TCP
|
Any
|
22
|
Allow traffic from anywhere to the ssh daemon.
|
|