The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
13 views

Launchpad says I don't have an SSH key, but I do

I keep trying to push to launchpad (or even connect via SSH), I keep getting an error: Launchpad user 'tay' doesn't have a registered SSH key Permission denied (publickey). Thing is, I DO have a ...
2
votes
2answers
28 views

Global ssh key on server to be used for all accounts

I work for a web development company that also manages the hosting of our customers websites.The hosting is shared and only on 3 servers. The webservers are Debian webservers where each customer has ...
0
votes
1answer
15 views

Cloning Ubuntu “clusters” with ssh access

I have a "cluster" with multiple Ubuntu (12.04) machines, all with the same accounts. From any machine, I need to ssh to any other machine. I set up ssh, generated keys, known_hosts file, and tested ...
1
vote
0answers
29 views

ssh command fails when run with ssh-dss as hostKeyAlgortihm

I am running two commands one after other. I run in the following sequence second command fails with error code 255 First Command: ssh -ladmin -oStrictHostKeyChecking=no \ ...
0
votes
1answer
10 views

Is using a password to ssh into one computer where my ssh keys are stored and then using those keys unsafe?

I know that it is much safer to use ssh keys than to use username and passwords. So my question is this: If I have to ssh into a a few servers from a box that I have never used before (so that I ...
0
votes
0answers
14 views

ssh-add not recognizing my key passphrase

I'm having a rather unusual problem on my installation which I can't find the answer. I created a new ssh key using ssh-keygen, and got it a passphrase. The key is working. Added to the hosts I want ...
1
vote
0answers
43 views

Can't login on server using ssh [Too many authentication failures]

I'm not able to login in the server. I keep getting this error: Received disconnect from 128.238.182.77: 2: Too many authentication failures for bmpasini It happened to me before and I solved by ...
0
votes
1answer
67 views

Gateway Server Jump Bastion Host Local Setup

I want to ssh to a remote private host using an intermediate (bastion, jump, gateway) server. This command works fine: ssh gateway ssh private With this ~/.ssh/config setup: Host gateway User ...
0
votes
1answer
143 views

Passwordless ssh for non-root user in Docker

I'm running into a curious issue I've never seen before when setting up password-less SSH between docker nodes for a non-root user. To set the stage, here's what has worked: For root user on node 1: ...
1
vote
1answer
42 views

Android app with ssh-copy-id ability

As the titles says, I would like to copy my ssh key to the server and afterwards disable root password login for security reasons. I'm using JuiceSSH but it seems to lack ssh-copy-id for the free ...
2
votes
1answer
64 views

Something I'm not “getting” about SSH keys: OS portability (Mac to Windows, etc.)

Let's say I create SSH keys in a Mac to connect to my remote server. My server has my public key. My Mac has my private key. So far so good. A few days later, I want to connect to my server by ...
1
vote
0answers
38 views

Passphrase when creating authentication keys for SSH server

It's clear to me why I would use a passphrase on my clients authentication keys, but what's the purpose of a passphrase for my server authentication keys? I've read trough a tutorial, where the ...
0
votes
0answers
80 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
38 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
83 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
42 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
96 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: ...
0
votes
0answers
37 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
294 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
18 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 ...
0
votes
1answer
499 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
1answer
27 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
0answers
116 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 ...
2
votes
1answer
345 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
22 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 ...
0
votes
1answer
59 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 ...
0
votes
0answers
41 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 ...
3
votes
1answer
200 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
1answer
49 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!
2
votes
2answers
52 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 ...
1
vote
0answers
572 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 ...
1
vote
1answer
304 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
34 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
30 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
60 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
63 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
0answers
41 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
37 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
32 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
250 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
37 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" ...
1
vote
1answer
2k 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
90 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
191 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 ...
3
votes
2answers
3k 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
3answers
148 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
1answer
97 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
350 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
212 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 ...