The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
4 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
18 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
12 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
102 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
189 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
34 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
12 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
1k 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
33 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
57 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
199 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
30 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
495 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
52 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
168 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
245 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
115 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
3k 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
42 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
137 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
86 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
90 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
195 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
688 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
191 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. :(
18
votes
2answers
11k 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
590 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
1k 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
117 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
212 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
2k 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
725 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
136 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
81 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
539 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
11k 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
169 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
168 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
2k 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
643 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
170 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 ...
1
vote
2answers
2k views

Which symmetric key algorithm does SSL use?

I understand that thru SSL, the browser gets public key of the secured website and thru public key encryption rsa algorithm, these 2 establish session key and then continue communication thru some ...
0
votes
4answers
5k views

RSA Authentication: Cannot get passwordless login with SSH

I have set up my computer to do the public/private authentication with a remote server, but somehow it is not working today. I have done the ssh key-gen -t rsa, then scp'd it to the remote. I can ...
0
votes
1answer
105 views

ssh rsa key no longer works for one account

I can no longer use public keys on one account I have on a remote system. It worked fine for a while, but it doesn't seem to now(I still have to input my password each time I login). It started one ...
11
votes
3answers
3k views

Do I need to have a passphrase for my SSH RSA key?

Before I started at my current job (at a small business), my office had no firewall on the network and literally nothing was ever being backed up. Now that I've signed on as a dedicated sysadmin / ...