Terima kasih banyak telah berkunjung.

Selamat datang di website: www.harisprasetyo.web.id

Thursday, November 3, 2011

SSH 2 (Secure Shell)


SSH Serial Port Console Switch, RS232 Remote Management with Secure Shell
Secure Shell
Deskripsi:
Ssh2 (Secure Shell) merupakan program yang digunakan untuk login ke remote systems dan menjalankan perintah di remote systems tersebut.
Format Perintah:
ssh2 [-l login_name] hostname [option] [command]

Keterangan:
-l login_name
Nama login pada remote systems

File Konfigurasi:
􀂃 System’s Configuration - /etc/ssh2/ssh2_config
􀂃 user's configuration file ($HOME/.ssh2/ssh2_config)

File /etc/ssh2/ssh2_config (untuk client):
# vi /etc/ssh2/ssh2_config
# SSH 2.0 Client Configuration File
*:Port 22

Ciphers                                                            blowfish
Compression                                                    yes
IdentityFile                                                      identification
AuthorizationFile                                             authorization
RandomSeedFile                                              random_seed
VerboseMode                                                  no
ForwardAgent                                                  no
ForwardX11                                                    no
PasswordPrompt                                              "%U's password: "
Ssh1Compatibility                                           no
Ssh1AgentCompatibility                                  none
NoDelay                                                          yes
KeepAlive                                                       yes
QuietMode                                                       no

File /etc/ssh2/ssh2_config (untukServer):
# sshd2_config
# SSH 2.0 Server Configuration File
*:Port 22

ListenAddress                                                  192.168.1.1
Ciphers                                                            blowfish
IdentityFile                                                      identification
AuthorizationFile                                             authorization
HostKeyFile                                                     hostkey
PublicHostKeyFile                                           hostkey.pub
RandomSeedFile                                              random_seed
ForwardAgent                                                  no
ForwardX11                                                    no
PasswordGuesses                                             3
MaxConnections                                              5
PermitRootLogin                                              no
AllowedAuthentications                                  publickey,password
RequiredAuthentications                                 publickey,password
VerboseMode                                                  no
PrintMotd yes
CheckMail                                                       yes
UserConfigDirectory                                       "%D/.ssh2"
SyslogFacility                                                  DAEMON
Ssh1Compatibility                                           no
NoDelay                                                          yes
KeepAlive                                                       yes
UserKnownHosts                                                         yes
AllowHosts                                                      192.168.1.4
DenyHosts                                                       *
QuietMode                                                       no

# subsystem definitions

subsystem-sftp sftp-server

Test koneksi dari client dengan perintah:
[root@deep] /#ssh2 -l <login_name> <hostname>



No comments:

Post a Comment

Komentar Diperlukan Untuk Bila Kurang Paham Atau Ingin Bertanya Seputar Artikel Yang Dibaca...