Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rsa]

The tag has no usage guidance.

0
votes
1answer
29 views

SSH doesn't prompt for host authenticity, when connecting through jump-host first time

There is a jump host, called via ProxyCommand, to access some servers. In the .ssh/config file there is a Host definition for each server and the command for the jumphost (with %r and %h coming from ...
0
votes
2answers
29 views

Is SSH setup specific to user-id?

If I create a SSH key setup for a abc user, abc can login to a remote server without prompting password. With the same abc SSH setup, can an other user def can also SSH to remote server without ...
0
votes
0answers
16 views

Openssh 7_9: key exchange failed, expected SSH_MSG_KEX_GEX_GROUP

I'm trying to connect from SmartCVS via ssh to a Fedora 29 system but connection fails with an error message "key exchange failed, expected SSH_MSG_KEX_GEX_GROUP". Since SmartCVS is somewhat ...
0
votes
1answer
126 views

Permission denied when connecting via ssh (ipv6)

I use a key to authenticate. When I connect using ipv4 it's working. Using ipv6 I can not login (using password or not). Do I need a seperate rsa-key to manage ipv6 ssh's?
0
votes
1answer
79 views

Hostname in id_rsa.pub file [duplicate]

I've generated an ssh key pair with ssh-keygen. The id_rsa.pub file looks like this: ssh-rsa someLettersAndNumbersABC123 username@host The host part is what bothers me. Currently it comes from the ...
2
votes
0answers
201 views

Convert RSA Private CRT Key to key file

Using the command openssl rsa -in Alice.key -text -inform PEM -noout, it is possible to view a RSA private key's data. My question is that if I have a list of all of the properties (modulus, public ...
0
votes
1answer
71 views

Will stealing private key allow hacker to login to server?

I am trying to understand how rsa public private key pairs work. Lets say there are two servers: Q and A. In order for Q to ssh into A, key pairs are generated without passphrase in Q and public key ...
0
votes
0answers
35 views

How to generate SSH keys for gitlab.com hosted project?

I have a project hosted as private repository on gitlab.com. I want to use gitlab ci/cd to automatically deploy my project to remote server QA_SERVER when code is pushed to master branch. Below is the ...
0
votes
1answer
28 views

How to use public private keys in connecting with multiple servers?

Assume I have 4 servers A, B, C and Z and my desktop is MacBox and there is another developer Adam. I have already generated public private key pairs in my MacBox and copied public key to A so that ...
0
votes
1answer
36 views

Permission denied (publickey)

This has dogged me for years. Two IDENTICAL servers. Logged in to both as 'bob'. Try to ssh from bob@server1 to bob@server2. Permission denied (publickey). On BOTH servers: rm -r ~/.ssh On ...
0
votes
1answer
1k views

Command line not letting me type password in PuTTY

A picture of the screen that I am stuck at: Operating System: Windows 7 Port: 27880 I have been setting up SSH in PuTTY to make my wiki family work, and I have experienced some problems typing the ...
0
votes
1answer
217 views

When trying to convert an SSH file, I got this error: Couldn't load private key (SSH-2 public key (OpenSSH format))

I have downloaded an SSH RSA key .pub file, and I have attempted it to convert it in the PuTTY Key Generator. However, I have had problems with converting it due to an error loading the key. The error ...
0
votes
1answer
29 views

How to connect multiple Virtual machines to SFTP using Key based authentication towards a remote machine

I have set of Virtual Machines (VMWare) and I want to connect to remote SFTP server using public-private key based authentication. Initial transfer of public keys from each of the VMs to remote SFTP ...
1
vote
0answers
97 views

how to manually verify PDF signature (contents field: rsaEncryption) [closed]

I would like to manually validate RSA signed PDF document but I'm failing receiving different signature than then one encoded inside PDF. Here are the steps I followed, any help/hints really ...
0
votes
0answers
24 views

Decrypt SSL traffic with the openssl command line tool 9

After it was pointed out the client was requesting the extended master secret and I was responding with that as well I was deciphering the master secret as if we where not using the extended master ...
0
votes
0answers
49 views

Decrypt SSL traffic with the openssl command line tool 8

For my final steps in my script I followed this to obtain the client encryption key to perform the decryption with. client.random xxd -p crnd.bin ...
0
votes
0answers
35 views

Decrypt SSL traffic with the openssl command line tool 7

Generating the master secret/key I followed the steps outlined in my shell script. I validated that I am passing data correctly to it by manually entering these steps several times (entering $key ...
0
votes
0answers
80 views

Decrypt SSL traffic with the openssl command line tool 6

For the first part in decrypting the server pre master secret I have been using: openssl rsautl -in cpre.key -inkey key.pem -decrypt -out spre.key where cpre.key is in binary when fed to this and ...
1
vote
1answer
158 views

Decrypt SSL traffic with the openssl command line tool - continued part 5

From my previous posts part 1, part 2, part 3 and part 4 I believe I have calculated/decrypted everything correctly and ready to attempt to decrypt the client encrypted handshake message. I'm stuck on ...
0
votes
0answers
127 views

Decrypt SSL traffic with the openssl command line tool - continued part 4

From my previous question(s)/thread starting part 1, part 2 and part 3 I think I may be getting somewhere with the advice/assistance I have been getting. My data is a little different this morning as ...
0
votes
1answer
116 views

Decrypt SSL traffic with the openssl command line tool - continued part 3

From my previous questions/thread starting part 1 and follow up part 2 following my guided explanation since my files/data I am capturing is binary in nature I used the following openssl commands ...
1
vote
1answer
127 views

Decrypt SSL traffic with the openssl command line tool - continued

I got an answer to my original question here hopefully it is ok to ask a follow up question by posting another question. From my original question above I was able to decrypt the client pre master ...
2
votes
2answers
246 views

Decrypt SSL traffic with the openssl command line tool

I'm trying to do some manual data extraction/encryption/decryption with the openssl command line tool. I've been reviewing RFC5246 to work out what I need to do. It is not crystal clear to me if I am ...
0
votes
2answers
83 views

Extract public key from host for a Windows

I have username/password to a host and I have successfully logged-in with Putty tool. There are no certificates for the host. How can I exctract the public key for a Windows to use it into known-hosts?...
0
votes
2answers
65 views

Migrating ssh keys to new user for same host access?

I found quite a few posts about migrating ssh keys to a new host, but couldn't find much about migrating from one user to another on the same host... We are migrating a NAS share to a new platform, ...
0
votes
1answer
479 views

MacOS Keychain Access holds on to SSH passphrase indefinitely

For the sake of convenience, I would like MacOS to hold on to my RSA passphrase, but not indefinitely (for the sake of security). I believe SSH will use Keychain Access with this SSH configuration ...
1
vote
0answers
538 views

Incorrect RSA1 identifier , Could not load “/root/.ssh/id_rsa” as a RSA1 public key : SSH denied

I am able to ping the server in question (172.16.110.138) but can't connect via SSH Observed error: [root@localhost ~]# ssh -vvv 172.16.110.138 OpenSSH_6.4, OpenSSL 1.0.1e-fips 11 Feb 2013 debug1: ...
0
votes
0answers
65 views

How to manually export iisWasKey?

I know how to export RSA Key from windows. The command below can do it: aspnet_regiis -px "iisWasKey" "D:\iisWasKey.xml" But I need a manual way to export RSA Key and import it to a new server. My ...
0
votes
0answers
54 views

AnyConnect to OpenConnect

I'm using Cisco AnyConnect on Windows with a RSA softToken for a VPN connection to my office, and I can connect just fine. I have root access to the Windows box, and can run Wireshark or any other ...
0
votes
0answers
32 views

Is it safe to store the encrypted private key of a RSA pair on the same machine as the encrypted data?

I was not sure how to google this. I want to set up a storage server where I encrypt everything that is sent to it, from anywhere. The files sent to it would automatically get encrypted by the public ...
0
votes
0answers
66 views

ubuntu/centOS7 error while copying public ssh key to git server

I created a git server based on Cent OS 7. I am now trying to copy the linux client (ubuntu) public key to it via ssh using this command: ssh-copy-id git@172.28.10.25 But what i get after inserting ...
1
vote
0answers
97 views

KGpg only creates DSA/ElGamal key pairs

KGpg running in openSUSE Leap 42.3 (Plasma 5.8.7) does not generate RSA keys in any way nor allows to select the pair capabilities. In the "Key Generation" window the "Algorithm" combo box is empty (...
1
vote
1answer
5k views

OpenSSL Convert PEM to PFX using RSA PRIVATE Key

I am attempting to use OpenSSL to Convert a PEM File and RSA Private Key to a PFX file. Here is the example command I attempted to use: openssl pkcs12 -export -out cert.pfx -inkey key.pem -in cert....
0
votes
0answers
67 views

How do I extract a certificate out of .pfx format?

Since I have successfully extracted a public key in .pem format using the command "openssl pkcs12 -in site.test.pfx -clcerts -nokeys -out site.test.cert.public.pem" without quotes. So conceptually ....
0
votes
0answers
19 views

What is the purpose and roles of each files made with with the EasyRSA? (used for OpenVPN)

I'm setting up an OpenVPN server on my computer. Many of the tutorials dedicate a significant portion of the article for RSA key creation, but none of them really explains what each of the files are ...
-3
votes
1answer
60 views

Exploiting RSA to access remote computer

as part of an exercise I am supposed to exploit RSA in a way so that I can connect to a remote machine without knowing the password. To accomplish this I have been given a bunch of private and public ...
0
votes
1answer
4k views

What does openssl rsa -passin pass:xxx without other important commands do?

It is not clear to me what the second command does openssl genrsa -des3 -passout pass:123 -out private/server.key 2048 openssl rsa -passin pass:123 -in private/server.key -out private/server.key The ...
0
votes
1answer
1k views

Cannot ssh into server: Permission Denied (Public Key)

I created a new user on my server, and generated a public (id_rsa.pub) and private key (id_rsa), which I copied to my laptop's .ssh directory. I then created a config file like so: Host xxx.xxx.xxx ...
1
vote
2answers
144 views

Why do I still get prompted for a password when setting up SSH keys on a server?

We have two CentOS 6.9 servers. One we’ll call the “INHOUSE” and one we‘ll call “BACKUP.” We are trying to setup a script that uses an RSA connection where we can SSH from the “INHOUSE” server to the ...
0
votes
1answer
419 views

How to specify bit/key size with gpg -c?

Hey guys I'm trying to specify the RSA key size when using -c with gpg or gpg2. Example: > gpg -c --armor --passphrase <password> --keysize 4096 file.txt Is this possible? I couldn't find ...
1
vote
1answer
90 views

How do I obtain non-encrypted private key data (p,q,u,d) of RSA in GnuPG?

I didn't find anyway to see and save primers p and q (non-encrypted)in GnuPG. I decided to change the source code of GnuPG (rsa.c) to give me p and q. But it wasn't logical. However, I think there is ...
0
votes
1answer
88 views

Can't export or list keys

I'm using my desktop to obtain files from a server (using git and rsync), now I want to use my notebook and try therefore to export/import the required RSA-keys. Automatic login from the notebook to ...
0
votes
1answer
124 views

gpg subkeys with different keylength

I have a GPG key with a keylength of DSA/1024. I can create new subkeys with a larger keysize, for example RSA/2048. According to Jens Erat this is an approach others currently do in practice. Is ...
0
votes
0answers
28 views

RSA encryption calls hang on windows Virtual Machines

We moved to BouncyCastle FIPS version 1.0.1 and since then RSAKeyHelper hangs for extended periods of time in Windows VMs (stack below). We had a similar issue in Linux that was solved by increasing ...
0
votes
0answers
1k views

Getting error: ssh_exchange_identification: read: Connection reset by peer in Ubuntu in Amazon AWS

I am using Ubuntu and developing website using cakephp3, and hosting it in an Amazon AWS instance. Earlier all was working fine, but now when connecting AWS through terminal it gives this error: ...
1
vote
1answer
1k views

Generate .pem RSA public key file using base 10 modulus and exponent?

My question is as simple as the title: given the modulus and exponent in base 10 of a public RSA key, how can I generate a .pem file? (I'm using Unix). Thanks. My apologizes if this is the wrong ...
1
vote
1answer
146 views

How does the whatsapp chat history recovery work together with their encryption mechanism? [closed]

As whatsapp states: every time user installs or updates the app, the new key pair would be generated on user's device. So I assume that, the chat history on icloud which was encrypted by the old ...
1
vote
1answer
638 views

Installing SSH private key on FreeNAS for outgoing SSH/rsync

I am attempting to establish an outgoing SSH session from my FreeNAS to my web server. My hosting service requires RSA keys for SSH access. I have generated keys with ssh-keygen -t rsa, and have ...
0
votes
0answers
78 views

passwordless ssh login but su password does not work

I can use RSA keys to putty into my centos VPS with no problem. But it has been a long time since I used that system. So putty-ed in with the intention of updating it, and when I tried 'su' my ...
0
votes
1answer
5k views

Missing begin marker error with public key ssh login

I have two Redhat 7.3 machines. I want password-less ssh access to the machine2 from machine1. Here is what I have done. On machine1, I sudo (sudo su -) as a root and generated the rsa public and ...