The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
3 views

Unable to use “transient-key” when generating a batch GPG key

I'm generating a few test keys, but I can't seem to use the %no-protection and %transient-key flags. I get the following message: $ cat dwight | gpg --homedir "dwight-keys" --gen-key --batch gpg: ...
0
votes
0answers
15 views

PGP Public Key expiration GPG

I'm in the process of importing a public key from a business partner. We have always use GPG and never had a problem. I’m importing this key using: gpg --import "FileName.asc" gpg: key AC260214: ...
0
votes
1answer
15 views

How to update PGP public key after new uid is added?

I have a PGP keypair to which I just added a new uid. Is the previously exported public key and private key still valid? If I export a new public key with armor, it does look different and longer ...
0
votes
1answer
19 views

ssh get old public key from backed up private key

I backed up and encrypted my private key but nothing else. I am trying to get my public key out of it but don't know how. I am trying ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub but it says ...
2
votes
0answers
51 views

Strange behavior on SSH public key login

I'm really stuck here. I've been trying to ssh into my ec2 server from local with a public key but it is not working. -> I get permission Denied (public key). The set up is as follows: Local: ...
0
votes
0answers
14 views

Supply ssh key without querying agent

In my ssh_config, I set IdentityFile and IdentitiesOnly yes and ForwardAgent no. ssh uses this key but it still queries the agent! But it shouldn't do that; I explicitely supply the key I want. The ...
1
vote
0answers
60 views

Open SSH - issue logging in without password - public key

I'm having an issue where I'm unable to login by SSH - I've followed other guides and made sure permissions were set correctly, and that the publickeys on my local machine and remote machine match as ...
0
votes
1answer
150 views

How to ASCII-armor my public key without installing GPG?

I would like to upload my public key to a key server, but I already have my key infrastructure in place without GPG and I don't want to install extra software I don't need. Is there an easy way to ...
1
vote
1answer
37 views

SSL failure fallback

I've successfully configured my Apache webserver to make use of public certificates as an authentication method, using following configuration: SSLVerifyClient require SSLVerifyDepth 1 ...
0
votes
2answers
1k views

Login with SSH public key doesn't work

So I have my home computer, and my server. I'm trying to login to my server with my private key. On my server say I have the user serveruser, to which I login from my home computer using ssh -Y ...
4
votes
1answer
676 views

Can't import public key into OSX Keychain

I created a couple of self-signed S/MIME certificates (using OSX Keychain & OpenSSL) and then exported these into 3 files: Certificate (.cer) Private Key (.p12) Public Key (.pem) When ...
0
votes
2answers
843 views

How to Debug Public Key SSH Authentication Failure

I'm trying to setup password-less SSH login, and I can't seem to make it work. Here is what I have done so far: Used ssh-keygen -t rsa to generate a pair of keys Created ~/.ssh/authorized_keys on ...
6
votes
2answers
194 views

Human-readable dump of gpg public key

Is there some tool to write out the actual content of a GnuPG public key in a way a human can unserstand? I mean not only ascii-armor which a human can read and type, but something which really breaks ...
0
votes
0answers
118 views

SSH: Too many authentication failures for <remote_user>

When I do... $ ssh <remote_user>@<ip_address> ...I (since recently) get... Received disconnect from <ip_address>: 2: Too many authentication failures for <remote_user> ...
0
votes
1answer
54 views

Can port number get masked like IP?

I have one IP address which looks like this 10.0.0.1:9095 and as far as I know HTTP can only use port 80. How is this masked URL working?
0
votes
2answers
73 views

SSH ignores -i switch

When I try to connect to my hosting company through SSH, using a non-default identity file, it successfully connects, but uses the default key. Here is the command I use: ssh -vvv -i ~/.ssh/backup ...
2
votes
2answers
100 views

SSH auth by public key not working for one user on a system

