Questions tagged [rsa]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
88 views

SSH access denied for one user

I encounter an error while trying to connect via SSH to a server, for one user. This user's home directory is in /opt, with a .ssh directory (permissions: 700) and an authorized_keys file containing ...
user avatar
2 votes
1 answer
4k views

SSH No Matching Host Key Type Found

I have two servers, S1: My machine, Windows 8, OpenSSH 8.8p1, OpenSSL 1.1.11 2021-08-24, S2: A Remote Server, Linux, Open SSH 5.3p1, OpenSSL 1.0.1e-fips 2013-02-11. The message I have trying to ...
user avatar
2 votes
1 answer
3k views

SSH keys: ed25519 vs RSA performance demystified

It is claimed that ed25519 keys are better than RSA, in terms of security and performance. In terms of security, I understand that 4096 bits RSA keys are practically unbreakable for the foreseable ...
user avatar
  • 253
0 votes
0 answers
326 views

Public key for /etc/ssh/whatever does not match private key - but it does

When I start my ssh service (on a Devuan Chimaera Linux box), I get the warnings: Public key for /etc/ssh/ssh_host_rsa_key does not match private key Public key for /etc/ssh/ssh_host_ecdsa_key does ...
user avatar
  • 1,621
4 votes
1 answer
276 views

How to validate opendkim generated RSA keys

I'm trying to diagnose OpenDKIM validation errors (see this question). Way down in the belly of the beast, I'm at the point where I'm trying to make sure the keys generated are actually correct. I'm ...
user avatar
0 votes
1 answer
854 views

Ubuntu Key Exchange Algo

I am trying to test the connectivity to several network devices, with Ansible installed on Ubuntu 20.04.2 LTS, using ansible ad-hoc. The problem: SSH is not working as the device's key exchange method ...
user avatar
  • 3
0 votes
0 answers
27 views

How to find out the encryption algorithm used in a set of keys

I am running into an issue where I need to find out the encryption strength of a number of keys that I have (lets just say "KEY_0", through "KEY_N"). I am currently on Centos 7. ...
user avatar
  • 101
0 votes
1 answer
101 views

Programmatic way to get host key fingerprint from AWS EC2

Is there a programmatic way to get the host key fingerprint from AWS EC2. I feel like this is so basic someone must have figured it out, but I can't find anything.
user avatar
0 votes
1 answer
215 views

What is the best method for adding RSA Key Fingerprints to known_hosts upon provisioning each server?

This question was inspired by this thread The hypothetical scenario, for context is as follows: SSH servers, whether they be routers, firewalls etc. are all firstly provisioned within a private + ...
user avatar
1 vote
0 answers
423 views

Why PuTTY doesn't accept SSH key exchange RSA algorithm

Summary: I am trying to set SSH key exchange algorithm to RSA with no luck. The session is between my Windows machine with PuTTY as client to a Linux machine in Amazon EC2. Description: I configured ...
user avatar
  • 111
1 vote
0 answers
171 views

ssh with public key at Synology - not working

I guess I have done everything right. Public/private keys, files permissions, etc. There are 3 machines: ubuntu old_synology new_synology I start from ubuntu, ssh to old_synology without a password. ...
user avatar
  • 123
2 votes
4 answers
2k views

Windows SSH into CentOS using Private Key - Not working

I'm on Windows 10. Need to ssh into a Linux CentOS server. Trying both Putty and Windows SSH (turned on in Features.. Powershell?). Using PuttyGen, I generated a private & public RSA key pair - ...
user avatar
  • 191
1 vote
2 answers
54 views

I have an issue with configuring openvpn server and running it

Server Log Options error: Unrecognized option or missing or extra parameter(s) in server.ovpn:4: cert (2.4.9) Use --help for more information. server configuration server 192.168.1.0 255.255.255.0 ...
user avatar
0 votes
0 answers
151 views

Issues with seamless ssh connect via public key

I am trying to set up a seamless ssh connection from one server to another for the first time. While I think I managed to create a user and fitting rsa keys just fine, I can't actually connect via ssh,...
user avatar
  • 101
0 votes
1 answer
100 views

I recovered my RSA key, but I'm locked out of my webserver

So when I built my unmanaged webserver for my portfolio site jasonwarner.dev I had initially locked it down by disabling any login and the root account, completely because I was getting notifications ...
user avatar
0 votes
1 answer
514 views

How to install custom SSL (HTTPS) certificate in RSA NetWitness web UI (11.3.1.1)

RSA NetWitness's web user interface (11.3.1.1) comes with self-signed cert that isn't trusted in my enterprise. How can I install a custom SSL certificate on the web user interface so that users aren'...
user avatar
  • 129
0 votes
1 answer
82 views

Passwordless sshing troubles

