Questions tagged [public-key]

283 questions
1
vote
1 answer

Where ARC public key is stored?

Where ARC public key is stored? For DKIM it is [selector]._domainkey.example.org. But for ARC? Is it the same as DKIM and holds in TXT query for domain mentioned above? Thank you.
1
vote
1 answer

Is it possible to disable ssh password authentication for own user without root access?

I would like to disable ssh password authentication for my user account on a server where I don't have root priviledges, so that I can only log in via publickey authentication. Everything I found on the topic involved changing /etc/ssh/sshd_config,…
fifaltra
  • 129
  • 4
1
vote
1 answer

Ansible to access Github: become causes Permission denied (publickey)

Objective Would like to understand the mechanism why using become to be the ansible user causes "Permission denied (publickey)". User ansible to run ansible-playbook to checkout a Github repository. SSH keys have been copied with ssh-copy-id with…
mon
  • 235
  • 3
  • 10
1
vote
1 answer

Allow system accounts to login to other server without passwords

i'd like to allow user 'devel' to login to any other server using public keys as user 'devel'. This user is not a human, but a scripting-only account. How can I accomplish this? Is Puppet the right way? How does each source server receive the…
Felipe Alvarez
  • 193
  • 2
  • 12
1
vote
2 answers

Being Prompted for Password

// Begin edit I should note now that I've tinkered around a bit more, that everything works as intended if I use the "-i identity_file" switch when connecting from "Automation" and point that at the private key on the "Automation". // End edit There…
joebert
  • 195
  • 7
1
vote
1 answer

Google Cloud auth access key secret key?

Apologies for probably a basic question. Getting started with Google Cloud and require the access key and secret key to test online backups to Google Storage using Backup Exec 2015, however I can't find any clear instructions on how to obtain/create…
1
vote
2 answers

openssl smime message signing: why do I need a -certfile key?

Here is how one should sign a message with openssl smime? according to the docs openssl smime -sign -in in.txt -text -out mail.msg -signer mycert.pem \ -inkey mykey.pem -certfile mycerts.pem But why is there a -signer key with a certificate --…
1
vote
2 answers

OpenSSH: allow users with writeable HOME to use public key authentication

On a local workstation I need to have a handful of users to be able to freely write in each other $HOME. I KNOW this is a security breach and, in the specific situation, I do not care at all. I have another server (not local to LAN) used mainly as…
ZioByte
  • 296
  • 4
  • 17
1
vote
2 answers

Secure EC2 instance from logging without .pem file

I see here and here (under Connecting to Your Linux Instance if You Lose Your Private Key) ways to access EC2 instance without a .pem file that was created when the instance was created. I would like to secure my EC2 so NO-ONE without the .pem file…
1
vote
2 answers

SSH using publickey not working on debian (Permission denied (publickey,password).) with clean /var/log/auth.log

For some reason, ssh over publickey isn't working as expected. I've set this up before, and it's worked before on other machines. No idea what I'm doing wrong here... very verbose output of ssh client@localmachine$ ssh -o…
Jono
  • 113
  • 1
  • 1
  • 5
1
vote
1 answer

If I get an invalid public key error does that mean I have an incorrectly installed certificate

I have created an API (running on an nginx server, let me know if there are any details that you think are relevant) for a client and they received this error when trying to call my service: Notice: SSL certificate problem: self signed certificate…
Mike H-R
  • 113
  • 1
  • 6
1
vote
1 answer

SSH attacks, how do their usernames end up in auth.log? (pw auth disabled)

So this computer is reachable on port 22 (from everywhere). Since messages indicating failed login attempts (usernames like root, cgi, bash, production...) have been flooding /var/log/auth.log, I have disabled password authentication from external…
basic6
  • 353
  • 3
  • 9
1
vote
1 answer

Automatically send public key to github account

I want to automatically add public key from newly created machine to github account (so it could checkout organization projects). Is there any simple way to do that? Machine OS is Debian Wheezy.
Kuroki Kaze
  • 345
  • 2
  • 5
  • 18
1
vote
0 answers

Passwordless public key is not working

this is my fist help ask here despite being a daily reader in order to learn. I am working on a Unix environment (both Solaris and Aix servers) and my public key suddenly stopped working after months. I tried to re-create the key but it is still not…
Bonza
  • 11
  • 1
1
vote
0 answers

ssh server not accepting public/private keys (Cygwin)

I am trying to connect my computer to a ssh server (running on Windows 7) using public/private keys. I have generated the keys and used the necessary permissions for files: chmod 700 .ssh chmod 600 authorized_keys and have also added the public key…
synthesis
  • 53
  • 2
  • 10