The ssh-keys tag has no wiki summary.
1
vote
2answers
32 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 ...
5
votes
2answers
218 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 ...
1
vote
1answer
31 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
53 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 ...
2
votes
2answers
23 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.
0
votes
1answer
39 views
Multiple ssh keys on Heroku
I have:
Computer A with id_rsa and id_rsa.pub
Computer B with different id_rsa and id_rsa.pub (it's not the same as that one from computer A) and id_rsa2 id_rsa2.pub
I created an account on heroku, ...
0
votes
1answer
40 views
How to add hostname to known_hosts to be used system-wide
As far as I know the default ssh option StrictHostKeyChecking is set to ask so the first ssh connection seems like:
$ ssh host.example.com
The authenticity of host 'host.example.com (1.2.3.4)' can't ...
0
votes
1answer
46 views
Logout safe way to have ssh-agent session for server processes
I am having a server process which is using a passphrase protected SSH key. Currently I log in via SSH to give the key every time the process is restarted. I do:
eval `ssh-agent`
ssh-add mykey
# ...
2
votes
1answer
52 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 ...
1
vote
2answers
61 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
0answers
42 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 ...
0
votes
1answer
61 views
ssh-add not permanent
I've setup some keys to connect one server to another (periodically importintg data from one to another via some crontab).
My problem is that the passphrase is randomly asked by the system (I can ...
0
votes
0answers
42 views
Given ssh keys, need alternatives
Alright so I've been having some problems logging into this system. I’m using putty and puttygen to handle private-public keys. This should be pretty simple but I'm still having problems with it. I'm ...
0
votes
1answer
74 views
ssh authorized_keys on two machines
I have two machines with the same .ssh/authorized_keys (verified since (1) one is a copy of the other and (2) the md5sums of the file on both machines match)
and the same /etc/ssh/sshd_config ...
0
votes
0answers
70 views
How can I uninstall Gitorious?
I have installed Gitorious on my CentOS server but the SSH public key authentication method does not serve my purpose as most of the users are on Windows and will be using more than one computer.
I ...
0
votes
1answer
160 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
0answers
348 views
Passwordless ssh failed when login using username
I was trying to setup Hadoop and was stumbled on passwordless ssh to localhost.
I am getting a password prompt when trying to connect using ssh username@hostname format.
But there is no problem ...
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
5answers
288 views
SSH without password (shared home folder)
I have a question about passwordless ssh with one home folder.
I have created a common /home/developers account, and multiple users (developerA,developerB ...). All developers have been delegated the ...
0
votes
2answers
139 views
after config `~/.ssh/authorized_keys`, ssh works well but scp does not work
I change this file ~/.ssh/authorized_keys in remote server, shown below, and want to run a script when ssh to it.
#Flyakite
command="/home/path/to/script" ssh-rsa my-key
now if I run ssh $USER@$HOST ...
3
votes
1answer
72 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 ...
0
votes
0answers
309 views
Using putty generated key in SSH Secure Shell
In Windows, I need to use a key (RSA-2) generated from puttygen in "SSH Secure Shell" software v.3.2.9.
The s/w has a key import option, and it asks for the .pub file. I tried importing the .pub file ...
0
votes
1answer
30 views
How to upgrade ssh-keygen using yast2 or smart
The ssh-keygen which I have seems to be bit old. It doesn't have -m and -y option. I would like to upgrade to latest version. In both the tools, it says "ssh-keygen" package is not found. Could you ...
3
votes
2answers
148 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
2answers
320 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 ...
4
votes
2answers
125 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. ...
0
votes
1answer
633 views
ssh-agent and ssh-add
Does anyone know how to make it so that I don't have to add my keys manually using ssh-add? Every time I log into my Ubuntu server box, I have to start the ssh-agent and then use ssh-add before my ...
3
votes
1answer
1k 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
625 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 ...
0
votes
1answer
600 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 ...
0
votes
0answers
64 views
How do I set up an ssh keypair for a web user with no home folder?
The title basically says it all.
I have web user that needs to ssh a remote server. Said web user has no home folder. I have no root access to give it one. Has anyone had this problem before?
1
vote
1answer
170 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 ...
1
vote
1answer
342 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 ...
0
votes
6answers
144 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
2answers
107 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
157 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 ...
6
votes
3answers
3k 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, ...
2
votes
2answers
394 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?
1
vote
1answer
274 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, ...
0
votes
1answer
258 views
Authentication failure when connection
I am working currently on my server on an issue, I configured the SSH Deamon that only people who have a valid ssh-key can login on to the server, and kicked the password option
Now I've added a ...
1
vote
0answers
108 views
What is the purpose of the randomart generated by the ssh-keygen utility? [duplicate]
Possible Duplicate:
What is randomart produced by ssh-keygen?
Am setting up my git-hub stuff, and part of it entails creating public-private key pair using the ssh-keygen utility. But ...
43
votes
3answers
31k 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 ...
0
votes
1answer
2k views
How to set up VPN Connection with .p12 and ovpn file
Right, i'm quite new to linux 'Ubuntu 10.10' and i'm having a hard time trying to import keys and certificates for vpn connection to my work office server.
I have a .p12 file which is the key i'm ...
0
votes
2answers
315 views
Security issue with reusing rsa_id keys
I have been setting up a lot of virtual machines for different projects I'm working on. Instead of using ssh-keygen on each machine, I've been copying my id_rsa file from one of my machines to all the ...
2
votes
2answers
496 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.
...
0
votes
1answer
897 views
Adding a path to a ssh key file
I want to to make it so that when a file looks for a ssh key in /Users/skline/.ssh/id_rsa.pub it automatically also looks into the directory /var/root/.ssh/id_rsa.pub (where my ssh is actually ...
0
votes
2answers
1k views
Remove all the keys (credentials) from a PC
I gonna have to change my Windows PC with a colleague at office.
I've added a few rsa ssh keys while playing around with git, github, heroku and a few others.
What'd be the best way to remove all my ...
0
votes
1answer
95 views
ssh-keygen wont work
For centOs i am trying to configure a ssh key but it denies the approval.I tried this from the following link
http://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/internet/node31.html
For more ...
4
votes
5answers
3k 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?
1
vote
2answers
180 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 ...