Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift
Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift
I am having issues with committing changes to my gear. I have tried to run rhc setup, I also deleted my .ssh folder and executed rhc setup again but that also didnt work.
Not sure what changed but it worked couple of hours ago.
>git push -u master Permission denied (publickey,gssapi-keyex,gssapi-with-mic). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
>git remote add devstage3 -f ssh://@-.rhcloud.com/~/git/.git/
Also I have tried to start a different gear and commit to it but I am getting the same error:
Updating The authenticity of host '-.rhcloud.com ()' can't be established. RSA key fingerprint is . Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '-.rhcloud.com,' (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. error: Could not fetch
Answer by TheSteve0 for Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift
I would also recommend trying to SSH in first. With SSH use the -vv flag to show more of the connection information. My guess is that SSH is trying to use a different key than what you uploaded to the server
Answer by special0ne for Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift
Remove the keys: rhc sshkey-remove You can also delete them from the management console, by going to https://openshift.redhat.com/app/console/settings
Once done, upload the public key (copy the content of your id_rsa.pub to management console) : https://openshift.redhat.com/app/console/keys/new
Save it. After this try to git clone
and it should work for you.
Answer by Vitaly Sazanovich for Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift
I fixed the problem by setting up proxy for ssh: ~/.ssh/config
ProxyCommand /bin/connect.exe -H proxy:8080 %h %p Host rhcloud.com User myemailasrhclogin@gmail.com Port 22 Hostname rhcloud.com IdentityFile "C:\users\username\.ssh\id_rsa" TCPKeepAlive yes IdentitiesOnly yes
Problem of testing SSH in git behind proxy on window 7
My initial mistake was to use appname.rhcloud.com as Host or Hostname. And yes, adding your public key to OpenShift is also necessary.
Answer by user655000 for Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift
please check if you have changed to another account.
i encountered this problem when my account changed to root.
I am using ubuntu.
I solved this problem by the following cmds
rm ~/.openshift/ -rf rm ~/.ssh/* -rf rhc setup
and i encountered the following error:
chmod: ??".git/FETCH_HEAD" ???: ??????
solved by :
sudo chmod 777 .git/FETCH_HEAD
then:
git pull
got:
Already up-to-date.
everything goes find.
Answer by boris1993 for Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift
if you are using windows, you can try the following steps:
look for your ssh public key usually you can find it at c:\users\.ssh
copy your openshift public key to your git's ssh-key folder
suppose we have git in "d:\git"
then we need to copy the public key from "c:\users\.ssh" to "d:\git.ssh"
try if it works
btw, sorry for my bad english ;-)
Answer by user3784659 for Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift
you have to check in ~/.ssh/ if exists a file id_rsa.pub and id_rsa if not you have to create it using openssh or if exists a file with extension .pub duplicate it and rename the copy as id_rsa.pub then do the same with id_rsa. this work with google compute engine. I've tried
Answer by Rodrigo Antonio Rubio for Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift
Had the same issue and wasted hours, I'm using centos 7. The following solved my problem.
On linux:
- "cd /home/your_username/.ssh"
- View "id_rsa.pub" and copy contents
- On openshift create a key from the UI and paste the contents from your "*.pub" file
- Save your new key
- Try reconnecting from your local machine
Hope the above helps. Note, on mac it worked from the word go only linux game me errors.
Answer by freeboy1015 for Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift
add user to /etc/sshd_special_user
Fatal error: Call to a member function getElementsByTagName() on a non-object in D:\XAMPP INSTALLASTION\xampp\htdocs\endunpratama9i\www-stackoverflow-info-proses.php on line 71
0 comments:
Post a Comment