The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
106 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 ...
2
votes
1answer
61 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 ...
2
votes
1answer
46 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!
1
vote
1answer
84 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
1answer
1k 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 ...
0
votes
1answer
13 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 ...
0
votes
1answer
416 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
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
1answer
29 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
1answer
243 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
1answer
331 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 ...
0
votes
1answer
178 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
264 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 ...
0
votes
1answer
233 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
292 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
409 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
248 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 ...
2
votes
0answers
111 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
0answers
19 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 \ ...
1
vote
0answers
36 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 ...
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 ...
1
vote
0answers
484 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
0answers
84 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
0answers
136 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 ...
1
vote
0answers
220 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
0answers
300 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. ...
1
vote
0answers
131 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 ...
1
vote
0answers
819 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
148 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?
0
votes
0answers
12 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 ...
0
votes
0answers
73 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
30 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
65 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
0answers
74 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
33 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 ...
0
votes
0answers
40 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 ...
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
0answers
58 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
59 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
0answers
36 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
0answers
99 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 ...
0
votes
0answers
91 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 ...