The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
90 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
51 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
1answer
2k 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
1answer
37 views

SSH key generation command

Is it possible for an ssh user to generate symmetric key used to encrypt a session? I have read about asymmetric key generation using ssh-keygen. Is something similar available?
1
vote
1answer
153 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
24 views

linux/fedora ssh permissions through vpn ssh session

I'm not sure if I've worded the title correctly here but feel free to suggest/edit upon reading my question... So basically, the company that I work for have their own local git repository which ...
0
votes
1answer
19 views

How to setup ssh key login for a different user?

I am able to setup ssh key login for root user to my remote system from my local machine. Now I have created another user in my remote system like this, sudo useradd --system --gid webapps --shell /...
0
votes
1answer
19 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
33 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
34 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
319 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
582 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
216 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
399 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
272 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
527 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
267 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 (...
3
votes
0answers
117 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
0answers
138 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
0answers
466 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
20 views

Run script as certain user — depending on group membership

I'm trying to run a script which calls another server through SSH (through Pub/Priv key). However depending on the user (or better said, his/her group membership) who runs the script through sudo, I'd ...
1
vote
0answers
60 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 ...
1
vote
0answers
132 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 \ -oUserKnownHostsFile=/...
1
vote
0answers
83 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
149 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
43 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
1k 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
96 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 %h/....
1
vote
0answers
227 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
0answers
183 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
341 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
147 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
901 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
154 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
19 views

Configuring Bidirectional Host Based Authentication in SSH

I have 3 servers (Ruby, Sapphire, Onyx) that I have been trying to setup passwordless (host based) authentication between for all users. I've configured the machines to use host based authentication ...
0
votes
0answers
43 views

Using SSH key in bitbucket?

I'm trying to add SSH key to bitbucket.org account, but with no success. I added my public key in bitbucket profile settings, then changed my remote URL to be SSH. But trying to connect to remote, ...
0
votes
0answers
16 views

What is the easiest way to copy users from one server to another?

We have about 20 servers on AWS, and we could login only on one of them from local, if we want to log in on others we have to do it from this main master server but everybody use root user which was ...
0
votes
0answers
72 views

Problems with rsync and ssh-key

I created a ssh-key to log into my CentOS VPS, altered the default port to 2020 and disabled password connection, so I can only log in this VPS using the key (that need a password to be unlocked). My ...
0
votes
0answers
23 views

SSH key login as different user: what privileges do I have?

I am using SSH keys to connect to my server (call it ClownServer), which is a Windows2008R2 running Cygwin (whether that's a good idea or not is a topic for another thread). I have a non-admin ...
0
votes
0answers
79 views

cant ssh into home server, permission denied

After i failed to input the correct password to download a file from my homeserver my desktop can no longer ssh into it. Instead of accepting the desktops ssh key i get a password prompt that just ...
0
votes
0answers
47 views

ssh-copy-id not working on specific server

I have a server running Ubuntu. I'm not able to grant access to any client using ssh-copy-id: This is part of the sshd_config file in the server RSAAuthentication yes PubkeyAuthentication yes ...
0
votes
0answers
216 views

Can't connect to server with Filezilla using SSH keys on Windows 10

In windows 7 I have no problem to connect to my server using filezilla client with SSH keys. Then, on windows 10, using same process, same servers and same key files I can not log in. One thing I ...
0
votes
0answers
24 views

Key pairing with linux container using ssh

How do I setup a key paring in Linux containers (LXC) with root/username using ssh?
0
votes
0answers
83 views

Using .ppk file to ssh from a Mac

I have a .ppk file that I need to use to ssh into a server. I am using OS X Yosemite. I converted it to .pem file using this: puttygen keyfile.ppk -O private-openssh -o keyfile.pem However, when I ...
0
votes
0answers
777 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
72 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
44 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
109 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
votes
0answers
11 views

are SSH public keys automatically created and transferred with first contact?

so i just sent up an SSH server on my ubuntu server to transfer files between it and my other machines. now when i connected both ways, RSA public keys were created and stored it automatically. i ...