Questions tagged [public-key]

283 questions
1
vote
2 answers

RPM issues after signing JDK 1.6 64-bit

I'm trying to sign the Java JDK 1.6u21 64-bit RPM on CentOS 5.5 for use with Spacewalk and I'm running into problems. It seems to sign okay, but then when I check the signature it seems to be missing the key I just used to sign it. Yet RPM shows the…
organicveggie
  • 1,071
  • 3
  • 15
  • 27
1
vote
1 answer

SSH connection slow from one machine but not another

I have a remote server I need to administer over a VPN to another data centre. The server I used to conenct to it from (server A) is being decommissioned, so I'm using another on the same VLAN (sevrer B). Server A and B run the same version of SSH…
RCross
  • 469
  • 2
  • 6
  • 19
1
vote
4 answers

ssh via public key authentication for users administered with NIS

I'm experimenting with using NIS for centralizing the user management for a network of approx 20 servers. I've got an NIS client and server working, and can ssh to the client machine and successfully log in, but only using a password. I'd like to be…
Paul Dixon
  • 1,516
  • 3
  • 23
  • 37
1
vote
1 answer

Authorized_keys not getting permissions or owner set correctly when run from bash script

With the following snippet of a script to add new users each user gets a public\private key pair automatically created, with the private key in their home directory for winscping out. The script works with one problem: authorized_keys always gets…
Joshua Enfield
  • 3,454
  • 8
  • 42
  • 59
1
vote
2 answers

Set-up SSHD to handle multiple key pairs

I am trying to set up my sshd to accept users that do not have a system user account. My approach is to use DSA public/private key pairs. I generated a key pair: $ ssh-keygen -t dsa I copied id_dsa.pub to the server machine where sshd runs. I…
Warlax
  • 33
  • 4
1
vote
4 answers

Enabling publickey authentication for server's sshd

I have two servers running RHEL 5. Both have nearly identical configurations. I have set up RSA Publickey authetication on both, and one works but the other does not: [my_user@client] $ ssh my_user@server1 --- server1 MOTD Banner…
aaron
  • 741
  • 3
  • 10
  • 19
1
vote
0 answers

AuthorizedKeysCommand setup prompts for password

The issue: Even though I've set up AuthorizedKeysCommand and password authentication is stopped when I attempt to log in from my Mac, I am still being asked to enter the password: OS: Rocky Linux 9.2 OpenSSH version on the server: OpenSSH_8.7p1,…
zamunda68
  • 31
  • 3
1
vote
1 answer

Ansible playbook can not connect to remote user through ssh => unreachable & permission denied

I'm building a complete solution to setup and harden our vps (ubuntu 22.04) with bash script and Ansible playbooks. What I want to do is the following: Create a custom group "sudogroup" with sudo privileges Create a new user "sudouser" in this…
1
vote
0 answers

Connection closed by remote host when copying client public key to sftp server

I want to copy the client public keys for a container to a remote sftp server and after that attempt do some uploads to the server via bash script(the bash script will be invoked when the container runs). The logic for copying client public keys and…
Golide
  • 123
  • 1
  • 2
  • 10
1
vote
0 answers

Trying to get 100% in ssllabs.com key exchange with nginx (Oct/2022)

My site got A+ on all score fields, however, it seems ssllabs.com changed some measures, and the key exchange score is not 100% any more: screenshot My previous Nginx setting is like this: ssl_protocols TLSv1.2 TLSv1.3; …
Moses
  • 11
  • 2
1
vote
2 answers

Openstack ubuntuVM SSH public key Permission denied on first boot

I am deploying Openstack(I tried victoria and ussuri) with kolla-ansible on 3 CentOS 8 Nodes (1=Control+Compute,2 and 3=Compute). Deployments works fine without any problems but when I create a new VM with an ubuntu image…
Michael
  • 11
  • 2
1
vote
1 answer

No associated key pair, add key pair to EC2 with no key pair

How do you add an existing key to a live EC2 instance that has no key pair? I have tried using Session Manager to vi /.ssh/authorized_keys and add in the public key of the pair, but I get this error: "~/.ssh/authorized_keys" "~/.ssh/authorized_keys"…
inac
  • 519
  • 3
  • 10
  • 20
1
vote
1 answer

Public key read-only storage

We use GnuPG for encrypting data, which we upload to a central storage. The public key is being stored on a web-server, and the encrypting script re-downloads it if it's changed. This was done in order to easily refresh the public key every so often…
SyRenity
  • 3,179
  • 11
  • 57
  • 79
1
vote
1 answer

SSH - Permission denied (publickey)

It's another SSH issue. It worked before updating to Fedora 33, but now it doesn't which makes me believe it's a client side issue. Anyone seeing something in the logs which could give a clue? Unfortunately 'm just a hobbyist, not an expert. ssh…
1
vote
1 answer

Why does firefox need to import the GPG key when updating?

I am new to linux and I typed yum update firefox in the shell. During the process, it says: Importing GPG key 0x57BBCCBA "Fedora (12) " from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386 Is this ok [y/N]: y Why does firefox need…
bobo
  • 599
  • 2
  • 8
  • 24