openssh-2.3.0p1-4

SSH (Secure Shell) is a program to log into another computer over a network, to execute commands in a remote machine, and to move files from one machine to another. It provides strong authentication and secure communications over insecure channels. It is intended as a replacement for rlogin, rsh, rcp, and rdist.

Installation

  • Download following files
    openssh-2.3.0p1-4.i386.rpm
    openssh-server-2.3.0p1-4.i386.rpm
    openssh-clients-2.3.0p1-4.i386.rpm
    openssh-askpass-2.3.0p1-4.i386.rpm
    openssh-askpass-gnome-2.3.0p1-4.i386.rpm
    
  • Install
    # rpm -ihv openssh-2.3.0p1-4.i386.rpm \
    > openssh-server-2.3.0p1-4.i386.rpm \
    > openssh-clients-2.3.0p1-4.i386.rpm \
    > openssh-askpass-2.3.0p1-4.i386.rpm \
    > openssh-askpass-gnome-2.3.0p1-4.i386.rpm
    openssh                     ##################################################
    openssh-server              ##################################################
    openssh-clients             ##################################################
    openssh-askpass             ##################################################
    openssh-askpass-gnome       ##################################################
    
  • Start
    # /etc/init.d/sshd start
    Generating RSA keys:  Key generation complete.
    Your identification has been saved in /etc/ssh/ssh_host_key.
    Your public key has been saved in /etc/ssh/ssh_host_key.pub.
    The key fingerprint is:
    43:c1:fc:9e:6d:eb:83:40:b9:60:88:cf:0c:d4:0b:d0 root@hoge
    Generating DSA parameter and key.
    Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
    Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
    The key fingerprint is:
    dd:60:59:fa:e0:47:b8:db:e3:1c:17:8d:4c:14:9a:0f root@hoge
    Starting sshd:                                             [  OK  ]
    

    Generate Client key

  • ssh-keygen - authentication key generation
    $ ssh-keygen
    Generating RSA keys:  Key generation complete.
    Enter file in which to save the key (/home/hoge/.ssh/identity):
    Created directory '/home/hoge/.ssh'.
    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:
    Your identification has been saved in /home/hoge/.ssh/identity.
    Your public key has been saved in /home/hoge/.ssh/identity.pub.
    The key fingerprint is:
    d2:d4:5d:1f:eb:39:cf:b1:f7:cb:89:91:df:43:bb:10 hoge@hoge.com
    

    Access Control

    Control by Tcp_wrappers
  • /etc/hosts.deny
    ALL: ALL
    
  • /etc/hosts.allow
    ...
    ssh: ALL
    ...
    

    SSH Client Installation

  • Download Tera Term PRO from
    http://www.ozawa.ics.keio.ac.jp/~junji/pc/ttermp23.zip
    and Install

  • Download TTSSH from
    http://www.ozawa.ics.keio.ac.jp/~junji/pc/ttssh14.zip

  • Extract ttssh14.zip into teraterm folder.
    (LIBEAY32.DLL, TTXSSH.DLL, TTSSH.EXE)

  • Execute TTSSH.EXE.
    There are [SSH] Option, [Setup / SSH...], [Setup / SSH...], [Setup / SSH Authentication...], [Help / About TTSSH...] Menus are in [New Connection] Dialog Box.

  • Make blank file in the teraterm folder that the name is "ssh_known_hosts"

  • Edit Environment
    1. Windows9X
      Edit autoexec.bat
      TERATERM_EXTENSIONS=1
      
    2. WindowsNT
      Open [Control Panel] - [System] - [Environment], and Add "TERATERM_EXTENSIONS" = "1" into variables list.

    Connect from your client

  • Run Teraterm with /SSH Option
    Shortcut Example
    "C:\Program Files\TeraTerm\TERMPRO.EXE" /SSH
    
  • Select your host name, [SSH] option from Service, Change port# [22] and Click [OK] button

    Back
    Google
    Web www.grape-info.com