The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
134 views

Private and public key negotiations over SSL protocol

I understand how public key encryption works and I understand how it works into SSL. Server sends encrypted(public) key so I can send it a message but only it knows the private key to decrypt it. ...
1
vote
1answer
144 views

ssh authentication with public-private key pair

I'm wonder if is possible to authenticate the same user with different public-private keys pairs on the same remote host. For all production servers, the public-private key pair has been generated ...
0
votes
2answers
9k views

SSH configuration, publickeys, Permission denied (publickey,password). error

My task: login from Mac OS Snow Leopard client to Ubuntu 10.10 server without password. Commands: client$ mkdir ~/.ssh client$ chmod 700 ~/.ssh client$ ssh-keygen -q -f ~/.ssh/id_rsa -t rsa Enter ...
2
votes
4answers
1k views

ssh without password does not work for some users

I have a new RHEL4 Linux box that I am using to copy data to old Solaris 2.6 and RHEL3 Linux boxes with scp. I have found that with the same setup, it works for some users but not for others. For ...
6
votes
4answers
723 views

SSH public key authentication — always require users to generate their own keypair?

I was working with a partner today that I needed to upload files to my server using scp. I have passwords turned off in the server's SSH configuration, so I wanted them to use public key ...
9
votes
2answers
4k views

Multiple public keys for one user

This question is similar to SSH public key authentication - can one public key be used for multiple users? but it's the other way around. I'm experimenting on using ssh so any ssh server would work ...
1
vote
2answers
911 views

Passwordless entry via public key authentication to a HP 2626 switch

I am trying to get the output of some 'show' commands in linux and print them in a file It's a HP 2626 switch 1. How can i setup Passwordless entry via public key authentication to the switch 2. How ...
1
vote
1answer
194 views

RSA fingerprint [closed]

what is the benefits of SSH RSA Fingerprint? and how does it different from PGP ? also how can i use it? are there any tool to do this? regards
4
votes
1answer
522 views

Get SSH fingerprint from remote server securely?

I had thought about this and my host provides out of band support, so I could simply create the key fingerprint out of band and compare it when connecting to that server from home. Is there any other ...
1
vote
3answers
234 views

Simple SSH public/private key question

I am trying to learn this instead of just following guides so I can recommend proper actions when people do ask (and they do). Here is what I got down. First, generate both key with command such as ...
2
votes
3answers
878 views

ssh asks for password despite ssh-copy-id

I've been using public key authentication on a remote server for some time now for remote shell use as well as for sshfs mounts. After forcing a umount of my sshfs directory, I noticed that ssh began ...
2
votes
1answer
331 views

How can I make gitosis distinguish between two users with the same username

I have a gitosis system that seems to be working correctly except for a common problem we run into where I can't distingush permissions between two users who have the same username, but different ...
1
vote
2answers
294 views

This morning when sshing in, server asks for password (has never happened. normally use identity file)

I always log in to my server(Amazon EC2) by: ssh -i blahblah.pem root@server.com This morning the server asked for a password which I never set. I thought this could mean either my key(pem file) is ...
1
vote
2answers
236 views

SSH key does not work from a remote shell

I've come across an interesting problem and I literally don't know where to start looking to resolve it! The VCS machine in our office is running gitweb and my public key is on this machine fine. I ...
0
votes
1answer
478 views

Pubkey authentication with SSH server running on Cygwin - session closes immediately

I am connecting from Linux via SSH to a Windows machine running SSH in Cygwin. I authenticate with a certificate. The session opens but closes immediately thereafter. With password authentication it ...
3
votes
4answers
672 views

How can I enable both password and public key authentication with OpenSSH

I would like for sshd to verify the users' public key and then prompt for their password, rather than just one or the other. Is this possible?
0
votes
1answer
440 views

On Windows, how do I set up sshd such that I can ssh in via key-based authentication from another windows box?

I am working to set up some deployment automation, and one of the things I'm trying is to use Ruby's Capistrano to remotely execute commands over ssh. I have used cygwin's openssh to run sshd on the ...
1
vote
2answers
426 views

RPM issues after signing JDK 1.6 64-bit

I'm trying to sign the Java JDK 1.6u21 64-bit RPM on CentOS 5.5 for use with Spacewalk and I'm running into problems. It seems to sign okay, but then when I check the signature it seems to be missing ...
1
vote
1answer
398 views

SSH connection slow from one machine but not another

I have a remote server I need to administer over a VPN to another data centre. The server I used to conenct to it from (server A) is being decommissioned, so I'm using another on the same VLAN ...
0
votes
2answers
744 views

ssh via public key authentication for users administered with NIS

I'm experimenting with using NIS for centralizing the user management for a network of approx 20 servers. I've got an NIS client and server working, and can ssh to the client machine and successfully ...
1
vote
4answers
581 views

Why does my ssh publickey authentication only work with concurrent password authenticated connection

I just setup a vanilla ubuntu lucid (10.04) system with openssh-server. I'm trying to setup publickey authentication, and it only works if I first connect using password authentication and leave that ...
1
vote
4answers
1k views

Looking for a one step solution to appending my SSH public key to a server's authorized_keys?

To get my public key onto a server I normal copy the contents of my public key, then SSH into the server, then I run vi .ssh/authorized_keys, then paste my key into the file and save. There has got ...
4
votes
3answers
3k views

