The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
11 views

Receiving a key from a keyserver in gnupg

How does one receive a key from a keyserver in gnupg? I have tried typing $ gnupg rec-keys "the key" Error given was, usage: gpg [options] [filename] I have also entered just rec-keys "the key" Error ...
0
votes
1answer
313 views

There is no public key available for the following key IDs: 7638D0442B90D010

I try to add the debian sid source on ubuntu 12.04 LTS. I have already installed debian-keyring debian-archive-keyring. $ apt-cache search keyring | grep debian debian-archive-keyring - GnuPG archive ...
0
votes
0answers
29 views

Best practise using ssh: Multiple Public Keys or sharing a private key (solved) [duplicate]

I just thought I get your opinion on the security aspect of it. I want to access different server via ssh. Nothing really important, just a hobby, but I do have multiple computers. Now, about the ssh ...
1
vote
2answers
163 views

Permission denied (publickey,password)

I am trying to connect to local ip via SSH from terminal. Command is ssh -v user@192.168.0.2 But it is not connecting. Keeps giving me the error "Permission denied (publickey,password)." I have ...
1
vote
1answer
179 views

FileZilla public key not working (Successfully loaded 0 key pairs from file)

I currently have troubles logging in with a public key using FileZilla. Neither the root user, not an other user accept the key. Now the strange thing is when using putty it is working without any ...
0
votes
0answers
31 views

libssh2 library's method libssh2_userauth_publickey_fromfile() returns -18

I am using libssh2 library. To ssh with key to my server I am using key (RSA) authentication. But libssh2_userauth_publickey_fromfile(session, username, publickey, \ privatekey, passphrase) Above ...
3
votes
1answer
24 views

How to generate the revocation certificate after being made a revoker with GnuPG

I read the "How should GnuPG's `--desig-revoke` command be used?" question/answer, so now I know when to use the --desig-revoke. So, I have two different private keys -- one at work (WORKWORK), ...
0
votes
0answers
179 views

SSH Keys with Codeanywhere and Bitbucket

Maybe I am understanding the concept wrong, but I am not able to find an answer on google, or the respective websites from the question. I have a multiple private git repositories that are hosted on ...
0
votes
0answers
113 views

SecGenericPasswordCreate failed when trying to rsync

Hi I'm trying to rsync my Mac OSX 10.6 to a folder on a server in which I have an account. I have followed the instructions reported on www.rsync.net. I have created the public key (where as ...
0
votes
1answer
4k views

No supported authentication methods available in FileZilla

I'm using FileZilla to connect to my SFTP server. But when I'm trying to connect, it gives me this error Error: Disconnected: No supported authentication methods available (server sent: publickey) ...
0
votes
1answer
686 views

LFTP: SSH with private and public keys

I'm using LFTP in order to mirror SFTP server folder with local folder. But currently I'd be glad to correctly connect to SFTP server and list contents... I'm using Windows 7, and I've downloaded ...
0
votes
1answer
20 views

Is is possible to use ssh-copy-id without server password logging enabled

I wish to add a new public key to my servers authorized_keys file. Is it possible to add a new public key without enabling password authentication for ssh-copy-id?
1
vote
0answers
579 views

SSH authentication fails when trying to access Bitbucket from Jenkins

I'm trying to currently set up a Jenkins CI-server in Azure that pulls the project from Bitbucket and runs the tests. CI-server is running Ubuntu 14.10. I got the server running, and I generated ...
0
votes
1answer
74 views

Verify signed file using GPG by passing in signature hosted online rather than stored locally (i.e. in keyring)?

Is it possible to pass the URL of a GnuPG signature when executing a verify query against a signed file? For example, instead of: gpg --verify file.txt Is there a variation of something like: gpg ...
2
votes
2answers
81 views

How should GnuPG's `--desig-revoke` command be used?

How should the GnuPG command --desig-revoke be used, and in which cases should you use it? According to the manual: --desig-revoke name Generate a designated revocation certificate for a key. ...
1
vote
1answer
169 views

GnuPG / OpenGPG: Recovering public key from private key

I know that the public SSH key can be recovered from the private using ssh-keygen -y. How can a (deleted) public key be recovered from the private key in GPG (preferably in a way that is OpenGPG ...
0
votes
1answer
105 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
1answer
141 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
49 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
31 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
2answers
118 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
18 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 ...
2
votes
1answer
149 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 ...
1
vote
1answer
731 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 ...
2
votes
1answer
122 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
3k 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 ...
5
votes
4answers
4k 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
4k 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 ...
8
votes
3answers
701 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
1answer
167 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
133 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
172 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
33 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 ...
6
votes
3answers
12k 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
313 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
216 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
2k 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 ...
3
votes
1answer
2k 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
4k 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
101 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 ...
3
votes
0answers
451 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
657 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
307 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
405 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
183 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
1k 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
400 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
95 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 ...
2
votes
2answers
7k 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
992 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 ...