The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
2answers
66 views

ssh use public-key authentication

I use public-key authentication with secureCRT to login linux server and turn off password authentication at these server: 1.Create the keypair(openssh key format) with SecureCRT. 2.Cat the public ...
0
votes
0answers
22 views

debian Linux (squeeze) ssh stalled

I'm facing a strange ssh problem when ssh-ing to an other linux box (authentication with public key). What I am doing: in a loop I do every second a ssh $remote $somecommand normally the answer ...
0
votes
1answer
25 views

ssh login using public/private key exchange authorized_keys not working?

I am trying to login from one ubuntu box to another using public/private keys with ssh, but it is not working.. OMD[live]:~/.ssh$ ssh -l myuser -v -i /test/sites/live/.ssh/id.rsa.myuser ...
0
votes
1answer
168 views

SSH to bitbucket returing Permission Denied (publickey)

So I am trying to clone a repo to a directory on my Ubuntu server but I keep getting a Permission Denied (publickey) error. This is very weird because my output for ssh -T git@bitbucket.org shows ...
0
votes
1answer
36 views

Call Pam module before public key authentication on SSH

I am currently writing a pam module which does some checks if the key stored in authorized_keys is still valid. However I cant find a possiblity to run the module before the public key authentication ...
1
vote
2answers
136 views

Best current authentication cipher for SSH2? Are certain ones only allowed/not allowed? How to tell what cipher an existing key is?

I am a linux newbie. I plan on generally using OpenSSH I have spent a number of hours & I can't seem too quickly find the answer I have briefly read some on IETF, however I will be honest its WAY ...
1
vote
1answer
47 views

SSH login without recheck all public key

I have several servers and different users. Also i have two different authorize method: via keys and password. When i try login ssh recheck all public keys. Is there method to bind public key and ...
1
vote
1answer
50 views

How to check if a password for an ssh key has been set with only the public key?

We have some SFTP-Chroot Environments where we only allow 4096bit RSA Keys for authentication and we only have the public key part from our users. But we have a policy that the user has to set a ...
0
votes
1answer
114 views

ubuntu - public-key for authentication

I have a master and slave cluster. I am setting up cloudera manager. On the master I created a passwordless key using the following. ssh-keygen -f id_rsa -t rsa -N '' eval `ssh-agent` ssh-add ...
0
votes
1answer
239 views

Connection closed [preauth]

On a Ubuntu 12.04 server, I am getting the following pair of messages in auth.log several times a minute: Jan 17 22:04:25 binx sshd[14659]: Connection closed by 192.168.0.1 [preauth] Jan 17 22:04:25 ...
0
votes
0answers
39 views

Authenticating to MySQL with asymmetric key-pair

Is there anyway I can give MySQL a public key to authenticate vs (or in addition to) username/password authentication? It seems that you can switch out the backend of where MySQL stores/checks ...
1
vote
5answers
212 views

ssh publickey doesn't work

UPDATE: I've solved this strange problem by simply restart sshd. However, I'm still wondering why, because I didn't change any configs since the server started. I have 2 servers, one installed CentOS ...
1
vote
2answers
158 views

When user in server is not logged in ssh gives: Permission denied (public key)

I'm setting up a ssh server using public key authentication. For that I used this tutorial: http://www.g-loaded.eu/2005/11/10/ssh-with-keys/ I was able to login via ssh. But this works only if I keep ...
-1
votes
2answers
189 views

sshd ignores authorized_keys and keeps trying authorized_keys2

I just uploaded my public key to a server, ensured permissions are right, and when i try to log it simply refuses it. after enabling loglevel DEBUG in sshd_config i get: Nov 22 06:53:36 host-1 ...
5
votes
1answer
303 views

Add comment to existing SSH public key

I have an existing SSH key (public and private), that was created with ssh-keygen. How can I add a comment to this existing key?
0
votes
2answers
90 views

Connecting to a remote server using SSH from a Mac

I have generated a public key file (id_rsa.pub) and a private key file (id_rsa) and placed them in my ~/.ssh folder According to the server admin, he has already added "my key" to the server for ...
0
votes
1answer
88 views

SSH “Key Passing” or Why can't I SSH to a server from a box I'm ssh'd in too