Is it possible to connect a EC2 Linux instance via ssh without the key pair?

I can connect to my EC2 Linux instance via ssh using the key pair (*.pem). Is it somehow possible to connect it with ssh with out the pem file?
4
votes
3answers
1k views

OpenSSH with public keys from database

Is it possible to fetch the public keys from a database instead of the authorized_keys file? I would like to use such a setup to manage ssh access to things like git repositories for multiple users ...
1
vote
4answers
392 views

Speed up public key authentication (linux)?

We are using a Mercurial implementation and sending data to a repository server via public key authentication which takes the latest revision and pushes it to our web servers via hooks also using ...
1
vote
1answer
379 views

Authorized_keys not getting permissions or owner set correctly when run from bash script

With the following snippet of a script to add new users each user gets a public\private key pair automatically created, with the private key in their home directory for winscping out. The script works ...
0
votes
1answer
545 views

SSH key stopped working, still works on other servers

I've got about a dozen servers that I log into via an authorised ssh key, and up until today it was working fine. Today, one of those servers refuses to accept my key - it accepts a root key and my ...
6
votes
5answers
6k views

How to let TortoiseHg (Mercurial) on Windows use the Private Key file generated (by Puttygen)?

I have used Puttygen to create a public and a private key, and I'm now ready to let TortoiseHg on Windows 7 do a clone by going to ssh://somebody@code.somewhere.com/somecode but there seems to be ...
2
votes
4answers
148 views

Signing a public key

Am not sure where this is the right place to ask this Someone has asked me to sign their public key, how do i do that? His public key has Version: GnuPG v1.2.1 (GNU/Linux)
1
vote
5answers
1k views

Stop ssh client from offering all the public keys it can find?

Like most sysadmins I use openssh all the time. I have about a dozen ssh keys, I like to have a different ssh key for each host. However this causes a problem when I am connecting to a host for the ...
11
votes
5answers
520 views

How public should a public key be allowed to become?

I have a script that I use to setup new slices on slicehost and one of the steps is to add my public key to the authorized_keys file. At the moment I scp a key manually, but ideally I would have the ...
5
votes
4answers
5k views

Problem using a public key when connecting to a SSH server running on Cygwin

We have installed Cygwin on a Windows Server 2008 Standard server and it working pretty well. Unfortunately we still have a big problem. We want to connect using a public key through SSH which doesn't ...
1
vote
2answers
165 views

Set-up SSHD to handle multiple key pairs

I am trying to set up my sshd to accept users that do not have a system user account. My approach is to use DSA public/private key pairs. I generated a key pair: $ ssh-keygen -t dsa I copied ...
1
vote
4answers
552 views

Enabling publickey authentication for server's sshd

I have two servers running RHEL 5. Both have nearly identical configurations. I have set up RSA Publickey authetication on both, and one works but the other does not: [my_user@client] $ ssh ...
3
votes
1answer
188 views

Authentication using SSL certificates — General Question

SSL client authentication using certificates -- it's a complex topic, and I think I've learned just enough to make it even more complex. Here is my basic understanding: A public and private key are ...
1
vote
1answer
75 views

Public key read-only storage

We use GnuPG for encrypting data, which we upload to a central storage. The public key is being stored on a web-server, and the encrypting script re-downloads it if it's changed. This was done in ...
8
votes
4answers
730 views

Why does a SSH public key sit on the server and not with the client?

I don't quite understand the theory behind keeping public keys on the server. In the lockbox analogy of public/private keys, to unlock Alice's box, Alice holds the private key while the public key is ...
1
vote
1answer
166 views

Why does firefox need to import the GPG key when updating?

I am new to linux and I typed yum update firefox in the shell. During the process, it says: Importing GPG key 0x57BBCCBA "Fedora (12) <fedora@fedoraproject.org>" from ...
1
vote
1answer
407 views

SSH : Public key auth only!

Does somebody know. How i can configure sshd to connect ONLY with Public Key Auth? currentStatus : If you have no key. then you can log in with your password.
5
votes
4answers
669 views

How to find out which key was used for public key authentication?

Several developers using a shared account on a test server, using public key authentication. Is there any way to find out which key was used for authentication (e.g. the keys comment)?
0
votes
1answer
565 views

Populating jks file with keys from 509 certificates

Does anyone have detailed, step by step, instructions for extracting encryption keys from 509 certificates, and then storing them inside an encrypted jks file?
3
votes
6answers
289 views

why SSH publickey authentification fails on one account but work on the other on the same server

I have a strange issue with SSH public keys. There's one account on the server where I've uploaded my public key to .ssh/authorized_keys and it works as expected (I can login with no password). Then ...
1
vote
2answers
112 views

Being Prompted for Password

// Begin edit I should note now that I've tinkered around a bit more, that everything works as intended if I use the "-i identity_file" switch when connecting from "Automation" and point that at the ...
20
votes
4answers
6k views

How do I make ssh fail rather than prompt for a password if the public-key authentication fails?

I've got a script that ssh'es several servers using public key authentication. One of the servers has stopped letting the script log in due to a configuration issue, which means that the script gets ...
76
votes
1answer
15k views

Create a public SSH key from the private key?

Let's suppose I have a SSH key, but I've deleted the public key part. I have the private key part. Is there some way I can regenerate the public key part?