I can't setup public key authentication for one particular user on a system. I checked user home and .ssh directories permissions, and it's good (drwx------. both, the same as for other users that can ...
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 ...
3
votes
3answers
5k views

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 command returns error

I'm trying to install Mongodb on Ubuntu 12 but when I run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 This returned the error below: keyserver.ubuntu.com host ...
1
vote
2answers
226 views

Copying files over ssh without password

My supervisor has given me remote access to his computer by logging in through ssh on my local computer. Although I am connected (and can view any files I wish through vi, emacs), how can I copy ...
0
votes
1answer
168 views

Restoring OpenPGP Keys from an Ubuntu Backup

My computer with Ubuntu broke and have a backup from that (Déjá Dup). Now i want to restore my public and private keys to a Thunderbird installation in Windows 8. There's this .ssh folder inside the ...
3
votes
2answers
929 views

SSH: known host with dynamic address

I need to connect to a host with a dynamic IP address. Every time its IP changes, SSH prompts me the fingerprint validation thing: The authenticity of host '...' can't be established. RSA key ...
2
votes
1answer
609 views

Setting up sshd_config in cygwin for AES encrypted file transfer

I'm a bit newer to cygwin and sshd, and I want to configure sshd to allow encrypted SFTP file transferring. From what I understand, I need to find some sort of sshd_config example (which for some ...
6
votes
4answers
3k views

Secure remote editing of root-accessible files over SSH

As per security best practices one should not allow root login over SSH with password or keys. Instead, sudo should be used. However, if one wants to use SSH (SFTP) for remote editing of server ...
1
vote
1answer
76 views

Transfer files using authentication

I have the public key with me(the pub file), for using sftp with public key authentication mode. How do i use sftp command for testing transfer file from my machine to the sftp server. For username ...
1
vote
0answers
319 views

How can I export public key in PEM format with GnuPG?

I'm writing SW that uses opessl library for verifying DSA signatures. I have public keys from senders in gpg format. How can I convert those into .pem so that openssl can read them? I found this from ...
1
vote
1answer
486 views

Create Public Key from Private (ECDSA Encryption)

I tried Crypto but they said a different exchange would be more suitable. I'm interested in how bitcoin addresses are created so I read through the technical details here - ...
0
votes
1answer
197 views

Putty Pageant - key authentification works without running agent

Hello I am using Putty Pageant for using key authentification to remote server. On remote server to which I am connecting I have public key stored in authorized_keys file. Permissions and content of ...
1
vote
2answers
293 views

ssh can't use key, but password works

I have an Ubuntu server running for my SCM, and am doing my development on a windows computer. This setup has worked for a long time with out any problems. But now I get a strange problem. The ...
0
votes
3answers
156 views

How is public key authentication secure? [closed]

Many articles suggest that using public key authentication is more secure than using a password. References: ...
1
vote
1answer
842 views

WinSCP does not recognise key file

I am trying to set up a batch file for an automated transaction, however my tests have so far failed. I have the public key of the server where the connection is made. It has been saved as a .pkk ...
1
vote
0answers
221 views

Windows PowerShell doesn’t use my SSH keys

I have a Git repository hosted on Bitbucket. I can connect to this using Git Bash terminal, which uses my public key defined in my H: drive (network drive), but if I try the same from Windows ...
1
vote
1answer
88 views

Blocked out of server because I don't have access to usual ssh public key, any solution?

I momentarily don't have access to my usual computer and would like to work on my personal dev server (Raspberry Pi) as usual using ssh. My problem is I secured it so you can only log in it with my ...
1
vote
2answers
4k views

What is the difference between the .pem and .pub and non suffixed ssh credentials files?

Running "ssh-keygen -t dsa" generates two files, a private and public key. Its simple enough to comprehend that the private key is used to identify yourself to the outside world, which only sees your ...
7
votes
2answers
658 views

Isn't it dangerous to use SSH keys to login to an unknown/compromised server?

Say I provide someone with my public SSH key, the id_rsa.pub and he/she installs it on a server that is compromised, and I am asked to login. Does the login process involve sending my private key to ...
1
vote
1answer
153 views

Fetch GPG public keys for thunderbird address book contacts

I just started using GPG in Thunderbird 17 (via enigmail). Now I want to fill my private key database with all the keys of other people that use mail encryption as well. One way, other than asking ...
9
votes
3answers
11k views

public key always asking for password and keyphrase

I am trying to SSH from a NAS to a webserver using a public key. NAS user is 'root' and webserver user is 'backup' I have all permissions set correctly and when I debug the SSH connection I get: ...
1
vote
0answers
305 views

Windows Script for connecting to remote SFTP server with public key authentication

I am trying to connect to a SFTP server for a client of ours and send files in an automated process using MS Windows. The details I have received from the client do not include the password. I instead ...
0
votes
1answer
124 views

Public-Private key pair ssh authorization for another login

Currently to connect to my server via ssh I am using ssh domain.com -l root I am authenticated with public-private key pair. My Mac username is different from root, so I need to provide -l key. ...
2
votes
3answers
1k views

Does the use of Tor makes additional encryption unnecessary?

I know Tor uses encryption to guarantee anonymity, but I if wish to guarantee the privacy of my conversations should I use an additional layer of encryption? Can my home router or ISP intercept Tor ...
3
votes
1answer
2k views

How can I export public keys in PEM format with GnuPG?

I know that gpg --export -o pub.key -a "Username" exports a users' public key, but it doesn't seem to write a standard PEM format block. Is there any way to export keys from gpg in PEM format?
5
votes
1answer
1k views

How safe is it to make my SSH Public key, very public?

Is it a security risk to allow anyone to see your SSH public key? My public key(s) are on all the machines I login to regularly, and I've also given other sysadmins my .pub file so they allow me ...
1
vote
2answers
203 views

SSH and Public Keys

I have created keys for git following instructions on http://help.github.com/linux-set-up-git/ This works nice, but when I try to ssh to another host, it tries to use same public key. Also, ssh to ...
0
votes
2answers
396 views

How to create additional gpg keyring

I have public and private keyring files in my .gnupg directory (pubring.gpg and secring.gpg). I want to create a new keyring trustedkeys.gpg, also in .gnupg, to which I can add other people's public ...
1
vote
1answer
6k views

Can SSH into remote server but can't SCP?

I can SSH into remote server just fine using private key authentication with prompt for passphrase. However I'm getting permission denied when I try to SCP a file using the same passphrase. Here's my ...
3
votes
3answers
11k views

SSH publickey autentication - server accepts key but auth does not succeed

I'm helping a friend who has some trouble connecting using public-key authentication, to a server maintainied by me. Public-key auth works fine for a couple of other users. Of course, my friend's ...
4
votes
1answer
4k views

How to setup ssh, key-based (“password-less”) logins to a Linux/MacOSX sshd server via Windows, Linux, or MacOSX clients?

How does one setup ssh, key-based ("password-less") client logins to a Linux/MacOSX sshd server via Windows, Linux, or MacOSX clients? [Seeking both basic, conceptual understanding of key-based, ...
21
votes
3answers
8k views

Are GPG and SSH keys interchangable?

I want to generate an RSA key in GPG and use it in SSH login. Is this even possible? If so, how?
4
votes
1answer
832 views

Public key repository - does this exist?

This is one of those "Surely this already exists, and if not, I damn well better build it!" moments. Here's my problem: I run a devteam, of around 10 individuals. Each of us has our own private ...
1
vote
0answers
228 views

Incessant prompting for id_rsa passphrase

Running on Mac OS X and I switched to zsh a couple months ago & started using git quite heavily. At each initial login now I'm getting a prompt for my .ssh/id_rsa passphrase: starting... Enter ...