The tag has no wiki summary.

learn more… | top users | synonyms

58
votes
2answers
62k views

How to convert .ppk key to OpenSSH key under Linux?

I know that is possible to convert .ppk under puttygen in Windows, but how to do that on Linux? Is this possible ?
57
votes
3answers
43k views

Using Multiple SSH Public Keys

I have a personal account and a company account on Unfuddle. On Unfuddle SSH keys can only be used on a single account, so I need to create a seperate SSH key on my laptop for both accounts. I ran ...
21
votes
6answers
15k views

How to fix warning about ECDSA host key

I'm trying to setup passwordless ssh on an Ubuntu server with ssh-copy-id myuser@myserver, but I'm getting the error: Warning: the ECDSA host key for 'myserver' differs from the key for the IP ...
14
votes
2answers
32k views

Connect to server using SFTP and public ssh key using FileZilla on Windows

Is it possible to generate an ssh key on a windows machine then use that key to connect to a server using SFTP via FileZilla? This is all working with my Mac but I have a client that is stuck in a ...
14
votes
3answers
8k views

How to store SSH keys?

I've started using SSH keys instead of passwords just recently (thanks to GitHub, of course), so please keep in mind that I'm pretty new to this whole concept. Currently my keys simply lay in ~/.ssh, ...
6
votes
5answers
10k views

How to generate a public/private key (UNIX)

Can some one please tell me, for using SSH, why does a host also need to have a public and private key? And how can I generate a public/private key pair for myself?
5
votes
2answers
2k views

Running ssh-keygen without human interaction?

Would it be possible to run ssh-keygen without human interaction? I have a shell script that takes care of server deployment from start to finish, but ssh-keygen is the only remaining piece that ...
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 ...
5
votes
2answers
275 views

Does the size of a RSA key cipher have any impact on my internet connection?

I am wanting to setup passwordless authentication to my remote linux server, I was going to generate an RSA public/private keypair. I was thinking about cipher strength like 2048 bit and 4096 bit. ...
5
votes
2answers
3k views

Cygwin Connection closed by ::1

During the installation of Hadoop I am trying to setup CYGWIN and ssh. Installed and ssh also started successfully and setup authorization key as instructed HERE but When I try to connect to the ...
4
votes
4answers
884 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 ...
4
votes
2answers
781 views

What is id_rsa.keystore?

In my .ssh directory I have the following files - drwx------ 2 rohit rohit 4096 Jun 22 03:34 ./ drwxr-xr-x 62 rohit rohit 4096 Jun 22 11:16 ../ -rw-r--r-- 1 rohit rohit 402 May 25 15:19 ...
3
votes
1answer
53 views

Retrieve ssh key from github

I had ssh key at github.com in my account. Now i reinstall my operating system, how can i retrieve my old ssh key from github and put it into /home/user/.ssh/id_rsa? Thank you.
3
votes
3answers
879 views

SSH host authenticity issue

I'm receiving the wonderful "The authenticity of host xx can't be established." message when attempting to SSH into a box. I have two systems that recently swapped names. My system is a RHEL5.6 box. ...
3
votes
2answers
114 views

How can I get the root account to generate an acceptable ssh key?

On an ubuntu machine I did the following: ~$ sudo su - [sudo] password for jamie: root@mydomain:~# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key ...
3
votes
2answers
249 views

Cat command output varies unusually in regards to * character

I'm running the following command on a fairly standard Ubuntu 11.04 installation running under vSphere: sudo cat /home/*/.ssh/authorized_keys Basically, I am using puppet for ssh key management and ...
3
votes
1answer
2k views

How do I connect to SSH without the password to be requested every time ? - Already follow some answers here but it doesn't work

MAC OS X Lion 10.7.3 1) On host, I've created an authorized_keys file inside .ssh folder, by doing: touch authorized_keys 2) I've copy my public ssh key into host .ssh folder by doing: scp ...
3
votes
1answer
99 views

Changed home directory permissions on remote server, can no longer ssh into it

