Results 1 to 2 of 2
  1. #1


    Member Since
    Mar 27, 2008
    Posts
    3
    Permission denied (publickey).
    Hi Everyone,

    This site is really impressive lot of useful info. I am a new user (Just registered ). I have started using mac from few days. I am struck on some problem if some one had encountered/aware of this please help

    I am trying to install a database. From terminal I have logged in as root user and have added the hostname in the /etc/hostconfig file. After which I tried connecting through ssh to the user "Viswanath" I got the below error

    sh-3.2# hostname
    Viswanath

    sh-3.2# ssh Viswanath@Viswanath
    Permission denied (publickey).

    sh-3.2# ping Viswanath
    PING Viswanath (216.255.187.213): 56 data bytes
    ^Z
    [2]+ Stopped(SIGTSTP) ping Viswanath

    sh-3.2# ssh Viswanath@216.255.187.213
    Permission denied (publickey).

    In the database which I am installing there is a step which I am supposed to execute during which it started asking me (Pls find the log below) for the password continuously even after entering the password. Then to check if I could login to my user using ssh I followed the above process even that didn't work

    sh-3.2# gpssh-exkeys -h Viswanath
    /usr/local/greenplum-db-3.1.1.1/bin/lib/paramiko/pkey.py:28: RuntimeWarning: Python C API version mismatch for module Crypto.Cipher.DES3: This Python has API version 1013, module Crypto.Cipher.DES3 has version 1012.
    from Crypto.Cipher import DES3
    /usr/local/greenplum-db-3.1.1.1/bin/lib/paramiko/transport.py:53: RuntimeWarning: Python C API version mismatch for module Crypto.Cipher.Blowfish: This Python has API version 1013, module Crypto.Cipher.Blowfish has version 1012.
    from Crypto.Cipher import Blowfish, AES, DES3
    /usr/local/greenplum-db-3.1.1.1/bin/lib/paramiko/transport.py:53: RuntimeWarning: Python C API version mismatch for module Crypto.Cipher.AES: This Python has API version 1013, module Crypto.Cipher.AES has version 1012.
    from Crypto.Cipher import Blowfish, AES, DES3
    [STEP 1 of 5] create local ID
    ... /var/root/.ssh/id_rsa file exists ... skipped

    [STEP 2 of 5] keyscan all hosts and update known_hosts file
    # Viswanath SSH-2.0-OpenSSH_4.5p1 FreeBSD-20061110
    no hostkey alg

    [STEP 3 of 5] copy public key to remote host
    ... send to Viswanath@Viswanath
    ***
    *** Enter password for Viswanath@Viswanath:
    [ERROR Viswanath@Viswanath] Unknown server Viswanath
    ***
    *** Enter password for Viswanath@Viswanath:
    [ERROR Viswanath@Viswanath] Unknown server Viswanath
    ***
    *** Enter password for Viswanath@Viswanath:
    [3]+ Stopped(SIGTSTP) gpssh-exkeys -h Viswanath

    I also tried creating a new user from the system preferences--> accounts and then tried connecting through ssh but all my tries went in vain.

    sh-3.2# ssh gpadmin@Viswanath
    Permission denied (publickey).

    If some one is aware of the solution please help.

    Thanks & regards
    Vish

  2. #2


    Member Since
    Mar 27, 2008
    Posts
    3
    Hi All,

    The issue is solved. Need to change the permissions for ssh folder also /etc/hosts file need you add
    127.0.0.1 hostname...

    Later which it worked...

    Thanks & Regards
    Vish

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. su permission denied issues
    By ibanez in forum OS X - Operating System
    Replies: 1
    Last Post: 08-17-2012, 10:20 AM
  2. Desktop Permission Denied
    By acharliek in forum OS X - Operating System
    Replies: 3
    Last Post: 12-04-2011, 02:56 PM
  3. Permission denied during make install
    By yan03 in forum OS X - Operating System
    Replies: 2
    Last Post: 11-28-2009, 11:11 AM
  4. Odd permission denied after compilation
    By Jennynot in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 10-09-2009, 08:43 AM
  5. Permission denied problem
    By chidambaram in forum OS X - Apps and Games
    Replies: 1
    Last Post: 09-16-2008, 04:56 PM

Posting Permissions

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