The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
38 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 ...
4
votes
3answers
107 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
32 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
44 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 ...
0
votes
1answer
75 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
0answers
45 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
63 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
90 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
104 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 ...
0
votes
0answers
48 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
65 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 ...
0
votes
2answers
208 views

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

Running "ssh-keygen -t dsa" generates two files, if given input "key1" as the file name: key1 and key.pub However, I've also seen ".pem" files used, for example, in AWS. Whats the relationship ...
6
votes
2answers
237 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
0answers
30 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 ...
2
votes
2answers
1k 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
127 views

Cannot get Public Key Authentication working from Linux to Windows

I have setup PublicKeyAuthentication as per the instructions here It seems its authenticating but the connection to the remote computer closing immediately. For example if I use scp, the log says ...
0
votes
0answers
27 views

Is there an imageshack-like service for text (I want to publish a public key)? [closed]

Is there something like imageshack, tweetpic etc.. for text? I just want to publish my public key in an easy way.
0
votes
0answers
58 views

Verifying Authenticode signed executables and DLLs using OpenSSL API

I have installed openssl and now the rsa_test.c is running fine. What I want to do is: Open any exe or dll digital certificate. Extract the Thumbprint and PublicKey. The public key contains the ...
1
vote
0answers
163 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
85 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
637 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 ...
2
votes
1answer
753 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?
0
votes
0answers
194 views

Public Key Auth + Kerberos

I've setup public key authentication for ssh'ing into my university machine. However, it only logs me in on the local machine and doesn't give me Kerberos credentials which I need for accessing my ...
3
votes
1answer
624 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
136 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
0answers
167 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
2k 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 ...
2
votes
2answers
6k 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 ...
3
votes
1answer
2k 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, ...
10
votes
3answers
2k 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
482 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
162 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 ...
1
vote
1answer
866 views

How does gpg handle multiple keys in a keypair?

As I understand it, keypairs used with gpg generally have more than one associated key: one for signing and one for encryption. How are these multiple keys managed when using gpg (to push to a ...
2
votes
2answers
694 views

PGP private key password change and relationship to public key

I have been looking at PGP for a few days and noticed that if I change the password on the private key, parts of the private key change, but a large portion of it remains the same. The public key does ...
3
votes
2answers
750 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 ...
3
votes
1answer
321 views

How can I add my picture to my public key using GnuPG?

I've created a key pair using GnuPG. I've read that in addition to multiple identities and email addresses, one can also embed a small image (most usually of the user) to help perhaps with memory ...
0
votes
2answers
4k views

Problem adding public key for apt

I was trying to get the official mongodb for Ubuntu, following the instructions at http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages After adding the deb ...
3
votes
2answers
104 views

How is encryption handled when different email clients send emails securely?

Whose public key is used to encrypt email from me@myemailservice.com to you@youremailservice.com? My email client can't have the public key of every person in the world I could possibly write an email ...
1
vote
3answers
610 views

SSH key authentication with another user

I'm confusing myself on some ssh key-based authentication. Let's say I have: Host A: user tom .ssh tom_private_key tom_public_key Host B: user shared .ssh shared_private_key ...
2
votes
2answers
1k views

ssh-copy-id and duplicates in authorized_keys

I want to type password only once when connecting to SSH so I use ssh-copy-id and install my pubkey into authorized keys. But I don't keep track which servers already have my key and which does not, ...
6
votes
1answer
5k views

Problem using git on Windows 7 with msysgit and .ssh keys

I'm using git on my Ubuntu machine with my existing ssh keys. Now I have to use Git on Windows 7, and need to use the same keypairs. I have set up msysgit and created an .ssh folder in ...
0
votes
1answer
1k views

publickey authentication only works with existing ssh session

publickey authentication only works for me if I've already got one ssh session open. I am trying to log into a host running Ubuntu 10.10 desktop with publickey authentication, and it fails when I ...
60
votes
3answers
30k views

Tell git which private key to use

ssh has the -i option to tell it which private key file to use when authenticating: -i identity_file Selects a file from which the identity (private key) for RSA or DSA authentication is ...
3
votes
0answers
522 views

In Keychain Access on OS X, Find matching public and private keys

I have a couple keys that seem to have been generated with the same names. I would like to know which public key match up with which private keys so I can rename/delete them. Is this something that is ...
0
votes
1answer
150 views

Enigmail Public Key Reference

I seem to remember in earlier versions of EnigMail, the Thunderbird add-on that it was possible to have it display the location of your public key (name & server). This doesn't seem to be the case ...
0
votes
0answers
351 views

Access denied to encrypted files after deleting system profile

After my profile became corrupt (from an IE7 developer toolbar bug... that's another story), I was forced to deleted C:\Documents And Settings[myUserAccount]. After having a sysadmin recreate the ...
4
votes
4answers
516 views

SSH asks for password, even with public key installed [duplicate]

Possible Duplicate: Problem with shared ssh keys I have set up pub key authentication between two servers. Everything should work, but I am still asked for the password. Here's parts of my ...
34
votes
6answers
10k views

Is it ok to share private key file between multiple computers/services?

So we all know how to use public key/private keys using SSH, etc. But what's the best way to use/reuse them? Should I keep them in a safe place forever? I mean, I needed a pair of keys for accessing ...
3
votes
3answers
6k views

SSH keeps requesting my password if I use a keyfile other than default

I have a keyfile named KEY, which has KEY and KEY.pub. I upload the pub to authorized_keys, and add the private with ssh-add /home/user/.ssh/KEY But when I try to connect with ssh user@host.com, ...
0
votes
2answers
625 views

How to retrieve a public key from remote host?

I received from a partner an SSH private key also, I need to make a php script to connect to the host and send some data through this connexion. However I need to provide to the ssh php function a ...

1 2