The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
13 views

linux ssh error while connecting to the host

I lately bought a host on godaddy, everything was working well until i started getting bothered to always have input the password and decided to use id_rsa to be able to get authenticated ...
0
votes
1answer
25 views

What is the HostKey?

In my sshd_config, there is three lines for the HostKey : # HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key HostKey /etc/ssh/ssh_host_ecdsa_key ...
65
votes
2answers
72k 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 ?
5
votes
2answers
314 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
0answers
14 views

ssh-agent forgets ssh keys

I try to use ssh-agent for passwordless authentication. However after adding my keys with ssh-add the passwords are only remembered for the session. The ssh-agent is started by gdm along with ...
16
votes
4answers
10k 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, ...
0
votes
1answer
53 views

Use SSH key to commit as collaborator on Github

I'm a collaborator on a private Github repo (owned by someone else), and although I have added an SSH key to my own Github account which allows me to authenticate when accessing my own repositories, ...
1
vote
1answer
72 views

Use private keys only from ssh-agent, avoiding “Too many authentication failures”

I store all my private keys encrypted in encfs file. I mount (decrypt) encfs file to folder, add all private keys to ssh-agent with a lifetime flag and unmount folder. In this case my private key ...
2
votes
0answers
24 views

Ubuntu unlock ssh key at every usage

I have an SSH private key and I would like to be asked for the password every time if it is used. I don't know how to do this... Thank you!
29
votes
7answers
20k 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 ...
2
votes
2answers
34 views

What do I do after generating SSH keys?

I have 2 Linux machines: My NAS at home and a server off-site. Call my NAS as "NAS" and the offset server "SRV". I need to be able to copy files from SRV to NAS securely, without having to enter a ...
0
votes
0answers
68 views

SSH is using the wrong folder on Windows 8, how can I change it?

I've been trying for the past 2 days to setup my server with passwordless SSH key logins and I just finally figured out my problem.. I'm on Windows trying to SSH into my Centos 7 machine using id_rsa ...
0
votes
0answers
18 views

SSH passwordless login failed with manual configuraion while `ssh-copy-id` succeeded

I'm setting up passwordless login on several Linux machines (Cent OS). I used ssh-copy-id to configure some machines and also manually set up others. What confuses me is that machines configured ...
0
votes
1answer
19 views

Missing ssh-keygen command on my system and need to generate keys

I guess the simplest answer would be install openSSH, however this is not so easy in my case. This is small router without packaging system, all is at flash disk. I don't want to install packaging ...
0
votes
0answers
28 views

Mac OS X 10.9 managing several identities for ssh-agent

IS: I need to use several private keys, which are stored under ~/.ssh to connect to remote hosts. That is, only one of them (stored in id_rsa) is read by ssh-agent when it starts with defaults, as ...
0
votes
0answers
27 views

connecting to Server via Reminna Remote Desktop

I am trying to connect to an ubuntu server via Reminna using RDP. I can connect via the command line with ssh -i privatekey.pem ubuntu@ipaddr But when I try to connect with Remmina using the ...
0
votes
3answers
112 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
22 views

Why doesn't github accept a GnuTLS generated public RSA key?

Using GnuTLS, I generated a private key with: certtool --generate-privkey --rsa --null-password --sec-param=normal --outfile=keys\github.asc Then retrieved the public key: certtool --pubkey-info ...
0
votes
2answers
35 views

How to ssh as another user

The remote server only allows account X to ssh to. Now, from my computer, I want to ssh to the remote server as account X without password. I generate the private key on my local computer and share ...
0
votes
1answer
26 views

ssh get old public key from backed up private key

I backed up and encrypted my private key but nothing else. I am trying to get my public key out of it but don't know how. I am trying ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub but it says ...
0
votes
1answer
141 views

ssh login with key can't connect although go an ssh key

I have my 2 servers that I want to connect one to another with ssh. I am the user --> userA in serverA, and I have this config file in .ssh folder Host git HostName git.OURSITE.com ...
0
votes
0answers
25 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
233 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
44 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
815 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
1answer
105 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 ...
0
votes
1answer
72 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 ...
15
votes
2answers
36k 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 ...
0
votes
0answers
86 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
77 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
195 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
95 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
81 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
62 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 ...
1
vote
3answers
2k 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 ...
3
votes
3answers
943 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
0answers
34 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
33 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
2k views

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

I got @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions ...
0
votes
0answers
35 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
1answer
7k 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
0answers
77 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 ...
3
votes
2answers
124 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 ...
2
votes
1answer
573 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
0answers
106 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
79 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
899 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
149 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
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 ...