Arch Linux

Posted: March 24, 2009 in archlinux

Perg first time lepas aku kena serangan jantung aku buka semula linux ahakssss…

selalunya teman setia aku Dunhill 14 yg setia menemani aku tetapi right now KURMA teman aku plak…

Ermm dah lama aku jumpa benda aalah ni tak pulak nak mencuba sejak 2 menjak nih jer sesaja nak try…  gian nak tengok BENDA HITAM ahakssss PUTTY :p

SSH UNDER ARCH LINUX

Configuring the SSH server

To configure you must edit the configuration file:

nano /etc/ssh/sshd_config

change some line :

Port 22

Protocol 2

LoginGraceTime 120

* save & exit

Than changefile /etc/hosts.allow

add the following

—————————————————————————————

# let everyone connect to you
sshd: ALL

# OR you can restrict it to a certain ip
sshd: 192.168.0.1

# OR restrict for an IP range
sshd: 10.0.0.0/255.255.255.0

# OR restrict for an IP match
sshd: 192.168.1.

—————————————————————————————

To start using the new configuration, restart the daemon:

/etc/rc.d/sshd restart

Managing SSHD Daemon

Just add sshd to the "DAEMONS" section of your /etc/rc.conf

---------------------------------------------------------------------------\
DAEMONS=(... ... sshd ... ...)
---------------------------------------------------------------------------\

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s