I've tried setting up passwordless sshing for a MPI cluster im working on. Im generating the RSA key on the master node and sending the public key to my client node. It sends but refuses to connect ...
user avatar
1 vote
1 answer
2k views

Host ssh-rsa key is refused by WinSCP when connecting on scheduled task, but not when launched manually

As part of a scheduled task that runs on a Windows Server 2012 machine, I use WinSCP to connect via sFTP using credentials and ssh-rsa key. When the scheduled task runs, the connection fails with the ...
user avatar
  • 23
1 vote
1 answer
2k views

500 OOPS: SSL: cannot load RSA private key

I am trying to debug a FTP server. I am currently getting $ sudo /usr/sbin/vsftpd 500 OOPS: SSL: cannot load RSA private key FTP connections are being refused. This is that status of from systemctl: ...
user avatar
0 votes
2 answers
308 views

OpenVPN,EasyRSA :system was unable to find the specified registry key or value

I've installed (as Admin) latest version of OpenVPN (2.4.7-I603) on Windows 2012 x64. I've checked on installer EasyRSA 2. Then trying to generate the certificate go in path ..\program files\OpenVPN\...
user avatar
  • 123
4 votes
1 answer
10k views

Convert rsa to ppk file in MAC

I want to convert the id_rsa file to ppk file. I found there are many websites teaching "how to convert ppk to rsa in MAC" but not vice versa. Is there a way to convert rsa private key to ppk for ...
user avatar
  • 180
3 votes
3 answers
9k views

openvpn client certificate error with "unsupported purpose"

I was following this wiki instruction to generate OpenVPN client certificate. This involves: easyrsa gen-req client1 nopass I tried to use this client1 certificate in my OpenVPN setup. The server ...
user avatar
0 votes
1 answer
195 views

How to disable certain user rsa certificate?

Suppose we create certificates for openvpn using easy-rsa. And we have two clients - client1 and client2 with their certificates etc. Suppose that some time later we need to disable client2 ...
user avatar
  • 75
1 vote
1 answer
2k views

How to make sure TLS is using AES 256

I am trying to establish a secure TLS connection between my system and a third party API. Third party mandates that I have to use AES 256 for all communication, Now I have installed a X509 ...
user avatar
  • 113
1 vote
1 answer
72 views

How to test Remote host Identification for changes without ssh

I have a script which runs and makes the assumption that the remote host key is in known_hosts when running some commands which use SSH. I would like to know if there is some command that can be ran ...
user avatar
  • 13
0 votes
0 answers
28 views

Multi-Factor Authentication varieties and is there a universal bridge for them

I am trying to research a project on how to connect to multiple enterprise environments that employ multi-factor authentication using a singular approach. My question is, are there any systems out ...
user avatar
  • 101
3 votes
3 answers
3k views

Server still prompts for password after SSH configuration, Ubuntu 17.10 x64

EDIT: After consulting verbose logs as was suggested, I found the error myself. Answer is at the bottom. I have a DigitalOcean droplet I want to use as a development environment. I've created a non-...
user avatar
1 vote
0 answers
222 views

Direct Access and RSA Authentication

We're having ongoing issues trying to setup DirectAccess with RSA SecureID OTP. On it's own DirectAccess is working great, however after I configure the OTP authentication I can't get my client to ...
user avatar
1 vote
1 answer
664 views

Setup rsa-keygen when using ssh for a different user

I have server 1 running aix configured at 192.168.0.1 and and another Linux server configured at 192.168.0.2. I am currently using expect to login as root@192.168.0.2. The problem is that the ...
user avatar
-1 votes
1 answer
62 views

Add RSA login access to a new linux user [closed]

I have automatically created rsa connection for user "root" via hosting installation script. I just added two new users and my question is how to configure them in SSH to login with their rsa keys? ...
user avatar
  • 21
0 votes
1 answer
1k views

Why is the same private key file generating two different public key strings?

I have an ssh key pair that was generated to use as an access key for my GoCD CI/CD server. It was working but due to some configuration changes I made (moved the server out of container to a Linux ...
user avatar
0 votes
2 answers
384 views

copy ssh key from windows to synology disk

I'm trying to set up a git server on my synology following this tutorial. The step I'm stuck at is this: copy public rsa key from local computer to gituser account on server I use following command: ...
user avatar
  • 101
1 vote
2 answers
6k views

SSH looking for id_rsa-cert get key_load_public error

1) My ~/.ssh folder has the permission: drwx------. 2 user user 4.0K Aug 19 15:39 .ssh 2) I run ssh-keygen -t rsa and get the defaults files id_rsa and id_rsa.pub. 3) I copy/paste my id_rsa.pub key ...
user avatar
  • 113
2 votes
1 answer
5k views

