The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
25 views

OpenSSH server refuses to accept key authentication unless logged into server locally

My server is running Ubuntu-Server and ahs OpenSSH-Server installed on it. I set up the /etc/ssh/sshd_config file to accept and require rsa keys, it looks for keys in the 'AuthorizedKeys ...
1
vote
0answers
23 views

Use RSA keypair for PGP encrypt and decrypt

I use PKI smartcard. I generated public and private key on my smartcard and store keys in it. I want use these keys for PGP encryption and decryption. However, I don't know Can I make this?
0
votes
0answers
14 views

Why doesn't github accept a GnuTLS generated public RSA key?

Using GnuTLS, I generated a private key with: certtool --generate-privkey --rsa --null-password --sec-param=normal --outfile=keys\github.asc Then retrieved the public key: certtool --pubkey-info ...
0
votes
1answer
80 views

How to recover SSH private key pair on OpenStack

I've been using a virtual machine on OpenStack, and I lost my RSA private key. Is there anyway I can get to access this virtual machine? Of course, without using the RSA key. I was thinking about ...
0
votes
0answers
17 views

How to make my ssh client quietly accept both an RSA and an ECDSA entry in known_hosts?

I have a host with both an RSA and an ECDFA host key. I need the RSA key (never mind why) but when I use my command-line SSH client, it gets the ECDSA key by default. I allowed that one to be written ...
0
votes
0answers
20 views

passphrase for rsa key required only in text mode

I have a problem which has been torturing me. As far as I booted Ubuntu to the GUI, it never asked for the passphrase of my RSA key. Lately, I switched to text mode and now, each time, after log in, ...
0
votes
1answer
14 views

ssh possible dns spoofing when logging into multiple machines via single host [duplicate]

I log in to the rhel5 machines at my school from home via ssh and it automatically sends me to the computer with the least load. So ssh -Y itsme@myShcool.edu will send me to either mySchoolA.edu ...
0
votes
0answers
289 views

Decrypting RSA cipher-text from Windows Crypto API With openssl

I have a program that encrypts a small blocks of text with an RSA 2048 public key using the Windows Crypto API CryptEncrypt() function. The public key I'm using is one derived by openssl from a pem ...
1
vote
1answer
562 views

How to configure strongSwan to trust a raw RSA key

I need to use raw RSA keys for IKEv2 authentication (for testing purposes), but am not able to configure strongSwan (5.1.2) to "trust" them for remote authentication. ipsec.conf: conn %default ...
1
vote
1answer
84 views

Always being asked for passphrase

I have set up an RSA keypair using How do I set up SSH so I don't have to type my password? But I keep getting prompted for the passphrase Enter passphrase for key '/var/www/.ssh/id_rsa': ...
0
votes
0answers
17 views

multiple RSA soft tokens on 1 computer

I've never used them before but can you install multiple soft tokens on 1 computer? We're going to need 1 for each VPN
0
votes
1answer
2k views

openssl pkcs12 keeps removing the PEM passphrase from keystore's entry?

OpenSSL 1.0.1e 11 Feb 2013 Generating a self-signed certificate: openssl req -x509 -newkey rsa:1024 -keyout key.pem -out cert.pem -days 365 During the process a PEM passphrase is ...
0
votes
1answer
49 views

apache/Magento user's Linux home directory (for private RSA key)

apache runs Magento on our Linux server, and I'm trying to find out where the home directory for this user would be. I need to place a private key for SFTP access for Magento's extension. There is ...
1
vote
0answers
69 views

Configuring SSH server to require RSA key

I'm trying to configure my SSH server to require users to have an RSA key. To do this I have the settings in sshd_config set to RSAAuthentication yes PubkeyAuthentication yes #AuthorizedKeysFile ...
0
votes
1answer
227 views

What is the RSA SecurID packet format?

I am testing a client application that authenticates using RSA SecurID hardware tokens. The authentication is failing and I am not finding any useful information in the log files. I am using ...
1
vote
1answer
31 views

How do I get the 16-byte representation of my GitHub public key from my .pub file?

In my GitHub settings, it lists my public keys as 16-byte hexadecimal: 01:23:45:67:89:AB:CD:EF:01:23:45:67:89:AB:CD:EF Sadly, GitHub for Windows is buggy and keeps making me new ...
0
votes
2answers
637 views