I changed the permissions on my ~ directory, and according to this question about ssh and home directory permissions I can no longer ssh into my remote server because it rejects my public key. Is ...
2
votes
1answer
505 views

Disabling only password ssh access for root

I know it's possible to disallow root logins via ssh, and that it is a Good Idea™ to disallow root to ever login via ssh (preferring instead to use sudo or similar). Is it possible to allow ...
2
votes
1answer
133 views

SSH file transfers using ssh-keygen

I am a casual linux user but I am having a some difficulty understanding some directions sent to me from a company we provide data to. They want us to use ssh (which I have used before) to transfer ...
2
votes
2answers
455 views

Using ssh keys for multiple sites?

I was wondering, is it considered safe to use the same SSH key for multiple sites? (eg. github, bitbucket, heroku, etc)? Or is it recommended to generate a different SSH key for each website/usage?
2
votes
1answer
1k views

Why am I getting permission denied (publickey) after chmod 600?

I got @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions ...
2
votes
1answer
147 views

Remotely generating key pair without passphrase

I'm trying to generate the key pair (without a passphrase) on a remote machine. The command I use for this is: ssh root@REMOTEIP ssh-keygen -t rsa -f /root/.ssh/id_rsa_new -q -N "" The output of ...
2
votes
1answer
482 views

Setting up a shared remote git repository without root privileges (solved) using ssh keys to manage per user access?

I'll first explain my setup. I'm working on a non-self managed system on which I have an account without root/elevated privileges. On this system I want to share multiple git repositories to different ...
1
vote
6answers
179 views

Is there a way to log into a machine using SSH without password?

I know ssh is to create a secure shell connection to a machine, and we call ssh username@ip_address to login the machine. Is there a way that I won't need to enter the password when connecting via ...
1
vote
1answer
151 views

Can I have more than 1 private key in ~/.ssh?

I am trying to add an existing private key (id_rsa file) to my ~/.ssh directory, but see that I already have one. Do I have to replace the existing key, or is there a way to combine them? I assume ...
1
vote
2answers
136 views

Is there a difference if SSH key is created on serverside?

I've got a server running Ubuntu. I installed openssh-server and wanted to use ssh key for login purposes. Everything works fine except one thing. On Ubuntu's community site is written "This massively ...
1
vote
1answer
2k views

Unable to Change Password for Private SSH Key

I'm running PuTTY Pageant on Windows, and I used it to generate a private SSH key with a .ppk extension. Now I want to change the password to that key, so I opened my Git bash terminal, cd'd to my ...
1
vote
1answer
964 views

Tell git which private key to use for a user without home folder

I was reading the question Tell git which private key to use, and the answer doesn't apply for a case were the user doesn't have any home directory. We're setting up a Jenkins server right now, and ...
1
vote
2answers
204 views

ssh passwordless -login [duplicate]

Possible Duplicate: SSH asks for password, even with public key installed http://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/internet/node31.html I am trying to login from machine A to ...
1
vote
3answers
1k views

Why is SSH not honoring my authorized keys?

I have 2 laptops at home, both running Ubuntu 12.04 (Desktop), and both using the same NetGear wifi router. I used a technique called "MAC binding" on one of the machines so that the router always ...
1
vote
2answers
850 views

SSH ignores keyfile, wrongly asks for password

For work, I am SSH-ing into a server. I haven't done this for months, so something has changed where it now asks me for a password. Previously, after authenticating it would work. Here's what I ...
1
vote
1answer
1k views

How do I copy an SSH key from a Mac to a Windows machine?

I have a public SSH key on my MacBook, but am trying to access a host that requires it on my desktop. How do I do that, and where do I put it on my Windows machine? I am using gitGui on Windows and ...
1
vote
1answer
5k views

How to use SSH Public Key with PuTTY to connect to a Linux machine

