Results 1 to 4 of 4

Thread: OpenSSH Problem

  1. #1

    OpenSSH Problem

    Hi Gurus out there!

    Had a problem configuring openssh. I installed openssh rpms into my OpenNA 1.0 Linux server:

    $ rpm -Uvh openssh*
    $ rpm -qa|grep ssh
    openssh-server-3.7.1p2-2
    openssh-clients-3.7.1p2-2
    openssh-3.7.1p2-2

    Then, created an OpenSSH private and public keys.

    # su admin
    $ ssh-keygen -t rsa

    then copy id_rsa.pub (from ns1) into my user home on the remote computer (ns2) as /home/admin/.ssh/authorized.keys. I did the same ns2-ns1.

    However, things did not turned-out well for me. When I attempt to login

    # su admin
    [admin@ns1 root]$ ssh -l admin ns2.domain.com

    (User admin had an administrative priveledges on my Linux Machine.)

    No message appear, just blank. I checked /var/log/messages but no error can be found. What could be the problem?
    How can I fix it?


  2. #2
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:OpenSSH Problem

    Can you log in without using the keys?

  3. #3
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630

    Re:OpenSSH Problem

    Make sure your /etc/ssh/sshd_config has:

    Code:
    RSAAuthentication yes
    PubkeyAuthentication yes
    AuthorizedKeysFile      %h/.ssh/authorized_keys
    (not commented out)

    and if so, change your authorized.keys to authorized_keys

  4. #4

    Re:OpenSSH Problem

    Thanks to both of you got it! ;D

Similar Threads

  1. Problem with POSIX semaphores
    By wej@wejc.com in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 12-15-2007, 12:46 AM
  2. HELP PLEASE! Long file names problem
    By paulmarcw in forum Windows - General Topics
    Replies: 1
    Last Post: 02-24-2006, 04:12 AM
  3. problem with windows linux network
    By grooverider in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 01-29-2005, 12:36 AM
  4. Problem with D-Link DFE-580tx
    By Lysander in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 11-15-2004, 08:25 AM
  5. OpenSSH 3.3
    By Aaron_Adams in forum Linux - Software, Applications & Programming
    Replies: 9
    Last Post: 06-27-2002, 04:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •