The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
7 views

Permission denied error while running ssh-copy-id for different user

I am getting permission denied error while trying to run ssh-copy-id to install public key of user2 to user3 on same host using user1 shell as below: user1@localhost$ su - user2 -c ...
0
votes
0answers
9 views

Keytool without SubjectKeyIdentifier, keyIdentifier,

Hey I am trying to generate a key using Keytool that is as small as possible. Unfortunately, I don't know how to prevent keytool from adding that "extensions" part to the .RSA file that is being ...
0
votes
0answers
25 views

Unable to git fetch - Connection reset by peer

I have a PHP script handling the automatic deploy to my pre-production server, using Bitbucket's hooks. The deploy script is based on this post. Everything was working fine until this Sunday. Since ...
0
votes
1answer
18 views

How can I generate weak SSH keys?

I'm trying to put together a demonstration of the increasing difficulty of cracking SSH / RSA keys. Ideally, I'd like to demonstrate cracking a 64-bit key, then a 128-bit, 256-bit, then, (possibly) a ...
0
votes
0answers
22 views

ssh-copy-id public key denied

I'm trying to copy my public ssh key to my vps, so I can log in with ssh. However, when I enter the command: ssh-copy-id me@myserver I get this error message /usr/local/bin/ssh-copy-id: INFO: ...
1
vote
1answer
142 views

How to 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, ...
0
votes
0answers
24 views

Ask for SSH key password every time

I am trying to set up 2 factor authentication to SSH in some of our servers and I would like to prompt for password EVERYTIME you are trying to access it. I could set up a password on my key doing ...
3
votes
1answer
89 views

How to use putty for forwarding keys

My situation : - I am connecting from my PC (Windows7) to the server A via (using my private key and my password) with a userA - I'd like to connect from A to the server B via a command ssh: ssh ...
0
votes
1answer
12 views

Does SSH only use a key named id_rsa?

I created my own key named my_ssh_key_rsa, followign the steps illustrated here: http://www.linuxproblem.org/art_9.html Even though I added it correctly to the authorized_keys file on the remote ...
39
votes
7answers
27k views

How to fix warning about ECDSA host key

I'm trying to setup password-less 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 ...
0
votes
1answer
82 views

To use ssh-id-copy do you need both id_rsa.pub and id_rsa?

I am trying to setup a second access ssh key for a friend. He sent me his id_rsa.pub. ssh-copy-id -i id_rsa.pub root@123.123.123.123 /usr/local/bin/ssh-copy-id: ERROR: failed to open ID file ...
0
votes
0answers
34 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
1answer
17 views

SSH issues on centos

I'm trying to switch all of my servers to ssh key auth logins. I have it working with some servers but for what ever reason my new centos server is not working correctly. I am on windows and using ...
2
votes
3answers
9k 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 ...
2
votes
0answers
55 views

ssh-add on compute engine ubuntu vm for out going

I have an id_rsa key that I use to connect via scp to a remote server that I've moved to my Ubuntu GCE. I have dropped the key (id_rsa) into main user .ssh folder, chmod 600 but ssh-add won't pick it ...
1
vote
1answer
87 views

How to add PEM file as SSH private key to “known hosts”

I have Ubuntu desktop, and I have been given a PEM file (mykey.pem) that is the SSH private key for a Linux server. I am trying to figure out where this PEM file needs to be placed locally on my ...
0
votes
1answer
21 views

Can sudoers on a server use my ssh keys if I generate them with a password?

If I set up ssh keys for ssh login (to GitHub for example) from a server that I have access to, can sudoers on that server use my ssh keys if I generate them with a password (assuming they cannot ...
2
votes
0answers
39 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!
0
votes
1answer
33 views

How can I force SSH to ignore the IdentityFile listed in “Host *” for one specific host?

My SSH config file is set up to use a specific IdentityFile in the Host * section as the default key. For one particular host, I want to offer a different key (and only that key, never the default ...
0
votes
1answer
26 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 ...
75
votes
2answers
83k 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
354 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
23 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 ...
21
votes
4answers
11k 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
1answer
150 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
2answers
39 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
211 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
32 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
23 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
40 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
39 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
128 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
2answers
36 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
201 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
31 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
687 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
61 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. ...
2
votes
2answers
2k 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
106 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
103 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 ...
16
votes
2answers
42k 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
103 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
89 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
272 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
140 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
118 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
78 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 ...