Questions tagged [public-key]

283 questions
0
votes
1 answer

Centos requires me to change my password while I'm using private keys

I tried to login to my remote CentOS server using my private key and I was surprised to get this message : There were 29031 failed login attempts since the last successful login. After that it asks me to change my password, which requires my…
0
votes
0 answers

Why is my private key accepted on SSH only after I login on the target machine?

I have an interesting situation which I'm not even sure where to begin to investigate from. I have a Ubuntu 12.04 server with SSH locked down to PK-auth. When I reboot my server, and try to SSH into it, my PK is not accepted. However, once I login…
Yavor
  • 101
  • 1
0
votes
1 answer

How to use PuttyGen.exe when moving key(s) from old machine to a new machine?

I've only generated the public/private key pair in PuttyGen.exe once. This was the first time I've ever used this tool. Rather than having the folks hosting the server that I'm connecting to, who installed the public key, how can I avoid that, and…
JustBeingHelpful
  • 1,964
  • 7
  • 37
  • 53
0
votes
3 answers

How to add ssh publickey to Clustered NetApp for Active Directory user?

I am trying to load my ssh public key on a netapp instace but it seems that it does not allow me to add my key. lcy2-dosvm01::security login publickey> load-from-uri -uri http://pastebin.com/raw.phpi=mgB0Vq3x -username sorins Error: command failed:…
sorin
  • 8,016
  • 24
  • 79
  • 103
0
votes
1 answer

Add SSH user with sudo privilege, using pubkey

I need to add an account for someone to be able to SSH into my server and have sudo privileges. He has given me his pubkey which is something like: ssh-rsa AAAAfbfi40fdsfodudksjflksjdf..... name@workstation I'm really not sure what to do with this…
sudo
  • 3
  • 1
0
votes
1 answer

SSH: Login to local pc by key

I got a little problem. I'm using apt-dater to keep different linux-systems updated. Apt-dater uses ssh to login to these systems - there's no problem by doing this. To connect to localhost, the system uses ssh monitor@localhost:port I set up the…
MyFault
  • 913
  • 3
  • 15
  • 36
0
votes
0 answers

Why would a server's RSA fingerprint change every few seconds?

In the past I've been able to connect to my server via SFTP with no problems, but suddenly yesterday it warned me that the fingerprint for the RSA key sent by the remote host had changed. I've encountered this issue plenty of times before but this…
jerdiggity
  • 101
  • 2
0
votes
0 answers

Installing PostgreSQL on Centos 5

I'm following the instructions from here. I try and run yum localinstall http://yum.postgresql.org/9.4/redhat/rhel-5-i386/pgdg-centos94-9.4-1.noarch.rpm which returns the fault cannot open file... Skipping. I tried to wget the file and ran yum…
Rudiger
  • 191
  • 1
  • 15
0
votes
1 answer

SSH key stopped working on Ubuntu Azure VPS

I have an Ubuntu instance that I'm running on Azure. I've been using it for the last 6 months or so to level up my novice Linux admin skills. Yesterday I was configuring a Capistrano deployment to this server when my ssh key stopped working all of a…
Southerneer
  • 111
  • 4
0
votes
1 answer

After Updating to SHA2, private and public doesn't match

I've upgraded to SHA2 certificate, but after upgrading the new certificate key doesn't match my old private key. Public key has changed after updating and it doesn't match to previous private key. Is it usual that after upgrading to SHA2, the…
Sumit Murari
  • 255
  • 1
  • 2
  • 8
0
votes
1 answer

How to pass the SSH_AUTH_SOCK through sudo (Permission denied (publickey).)

I have a Ubuntu server with the users: ubuntu and user I connect to each of the users using ssh -A (to pass my local machine keys to SSH). From any of the users I can connect to the SSH server of Github: $ ssh -T git@github.com ... Hi gabipetrovay!…
Gabriel Petrovay
  • 248
  • 3
  • 12
0
votes
1 answer

Allow ssh access to git pull on remote machine

We have a server with some of our git repositories on and I would like to be able to clone one to our webserver (which runs debian). I ran ssh-keygen on the webserver and copied the public key into authorized_keys on the gitserver and so now I can…
ingh.am
  • 273
  • 3
  • 15
0
votes
0 answers

Copying over public keys within private network

As part of a cloud init script for an EC2 instance, I want to generate a private & public key for a user created on the new instance and then copy the public key over to another server in the same private network. The question is the best way to do…
Jordan Reiter
  • 1,290
  • 4
  • 20
  • 40
0
votes
2 answers

Can not set up SSH Public Key Authentication

I did the following: Server A: ssh-keygen -t rsa (did not enter any passphrase) cat ~/.ssh/id_rsa.pub Server B: mkdir ~/.ssh chmod 0700 ~/.ssh touch ~/.ssh/authorized_keys chmod 0644 ~/.ssh/authorized_keys placed the content of ~/.ssh/id_rsa.pub…
user189078
  • 225
  • 2
  • 4
  • 7
0
votes
1 answer

Connect Git Remote Between EC2 New User and Remote Computer

From an Amazon EC2 instance, I created a new user, webserver, and created a git repository that is only accessible to webserver and not the default user. I wish to, from my home computer (also Linux), clone, push, and pull from the repository. Here…
Havvy
  • 111
  • 3