I am trying to set a public SSH key connection from a Windows 7 machine to a Red-Hat Linux machine. The ultimate purpose is to use pscp (PuTTY's version of scp) from the command terminal w/o the need ...
1
vote
1answer
823 views

Setting up SSH with an existing id_rsa.pub key

I have a client providing me with his own id_rsa.pub key, he wants me to setup a SSH server so that he can send me files. As far as I understand, when I setup my SSH Server (freesshd on Windows) I ...
1
vote
2answers
161 views

why doesnt key authentication work for openssh?

I am working on setting up a hadoop cluster, as per the following tutorial: http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/#sun-java-6 My problem comes in ...
1
vote
1answer
359 views

SSH key not recognized after installation (also: can I store keys on NTFS)

I've reinstalled my Fedora 15. I decided to keep my SSH keys, including Github key, so I won't have to generate new one. However, when I copied them back from NTFS partition to ~/.ssh directory, ...
1
vote
2answers
64 views

how to speedup ssh-keygen

We are using beaglebone based custom board. In one of the init script we are generating ssh keys but it takes around 7 seconds to generate the ssh-keys. How do we speedup the process of generating ...
1
vote
1answer
235 views

Does SSH key authentication normally pass through daisy-chained clients?

When I am connected from my home computer to a server, and then connect to a 2nd server via ssh on the 1st server, I realized I am able to authenticate instantly without the private key being on the ...
1
vote
2answers
1k views

Why does my password for the ssh private key does not work (on Mac)?

I have a pair of private and public keys. The public key is on my server and I have my private key on my local disk. The file's permissions were changed with the command: chmod 600 private_key Now ...
1
vote
1answer
282 views

How do I achieve passwordless CVS updates?

I'm working on some code from my computer at home and would like to do CVS updates to a remote server. When I'm at work I don't need to type in a password, but at home each time I need to type in my ...
1
vote
1answer
1k views

SSH Key Exchange from Cygwin to Ubuntu Fails

I'm trying to SSH from a Windows/Cygwin to Ubuntu. I am not using PuTTY. Instead, I'm using Cygwin ssh, which should be OpenSSH. I used ssh-user-config on the Windows machine to generate my key ...
1
vote
1answer
30 views

SSH via gateway with SSH keys on Gateway

I want to set up my company's server as a gateway to all of our client's servers. So that people I work with can simply 'proxy on through' without needing to set up SSH keys on their machine. I.e. ...
1
vote
2answers
150 views

SSH: “Permissions 0644 for 'my_key.pub' are too open.”

Why is 0644 i.e. -rw-r--r-- too open for a SSH key? Also I could not find any false permissions on the .ssh directory (0700) or the home directory (0731). Btw I'm getting this error when testing the ...
1
vote
0answers
64 views

Configuring SSH server to require RSA key

I'm trying to configure my SSH server to require users to have an RSA key. To do this I have the settings in sshd_config set to RSAAuthentication yes PubkeyAuthentication yes #AuthorizedKeysFile ...
1
vote
0answers
83 views

ssh permission denied public key when adding new key

I had a id_rsa in ~/.ssh/newfolder/ and using the config file correctly, then I went to add a new one to ~/ssh/git/ and now the git key works but the one in newfolder doesn't. Any help would be ...
1
vote
1answer
725 views

ssh localhost password-less Login not working

I have been trying to ssh localhost into the same machine. I copied the generated public key into the authorized_keys file. It still doesn't work. I have spent hours on trying to find a solution to ...
1
vote
0answers
98 views

SSH password stopped working

So, I tried to connect to a MySQL Database through an SSH tunnel as usual and it prompted me for the password to my ssh key. I entered it as usual and allthough I am 100% sure I entered the correct ...
1
vote
0answers
206 views

ssh Prompts For Password After Account Unlocked - Despite ssh key?

Here's what happened: I set up ssh key so that user could ssh from A to B without a password. I got user's password wrong in some other context too many times, and user's account got locked out. ...
1
vote
0answers
114 views

Avoid typing password every time using NX

I am running nxserver on a linux box and installed NoMachine Player on laptop. Every time I connect to nx on the linux box, basically it comes with two steps: SSH to user nx on the linux box On the ...