The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
15 views

ssh key works on terminal but not on git

I have my machine, with it's ssh key. the public key is on the git remote machine. I can easily connect to the Git machine with simple ssh threw terminal. The problem is when I perform a "git pull" ...
0
votes
1answer
35 views

How to convert a WinSCP ppk to .CER/.PEM format acceptable by Azure Linux VM?

Googling was fruitless, as most people have a slightly different variation of this problem. I need to write some instructions on how to set up an Azure Linux VM and generate the keys using WinSCP. ...
1
vote
1answer
23 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. ...
0
votes
1answer
35 views

can not load private key using ssh-add

I tried to create a ssh key by doing following command: ssh-keygen -t dsa then it prompts me to enter store path: Enter file in which to save the key (/Users/KesongXie/.ssh/id_dsa): id_dsa after ...
1
vote
2answers
58 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 ...
0
votes
2answers
76 views

Connection closed by [SERVER_IP]

I'm not a guru of ssh but somehow I cannot connect to server with IP and username: ssh -p [PORT] [USERNAME]@[SERVER_IP] Response is always: Connection closed by [SERVER_IP] The problem is on the ...
0
votes
0answers
31 views

Can one set up a one-way unison sync ssh key?

I'm using unison to keep a folder synchronized between computers in a star topology. Access to the central computer is through ssh. Is there a way to set up a specific ssh key that only allows a leaf ...
0
votes
1answer
29 views

ssh-agent on ubuntu rapidly restarts

I am attempting to use ssh-agent on Ubuntu 13.10 so that I will not have to enter my passphrase to unlock a key every time I want to use ssh or git. As you can see below, ssh-agent appears to be ...
0
votes
1answer
64 views

Unable to SSH into remote server with defined user & keyfile

This one is just bugging me, I can ssh in as USER when I am using USER account ie: USER@SERVER$ ssh -v USER@ip-SERVER2 logs in just fine if I try and use USER2@SERVER$ ssh -v USER@ip-SERVER2 ...
1
vote
2answers
59 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 ...
0
votes
1answer
39 views

Should I add keystore files to version control?

Is there any reason to not store keystore files in version control? Is there a security risk to doing so?
0
votes
0answers
13 views

SSH key on OSX 10.9 [duplicate]

Hy, I've got a MacBook Pro yesterday, and I'm trying to connect to the webserver with SSH key. I've found "sshkeychain" but when I want to add a key (which created on windows with putty) it says ...
0
votes
0answers
33 views

Questions to ssh connection with keys

I think of using sftp as transfer for backups and using keys instead of passwords. I understand it works this way: I've got 2 servers: server1 and backup I want server1 to connect to backup and ...
0
votes
0answers
28 views

Is there any way to have an LDAP ID on a Windows Domain Controller store an ssh key as an attribute?

For my domain we have a Windows Server 2008 Domain Controller set up for central management of IDs within the group. A subset of our devices are embedded Unix appliances where currently the IDs are ...
2
votes
1answer
871 views

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

I got @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions ...
0
votes
0answers
34 views

passwordless ssh-keygen not working [duplicate]

I've seen many pages on ssh problems similar to this but so far none of them answer my question. I've been trying to set up passwordless ssh for a while now with little success, I'm creating a blank ...
1
vote
0answers
61 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
1answer
4k 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 ...
0
votes
0answers
51 views

SSH keys cached remotely?

I wanted to install a new public key on a remote server. I created a keypair using ssh-keygen -t rsa on my Macbook, then added its public key to authorized_keys on the remote server. It is the only ...
2
votes
1answer
451 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 ...
3
votes
2answers
110 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 ...
1
vote
0answers
76 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 ...
0
votes
0answers
72 views

ssh does not try to provide private keys for github over ssh

I uploaded my public key to github and have my private key in ~/.ssh/id_rsa. Even after adding RSAAuthentication=yes and PubkeyAuthentication=yes in ~/.ssh/config, ssh does not seem to try any of the ...
1
vote
1answer
665 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
85 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 ...
0
votes
1answer
94 views

Lazy ssh key prompt for command line

My question is (very) similar to lazy prompt for ssh public key passphrase but the answer provided there (using GNOME keyring) doesn't really fit the bill (I'd rather have no reliance on X or any ...
0
votes
1answer
75 views

SSH hangs upon login on Mac OS X Mountain Lion

About a month ago trying to SSH into servers (various ones, from various physical locations) started taking around 40 seconds to resolve. I tried tracing the problem, but without much success. I know ...
1
vote
1answer
215 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
0answers
201 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. ...
0
votes
1answer
122 views

How to make ssh remember unlocked ssh-keys not in default directory

I structured my private/public-keys in a subfolder of ".ssh" called "keys". Mapping is done by a .ssh/config file. Now I have to retype the passphrase for every key every time I use it. Before this ...
0
votes
1answer
709 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 ...
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 ...
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 ...
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 ...
1
vote
1answer
132 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
750 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 ...
3
votes
1answer
51 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
211 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
251 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
112 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
141 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
133 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
112 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
148 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
1answer
190 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 ...
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
0answers
688 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 ...
0
votes
5answers
1k 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
291 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
95 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 ...