Parameters to create a self-signed DSA certificate on Ubuntu 12.04?

I would like to create a self-signed DSA certificate on Ubuntu 12.04 for use with a webserver and TLS 1.2 (HTTPS) connection. I found that you can run the following command to create an RSA one: ...
0
votes
1answer
54 views

How can I accept all SSH requests?

I would like to have a VM accept all SSH requests. That is, anyone on the network (namely, the host) can SSH into the shell without password checking, public key, etc. I know this is largely against ...
1
vote
1answer
233 views

Signature Verification using OpenSSL

I have been experimenting with OpenSSL and OpenSSH and I have been unable to sign and verify using RSA key pairs. I did the following Generated key pairs: $ ssh-genkey -b 2048 -t rsa ...
0
votes
1answer
297 views

Can't ssh into my Mac at home, from office

I'm trying to ssh/sftp to my Mac at home, from office. I can ping it fine. I'm pretty sure I set up keys correctly with ssh-keygen Here's what I'm getting (private info masked with •••): ...
0
votes
1answer
152 views

Sharing windows 7 id_rsa and id_dsa key to another OS

On my windows 7 I have both id_dsa and id_rsa keys. I've decided that I want to switch to ubuntu 12.04 LTS to be exact. can I transfer my id_dsa and id_rsa keys and other git configurations to Ubuntu? ...
2
votes
1answer
4k views

Openssl pkcs8 default format gives RSA PRIVATE KEY

I'm running this command on my pc (Openssl version: 1.0.1) : openssl pkcs8 -inform DER -in file.key -passin pass:12345678a -outform PEM -out key.pem and i got this key.pem: -----BEGIN PRIVATE ...
0
votes
1answer
45 views

Why is my email address removed at the end of my matching public key file?

I tried ssh-ing to a server that uses RSA verification. I was already able to ssh to this server months back but I find out that I can't do so today. I investigated the keys in my computer. I emailed ...
0
votes
2answers
144 views

How do you set GPG to use ElGamal and RSA for keys?

How do you set GPG to use ElGamal and RSA for my GPG key? I'd like to do it but for the life of me I can't figure out what options to use.
0
votes
1answer
93 views

ssh: authenticate only with rsa key

I am setting up ssh from OS X to a Ubuntu virtual machine (Virtual Box). I tried to set up key-based authentication, following the instructions here. Now there is a problem. When my VM server is up ...
0
votes
1answer
98 views

I can not match group in ssh using RSA Key with passphrase

I have two accounts on my computer. One account is named bob. The other account is for a user named joe. I am using RSA key with a passphrase. I can connect BUT when I add the lines Match Group joe ...
0
votes
1answer
243 views

Multiple ssh keys on Heroku

