Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Permission denied (publickey).
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="piduruviswa" data-source="post: 622703" data-attributes="member: 51851"><p>Hi Everyone,</p><p></p><p>This site is really impressive lot of useful info. I am a new user (Just registered ;D). I have started using mac from few days. I am struck on some problem if some one had encountered/aware of this please help</p><p></p><p>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 </p><p></p><p>sh-3.2# hostname</p><p>Viswanath</p><p></p><p>sh-3.2# ssh Viswanath@Viswanath</p><p>Permission denied (publickey).</p><p></p><p>sh-3.2# ping Viswanath</p><p>PING Viswanath (216.255.187.213): 56 data bytes</p><p>^Z</p><p>[2]+ Stopped(SIGTSTP) ping Viswanath</p><p></p><p>sh-3.2# ssh Viswanath@216.255.187.213</p><p>Permission denied (publickey).</p><p></p><p>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</p><p></p><p>sh-3.2# gpssh-exkeys -h Viswanath</p><p>/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.</p><p> from Crypto.Cipher import DES3</p><p>/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.</p><p> from Crypto.Cipher import Blowfish, AES, DES3</p><p>/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.</p><p> from Crypto.Cipher import Blowfish, AES, DES3</p><p>[STEP 1 of 5] create local ID</p><p> ... /var/root/.ssh/id_rsa file exists ... skipped</p><p></p><p>[STEP 2 of 5] keyscan all hosts and update known_hosts file</p><p># Viswanath SSH-2.0-OpenSSH_4.5p1 FreeBSD-20061110</p><p>no hostkey alg</p><p></p><p>[STEP 3 of 5] copy public key to remote host</p><p> ... send to Viswanath@Viswanath</p><p> ***</p><p> *** Enter password for Viswanath@Viswanath: </p><p>[ERROR Viswanath@Viswanath] Unknown server Viswanath</p><p> ***</p><p> *** Enter password for Viswanath@Viswanath: </p><p>[ERROR Viswanath@Viswanath] Unknown server Viswanath</p><p> ***</p><p> *** Enter password for Viswanath@Viswanath: </p><p>[3]+ Stopped(SIGTSTP) gpssh-exkeys -h Viswanath</p><p></p><p>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.</p><p></p><p>sh-3.2# ssh gpadmin@Viswanath</p><p>Permission denied (publickey).</p><p></p><p>If some one is aware of the solution please help.</p><p></p><p>Thanks & regards</p><p>Vish</p></blockquote><p></p>
[QUOTE="piduruviswa, post: 622703, member: 51851"] Hi Everyone, This site is really impressive lot of useful info. I am a new user (Just registered ;D). 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 [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Permission denied (publickey).
Top