Skip to main content

Questions tagged [public-key]

The tag has no usage guidance.

0 votes
0 answers
69k views

Terraform error: importing EC2 Key Pair (XXXX): InvalidKeyPair.Duplicate: The keypair already exists

Terraform newbie here. I am trying to add an additional node group to existing terraform stack that has already been deployed in AWS region by someone else in my organization. I have run through ...
adam thompson's user avatar
-1 votes
0 answers
71 views

Keep getting Permission denied (publickey) when trying to ssh into an older machine that I setup to be keys only

I have this server and some people want to log into it with only their ssh keys, it is not working for them. I always use passwords so I started to investigate, and set the server to allow keys only. ...
Codejoy's user avatar
  • 157
1 vote
0 answers
43 views

File not received properly in Azure server using SFTP

I am copying a file from my z/OS Unix System Services (USS) server to a Windows server in Azure using SCP. I am able to connect with both SSH and SFTP to the Azure server on port 22 from my USS server,...
Brindha Sharadha's user avatar
0 votes
0 answers
26 views

monitor pgp expiration date from ciphermail gateway

I can lookup the expiration date of my public keys (PGP) in the webui of ciphermail. But is there a more convenient way of monitoring the expiration date of the PGP public keys?
Medera's user avatar
  • 131
3 votes
0 answers
159 views

why does GPG ignore the trust level I had set for recepient key?

I encountered the following puzzling behavior with GPG: after I set trust for a recipient's key, gpg still complains it doesn't know if it should use the encryption subkey and prompts for input. Here ...
sema's user avatar
  • 31
1 vote
0 answers
163 views

Can not SSH to GUI Ubuntu on Login Screen

I have a laptop with Ubuntu installed, and I've set up SSH using a key, and everything was working fine (I could SSH into the laptop from another computer). Then, I rebooted the laptop, and on the ...
Thuannb96's user avatar
1 vote
0 answers
519 views

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 ...
zamunda68's user avatar
-2 votes
2 answers
155 views

the theory of SSH public and Private key and its application in realworld machines [closed]

there. In this question, I have a very specific one about public and private keys. So Public keys should be put on the opposite side. For example, if we have a server, the public key of the server ...
Sina M's user avatar
  • 3
0 votes
0 answers
283 views

Linux server ssh connection wont authenticate my account using ssh key gen and prompts me for password

I am facing an issue in Ubuntu 22.04.2. where I am unable to SSH into a remote server using a copied public key. I have generated an SSH key pair on my local machine using a bash terminal, and I have ...
Stuff's user avatar
  • 1
0 votes
1 answer
1k views

Permission denied (publickey) error when managing GCP machine via Ansible (running on GCP VM) despite successful SSH connection

I deployed two machines to GCP via Terraform. Let's call them control-host and target-host. I want to manage the target-host via Ansible installed on the control-host. Unfortunately, I keep getting ...
mångata's user avatar
  • 109
2 votes
1 answer
13k views

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" ...
Emmanuel FRANCOIS's user avatar
1 vote
1 answer
8k views

Ssh login error - Permission denied (publickey,password)

i just had configured a debian server and installed aapanel on it. I also changed the default port to 50001 instead of 22. now i tried to login with ssh -p 50001 [email protected] and got this error ...
rita1989's user avatar
2 votes
3 answers
7k views

SSH authenticate with publickey,password or publickey,none

On my SFTP-Server I want to allow only login via public key AND password OR (if and ONLY IF user has no password) by only public key I set the following in the the sshd_config: AuthenticationMethods ...
Jorg busch's user avatar
12 votes
2 answers
5k views

ssh how to allow a very limited user with no home to login with pubkey

I have a very restricted user in my ssh server created with --no-create-home and --shell /bin/false. I know I can define authorized_keys file in sshd_configs for the user's public key. But how can I ...
Mojtaba Rezaeian's user avatar
1 vote
0 answers
852 views

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 ...
Golide's user avatar
  • 143

15 30 50 per page
1
2 3 4 5
20