I have: Computer A with id_rsa and id_rsa.pub Computer B with different id_rsa and id_rsa.pub (it's not the same as that one from computer A) and id_rsa2 id_rsa2.pub I created an account on heroku, ...
2
votes
1answer
891 views

Github, Puttygen, & Pageant: Permission Denied (publickey)

I'm using msysgit on Windows 7 as well as the PuTTY suite. I opened Puttygen and clicked the "Generate" button. I moved my cursor around to "generate some randomness". After the key was created, I ...
0
votes
2answers
219 views

Run a python script for entering RSA passphrases for Unix systems

I would like to know if is there a way to put a new "Layer" when the SO(preferentially a Ubuntu or a Mac OS X) asks for the passphrase of a rsa key. How it normally does: Use ssh; prompt the window ...
-3
votes
1answer
65 views

Compromised RSA key - unsure of the scope of the issue

So, I have no experience here, but what sorts of problems can be caused by a compromised private RSA key? Is this even that big of a deal? I'm getting very little specific info on Google. :(
22
votes
2answers
13k views

Best encryption and signing algorithm for GnuPG: RSA/RSA or DSA/Elgamal? [closed]

I have found this relatively old question about whether RSA or DSA is the preferred algorithm for signing and encrypting with GnuPG. When using gpg --gen-key, the two relevant choices are either "RSA ...
0
votes
3answers
740 views

SSH RSA key with non root user

I'm trying to secure my VPS, so I'm trying to use RSA authentication, obviously I don't want to be logging in as root, so I disabled PermitRootLogin but I also disabled PasswordAuthentication My ...
8
votes
2answers
2k views

Setting up ssh config file with id_rsa through tunnel

I've been struggling to set up a valid configuration to open a connection with a second machine, passing through another one, and using an id_rsa (which requests me a password) to connect to the third ...
-1
votes
1answer
120 views

automate SFTP process with different ssh version

I am totally new to this. Please bear with me if my question is totally nuts. I am trying to setup rsa keys between two servers. I tried the following steps. ssh-keygen -t rsa copied the id_rsa.pub ...
0
votes
1answer
233 views

How to embed an ASCII logo into an ASCII-armored RSA key?

The cryptoparty site publishes an RSA key with an ASCII art logo embedded in it. Is there a way to put arbitrary characters in an ASCII-armored RSA key? From https://github.com/cryptoparty/handbook ...
5
votes
1answer
3k views

Preventing SSH RSA host key warnings for change of key vs IP address

I have a network with DHCP enabled, and also a computer that dual boots operating systems and has different SSH keys on each (and yes, I would like to keep different keys on each rather than copying ...
1
vote
3answers
818 views

SSH asking for password for one user and not another

I have two users on the same machine and am attempting to set up SSH for user#2. SSH was still asking for a password for the second user so I copied the .rsa file from user#1 to user#2. although they ...
0
votes
2answers
1k views

Mac terminal keeps using SSH key with same fingerprint when running git clone

It doesn't matter what I do, create new SSH keys, add them manually to Heroku, delete all keys from Heroku and add a new one, force delete the entire ~/.ssh folder, overwrite id_rsa keys, create ...
1
vote
0answers
140 views

Ubuntu always asks for RSA certificate passphrase with ftpserver installed

I am trying to learn how to use Linux servers. I have installed Ubuntu Server 12.04. I have apache2, mysql, and proftpd installed. For proftpd I created authentication via TLS. I had to generate a ...
1
vote
2answers
2k views

What is the file format for storing PGP private keys?

I tried to understand it from RFC and from source code (mainly from gnupg and gpgme) and I didn't get the way the data should be stored when someone export secret keys. I know there should be ...
1
vote
2answers
83 views

what constitutes out-of-band access to a server?

The first time I access my server with a new installation of Filezilla or Putty, I will get prompted that I should continue only if the RSA key shown to me is correct. The cloud provider has advice ...
3
votes
1answer
601 views

Windows CryptoAPI store?

I just discovered that windows can store certificates and keys that an application uses in a 'crypto store'. I would like to know how secure the store is? If I select for example high security and ...
2
votes
2answers
12k views

How do I configure SSH on OS X?

I'm trying to SSH from one Mac running OS X 10.6 to another. Seems to work fine via a password, but I can't get it to use a RSA key instead. Where is the ssh configuration file on OS X and what is the ...
4
votes
2answers
174 views

Can I keep my RSA keys when I reinstall Ubuntu?

I want to install Ubuntu 11.10. Is there any way to keep my current RSA keys?
0
votes
1answer
171 views

git client and rsa authentication

I've installed git client on windows 7 on administrator account. On first pull git asked me if i wanted to add host to trusted locations. After that '.ssh' folder was creted in user home. When i ...
1
vote
2answers
3k views

How to get the key ID from a .pem openssl file?

I have a .pem private key generated by openssl. How to extract the key ID from it? Edit: the generated rsa keypair is for Amazon cloudfront. When uploaded on the console, a 'Key ID' is displayed. ...
3
votes
2answers
3k views

Public key in hex format, conversion to base64

Hi I'm new to cryptogragraphy and have no idea how to do this. So i get a public key from a Putty session and it looks like this: ...
0
votes
2answers
665 views

SSH key authorization only works if I'm already logged in

One of my servers is acting very strange. I've just set up private public rsa authorization for logging in to my two servers, using putty on my end. It works fine for one of them, so putty or the keys ...
4
votes
2answers
1k views

SSH Public RSA key fails to authenticated after restore

I just put a new hard drive in my computer and restored my id_rsa key from a backup I had. However, when I try to connect to SSH, OSX is asking for a password. I didn't set a password when I created ...
2
votes
2answers
171 views

Automate Backups over SSH on a Linux Desktop

I currently have a setup which allows me to connect to all computers on my home network via SSH and RSA keys. I'm very security-conscious, so all of my keys are passphrase protected. I'd like to ...