Where is cli.ini letsencrypt config file?

Where is the cli.ini file for default letsencrypt package? From Let's Encrypt docs, it's possible to set default rsa key length in a cli.ini file, however, I cannot find this file. I want to make ...
user avatar
  • 73
104 votes
31 answers
367k views

SSH Suddenly returning Invalid format

So a while ago I set up a server on AWS, and used their generated SSH key. I saved the key to Lastpass, and have successfully retrieved it from there before, and got it working. However, after trying ...
user avatar
  • 1,143
0 votes
1 answer
143 views

SSL S2S communication, protocol and ciphers

about a server/server S2S communication: 1st server has on Apache .conf: SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1 SSLCipherSuite ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-...
user avatar
0 votes
1 answer
866 views

Puppet use master's ssh key for git clone?

I'm using the vcsrepo puppet module to sync git repositories. # install git repo vcsrepo { "/home/repo": ensure => present, provider => git, source => "git@bitbucket.org:...
user avatar
0 votes
1 answer
30 views

which public rsa keybelongs to which secret?

Is there a way to find out which public rsa key belongs to which secret key? I have two pairs lying around, and would like to know ehich one is which.
user avatar
  • 157
1 vote
1 answer
294 views

SELinux - Script uploaded SSH keys to remote server but cannot connect via SSH

I wrote this script which now works perfectly on systems without SElinux installed. echo Enter server IP: read server scp /home/Zenoss/.ssh/authorized_keys random@$server:/home/random sshpass -p ...
user avatar
  • 99
0 votes
1 answer
862 views

How to verify RSA fingerprint for Linux AWS instance from Windows

The instructions for connecting to AWS Linux AMI states that when using putty, you should locate the SSH HOST KEY FINGERPRINTS section and note the RSA fingerprint. I am running the "aws ec2 get-...
user avatar
0 votes
2 answers
283 views

How to do SSH with -i option and bypassing password entry

Using ssh, I want to access Machine1 --> Machine2 Let's say Machine2 has IP address: 133.165.14.22. I have copied id_rsa.pub from Machine1 to Machine2 Then in Machine2 I have already did this: ...
user avatar
5 votes
2 answers
19k views

Unable to login(ssh) with public private key pair

I am unable to login with public private key pairs. I do have access with a password. Following are the logs on server side and on the client side. Why am I unable to login? type=CRYPTO_KEY_USER msg=...
user avatar
  • 247
3 votes
3 answers
3k views

How can I ssh to server with rsa-key with specific username? [closed]

I want to ssh from my home computer (user: antonio@antonio-home) to serveruser@serverhost with rsa-key. I generated rsa-key with ssh-keygen -t rsa and uploaded to server, but it is still asking me ...
user avatar
  • 169
2 votes
3 answers
4k views

IIS not sending intermediate SSL certificate

I installed a Comodo Certificate on Windows Server 2012 / IIS 8.5. For most clients this certificate works without a hitch, but older Android units running Chrome and also Chrome on MacOS Sierra ...
user avatar
0 votes
1 answer
546 views

JWT Signer Rsa.php - uncaught exception - invalid Argument exception

trying to install a nexmo voice api I'm getting an error that I can't solve alone (having limited knowledge about servers, etc.) php /srv/www/...html/func/services/neo/voice_api_first_tts_call.php ...
user avatar
0 votes
0 answers
40 views

Some Windows servers do not seem to have RSA certificates. What is wrong?

Some Windows Server 2012 machines have certificates. Some do not. I am running this command: Get-ChildItem -Path Cert:\CurrenterUser\My | Where-Object { $_.PrivateKey -is [System.Security....
user avatar
  • 67
0 votes
1 answer
9k views

SFTP key issue? java.security.InvalidAlgorithmParameterException

I'm attempting to use my applications SFTP client test connection to connect to the MF but I'm getting the error: Test of SFTP user alias GLDFundingEngine_User failed. Details: Session.connect: ...
user avatar
  • 185
1 vote
4 answers
8k views

Passwordless root SSH on CentOS 6 with public key

I am trying to create a "passwordless" setup so that the remote server is more secure without password + I can automate the login process. I have created a new ssh key with ssh-keygen, and copied the ...
user avatar
  • 121
5 votes
1 answer
22k views

How to export private key? (GnuPG) [closed]

I have successfully created GnuPG public/private key pair using RSA and RSA algorithm. How can I export a public key and private key in the form of file with the .asc extension?
user avatar
  • 181
0 votes
1 answer
1k views

Access with ssh only password without publickey with virtualbox

I tried to setup the ssh-server without publickey , with openssh-server 6.7p1-5 changed sshd_config RSAAuthentication no PubkeyAuthentication no PasswordAuthentication yes Restart ssh service from ...
user avatar
  • 111