Situation: I have a Desktop (Debain Sid) that I prefer to develop on. I have a macbook pro, since we're developing for Mac, that I compile on (Uses Apple SDK's all driven by a scons build so xcode is ...
0
votes
1answer
220 views

Using public/private keys with dreamweaver [closed]

I have managed to set-up SSH keys to login in to my server with, after doing so I have been able to smoothly use putty and filezilla. However dreamweaver seems to be giving me problems, I can not ...
3
votes
1answer
169 views

Disallow password auth in SSH via ~/.ssh/config?

I know I'm fighting a losing battle here, but with the right bit of elbow-grease I've got my shared hosting with GoDaddy to let me SSH in via pubkey auth (added in the ~/.ssh directory and an ...
1
vote
2answers
743 views

rsync to EC2 using ssh -i

I'm able to ssh -i mykey.pem to EC2. I'm able to scp -i mykey.pem to EC2. But when I try to rsync -avz -e "ssh -i mykey.pem" I get this error: Warning: Identity file mykey.pem not accessible: No such ...
1
vote
1answer
43 views

Overriding RPM public key database

Can rpm be persuaded to import and fetch public keys from an arbitrary pubkey database? On the same build machine I've got two automated users who each need to verify package signatures from ...
1
vote
1answer
54 views

Non-interactive SSH connection fails - error: can't open /dev/tty: No such device or address; Host key verification failed

Below you can see the log. The connection is from a Cygwin SSH client to a Cygwin SSHD server. The connection works ok when launched from the command line but fails when launched from Jenkins (Java ...
0
votes
1answer
770 views

SSH Public Key Authentication not working with PuTTY

I have created a virtual machine and installed Redhat 6. I am having issues connecting using public key authentication. I can use PuTTY on my Windows host to connect to the redhat guest, where I am ...
15
votes
4answers
2k views

Why does Amazon release private keys instead of public keys?

My brain is wrapped around the axle on public and private keys. When you create a cloud server (instance) on Amazon's EC2 service and then want to connect to it via SSH, Amazon requires you to ...
0
votes
2answers
141 views

Google 2 factor authentication on Ec2?

I have set up google two factor authentication on my local machine. So when I do : ssh localhost I need to verify the code along with password. But when I try to connect to my Ec2 instance like so ...
1
vote
2answers
2k views

certutil: function failed: security library: bad database.

when I'm using certutil it returns this error: certutil: function failed: security library: bad database. e.g. I can't list certs or keys How Can I fix this? Thanks
0
votes
2answers
387 views

how to change password of AWS EC2 instance

I am logging in my AWS EC2 instance using winscp/putty as root using a .ppk file which has imported-openssh-key. Earlier it was shared with many ppl, who are all gone, so now I have to change it in ...
23
votes
6answers
2k views

SSH: Two Factor Authentication

I currently have a Ubuntu Server 12.04 running OpenSSH along with Samba and a few other services. At the current time I have public key authentication set up, and I'm wondering if it's possible to set ...
8
votes
4answers
496 views

Encrypt temporary password using public ssh key

I manage a virtual office and our staff uses both SSH keys and passwords for authentication. If one of our staff forgets his password, is there a way to encrypt a temporary password using his public ...
0
votes
3answers
4k views

Key-Based SSH Permission denied (publickey) Ubuntu 12-04

I have configured sshd to accept key-based ssh logins with LogLevel on DEBUG, and uploaded my public key to ~/.ssh.authorized_keys, where permissions are set as: 700 ~/.ssh 600 ~/.ssh/authorized_keys ...
1
vote
1answer
136 views

Why is SSH insisting on letting me log in?

I'm trying to disable logging in by password on a remote Ubuntu server, so that it's only accessible by using the encrypted key file thingy (I'm not totally clear on the terminology). I followed ...
0
votes
1answer
134 views

SSH and public/private key [closed]

I'm opening my SSH to the world on my home based server. I changed the default port. I made the passwords for root and the only manually added user (done at install time) to totally random 64 ...
3
votes
1answer
118 views

How to log all fingerprints in sshd, even if the connection was unsuccessful?

I understand that by adjusting the LogLevel in /etc/ssh/sshd_config I can log the fingerprints when authentication is successful, but what I would like to do is to see a fingerprint of a key that was ...
1
vote
1answer
278 views

Problems accessing EC2 instance with SSH key pair

Just set up a new EC2 instance, downloaded the pem file and currently cannot get into the box. I'm using the command... $ ssh -i .ssh/key.pem ubuntu@ec2-176-34-183-***.eu-west-1.compute.amazonaws.com ...
1
vote
1answer
1k views

Unable to submit certificate request to 2k8R2 CA

I have created a two-tier CA using Windows Server 2008 R2. The .inf files used to create this standalone root and an enterprise subCA are at the end of this post. The root is installed OK and issued ...
3
votes
2answers
74 views

New server won't accept SSH public key

I have a private network that had 3 servers before. Now that I added a fourth, I tried to set up public key authentication from the main entry point to this new server. However, the usual procedure ...
3
votes
3answers
248 views

SSH Public Key Format

I have a public key in the format: ---- BEGIN SSH2 PUBLIC KEY ---- Comment: "somename-20060227" AAAAB3NzaC1yc2EAAAABJQAAAIBmhLUTJiP[and so on]== ---- END SSH2 PUBLIC KEY ---- usually i see keys in ...
2
votes
1answer
135 views

SSH host key changed - except it actually hasn't

I've just tried to SSH in to a server that I've been doing so without problems for a while, and received a warning that the server's host key has changed. But it hasn't! On the server, I've checked ...
0
votes
1answer
520 views

How to make ssh connection between servers using public-key authentication

I am setting up a continuos integration(CI) server and a test web server. I would like that CI server would access web server with public key authentication. In the web server I have created an user ...
2
votes
2answers
427 views

SSH Key not found logging into CentOS 5.5 from Windows (Cygwin)

I am having difficulties logging in to a VPS running CentOS 5.5 using Public key authentication. I can log in to both a standard user account and the root account using password authentication. I am ...
10
votes
1answer
1k views

What is the meaning of an equal sign = or == at the end of a SSH public key?

I just noticed that most of the ssh pubkeys in my authorized_keys end on == or = E.g. ssh-rsa ...
0
votes
3answers
84 views

SSH Public Key Authentication Fails Mac OSX

I am trying to get a coworkers MacBook Air running on Public Key Authentication and even after generating a new SSH key I haven't been able to get it to run like I have mine. Double checked file ...
0
votes
1answer
1k views

'POSSIBLE BREAK IN ATTEMPT' in /var/log/auth.log when you use private key in putty?

When when I ssh into my server from windows using putty without using public key authentication I get no indication of a "BREAK IN ATTEMPT" in /var/log/auth.log However when I use DSA keys and set ...
1
vote
2answers
188 views

Public key authentication - SSH asks for passphrase after rebooting local machine?

I created a public/private key pair on a local machine using ssh-keygen. I entered a passphrase. I then used ssh-id-copy to put the public key on the remote machine. When I ssh into the remote ...
0
votes
1answer
322 views

Webmin + SSH Public Key

Is it possible to upload a UNIX user's public key to Webmin? I would think this would be on this screen, but I'm not finding it....
0
votes
2answers
69 views

Permission denied when creating/copying ssh key pair [duplicate]

Possible Duplicate: SSH configuration, publickeys, Permission denied (publickey,password). error I am trying to set up a sshkey pair using with the aid of the tutorial here however when I ...
3
votes
5answers
12k views

Debian. How can I securely get debian-archive-keyring, so that I can do an apt-get update? NO_PUBKEY

I have a catch 22 trying to: # apt-get update [... good lines omitted] W: GPG error: http://backports.debian.org lenny-backports Release: The following signatures couldn't be verified ...
0
votes
1answer
309 views

Cannot import EC2 keypair (Length exceeds maximum) via AWS console from existing keypair

I want to use the same keypair from one availability zone in another but I cannot import it. If I generate a new key I get the same error. See AWS console > Newtwork and Security > Key pairs > Import ...
0
votes
2answers
185 views

What do the different parts of “known_hosts” entries mean?

Below is an known_hosts entry. The part that starts with ssh-rsa and goes to the end is a public key. What are the other parts (the characters before ssh-rsa)? ...
0
votes
1answer
68 views

Is it possible to circumvent public key authentication restrictions using SSH daemon?

My web hosting plan does not support public key authentication, however advice given in Public key authentication unsupported by web host. Method to avoid entering password? question suggests it may ...

1 2 3