Skip to main content

Questions tagged [key-authentication]

Questions pertaining to key authentication, a type of authentication that may be used as an alternative to password authentication. Instead of requiring a user's password, it is possible to confirm the client's identity by using asymmetric cryptography algorithms, with public and private keys.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

I tried to install HAProxy 2.6.12 in TCP mode to do load balancing (round robin) between 2 NoMachine 8.16.1 ECS (Enterprise Cloud Server) accepting NX protocol (SSH-like). NoMachine is a remote ...
Steph_P92's user avatar
0 votes
1 answer
123 views

Info I have 2 remote machines, both are Linux and same OS version. When I tried to SSH to the machine as one of the user inside via public key, machineA works but machineB get stucked after offerring ...
Ronald Koh's user avatar
1 vote
2 answers
111 views

About SSH I know the following command works: ssh -i id_rsa <username>@<ip> Of course: The remote server must be running The passphrase of the id_rsa key is requested and if it is valid ...
Manuel Jordan's user avatar
0 votes
1 answer
71 views

For brevity I talk about PGP, but GnuPG or OpenPGP are meant as well and gpg is the OpenPGP encryption and signing tool for it. When initially establishing an email connection with someone, both ...
Adalbert Hanßen's user avatar
0 votes
0 answers
2k views

I have an old Server (Centos 4 - yes it will be upgraded but not yet!) and a new Backup machine (Rocky 9.5). I previously had rsync from the server to a previous incarnation of the backup machine (...
PeteC's user avatar
  • 1
0 votes
1 answer
69 views

How do admins typically distribute Ansible .pub keys to clients in an early environment? Do they just script that can run ssh-copy-id to multiple machines? I've looked at other forums and users said ...
Ambre's user avatar
  • 111
0 votes
1 answer
263 views

I am trying to connect to a remote SSH server as the root account, using public keys. The login fails and ssh reports: debug1: Will attempt key: mykey.pem explicit debug2: pubkey_prepare: done ...
TSG's user avatar
  • 1,993
0 votes
0 answers
2k views

After attempting to create a public/private key using the following commands with a passphrase I receive this error Saving key "/home/.ssh/rsa_id" failed: error in libcrypto If I run this ...
Jason R's user avatar
2 votes
1 answer
100 views

Why does setting umask to 0077 makes a gpg public key unavailable for apt when installing a package, e.g. umask 0077 curl -fsSLo /usr/share/keyrings/brave-browser-beta-archive-keyring.gpg https://...
John Smith's user avatar
1 vote
1 answer
183 views

I have installed ansible and created new users for controller and remote hosts. Have set up the below steps, but getting error, can anyone suggest ?? Entered user using visudo, for both controller ...
Piyush Nikhade's user avatar
0 votes
0 answers
71 views

I have the pubkey installed on the server I want to connect, and it works like a charm most of the times. However, every time I close my computer without first closing the connection, once I try to ...
Alberto's user avatar
  • 101
0 votes
0 answers
52 views

I am trying to access the two target Linux systems by copying the same id_rsa public key from my same USS source server where I generated it. I am able to copy the generated key to one target system ...
Brindha Sharadha's user avatar
0 votes
1 answer
448 views

I want to use restic for remote backups, but seeing as SFTP and SSH will both require access to the system, is there some way to configure the SSH access to the server in such a way that the ...
vfclists's user avatar
  • 7,919
1 vote
0 answers
663 views

RSA keys going to be decommissioned due to weak security and hence tried o generate a key using ED25519 type using the command ssh-keygen -t ed25519 -C “testkey” and generated the public private key. ...
Muthu Kumar's user avatar
2 votes
0 answers
246 views

I have a script which retrieves private keys from a repository database and adds them to the ssh-agent with ssh-add - <<<"----My Private Key----" The keys don't get stored on the ...
Kai78's user avatar
  • 21
0 votes
0 answers
128 views

I am trying to connect to an AWS EC2 instance from my MacBook Pro using VSCode. I am able to connect to the EC2 instance through the terminal by navigating to the Downloads folder (where my key pair ....
dinosaurslayer's user avatar
0 votes
0 answers
43 views

Key generated with key agent being asked several times (which is to give it only once) I am running a bash script to automate a backup on a NAS. I successfully generated a key (I had some difficulty ...
ecjb's user avatar
  • 495
0 votes
0 answers
413 views

I have two Debian (11 and 12) systems. I'm trying to verify ssh access from server A to server B via keys, following this video https://www.youtube.com/watch?v=vINn1MIrf7o. I try to use the keys, ...
Rez's user avatar
  • 1
1 vote
2 answers
401 views

I have two linux users user1 - regular account with auth key stored in /home/user1/.ssh/ user2 - service account without home directory How can user2 access user1's keys to connect to the remote ...
try.aaam's user avatar
3 votes
2 answers
2k views

At my new hosting provider, they allowed SSH for my account, but they only sent me port, server address, username, password, but no key. When I try to log in with PuTTY, it logs in, but I get the ...
bencuri's user avatar
  • 31
0 votes
1 answer
47 views

info lsh manual covers how to create a keypair and protect the private key with a passphrase. The manual does not tell how to change the passphrase or how to decode the private key, which is stored as ...
Roman Riabenko's user avatar
1 vote
2 answers
3k views

I created a shell alias that runs a simple shell script. The script is shown below, it sshs into another Linux machine: #!/bin/bash sshpass -p 'P@ssw0rd' ssh username@hostname I would like to encrypt ...
OpenSourceSingh's user avatar
-1 votes
1 answer
367 views

I am hoping to find a way to configure our systems so that it will work with ssh-key-pair authentication, but if not present, fail over to requiring a password, and fail login if incorrect password is ...
jewettg's user avatar
  • 107
3 votes
1 answer
980 views

I use a RSA key on a smartcard with an OpenSSH client. The smartcard is read by a smartcard reader with a pinpad. The key is protected with a PIN. Is it possible to cache the PIN somehow? I don't ...
d.c.'s user avatar
  • 907
-5 votes
0 answers
57 views

new to cybersecurity bear w/me. Just a learning situation is all, to progress onwards I took it far as I could it asked me to prepare & encode the PAYLOAD etc. I did those 4 steps. Why after ...
ScreamGPT's user avatar

1
2 3 4 5
9