The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
16 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
1answer
26 views

How to install secure OpenSSH server on Ubuntu?

I want to install OpenSSH server on Ubuntu. How to do it? I need to do the following: Set up OpenSSH server Set up ssh public-private key pair for user Disable password login Enable root user Set ...
23
votes
2answers
68k 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
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
2answers
68 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 ...
7
votes
3answers
2k 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 './...
2
votes
1answer
60 views

Strange ssh connection issue

Let me start by describing the situation. (Below RP = Raspberry Pi) In country A there is a RP 2 running raspbian jessie offering ssh. In country B I have my lan with a laptop, a RP B running wheezy,...
1
vote
1answer
24 views

Connect trough Cygwin without being asked for password

I'm trying to connect to a remote machine using Cygwin, the connection is successful problem is that it always asks me for the password. ssh -i ~/.ssh/id_rsa -o "StrictHostKeyChecking no" user@...
0
votes
0answers
41 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 ...
2
votes
3answers
8k 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
0answers
78 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 ...
6
votes
3answers
3k views

Running ssh-keygen without human interaction?

Would it be possible to run ssh-keygen without human interaction? I have a shell script that takes care of server deployment from start to finish, but ssh-keygen is the only remaining piece that ...
0
votes
1answer
22 views

SSH: fails with a private key, works with a copy of this same key

I want to establish a SSH connection between two Linux machines: client & server. I am using root account on both machines, and their linux distro is CentOS 7. I generated a pair of private-...
0
votes
1answer
40 views

Yet another “ssh agent forwarding not working”

I can ssh from hostA to hostB and from hostA to hostC using keys loaded into ssh-agent without any problems. However, if I do ssh -A hostB from hostA, then try ssh hostC from hostB, public key ...
1
vote
1answer
33 views

Trying to ssh into one server from two different networks results in two different RSA fingerprints

An attempt to connect to the remote server effingham.dreamhost.com via ssh from my company's network resulted in ssh giving an error about an RSA fingerprint mismatch, so I investigated and found that ...
0
votes
0answers
46 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
57 views

Ssh Key Generation Algorithm

Ssh provides more than 1 algorithm for encryption of session data. Is the performance of each different ? If so, which is the best one?
1
vote
1answer
40 views

Tell ssh to try all key files in ~/.ssh/

I have multiple keys in my ~/.ssh/ directory, each with a separate project name, for projects that have multiple servers each. id_rsa_project1, id_rsa_project2 However, ssh won't search for them. ...
1
vote
1answer
34 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?
110
votes
3answers
143k 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 ?
1
vote
2answers
120 views

How to make git not prompt for passphrase for ssh key on windows?

I'm using git with stash and I setup ssh key using ssh-keygen and each time I do something with a repo git ask me for passphrase for /c/Users/jankiewj/.ssh/id_rsa. Is there a way to disable that ...
-1
votes
1answer
43 views

SSH ForwardAgent access to github isn't working

I am working in a team with two other guys. We all have access to a server with our personal SSH keys and we can directly login to the server. We are using ForwardAgent, more specifically all three of ...
0
votes
1answer
167 views

SSH: Connection closed by remote host

Here's the setup, I have four machines: A: An Ubuntu box, acting as the ssh client; B: An iMac under El Capitan (OS X 10.11), the ssh server I want to connect to; C: Another iMac under Mavericks (OS ...
0
votes
0answers
22 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
68 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 ...
11
votes
1answer
2k views

“Permission denied (publickey).” after update of Cygwin

I updated Cygwin and I can no longer SSH into any remote machines. Here is the relevant debug output from SSH; What is happening? debug1: Server host key: ssh-rsa SHA256:...
0
votes
1answer
23 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
18 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 /...
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 ...
0
votes
0answers
46 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
1answer
91 views

SFTP not switching to password mode

Two servers, synced configs and ssh keys. When connecting to the destination, first server switched to the password mode: debug1: Authentications that can continue: password,publickey,keyboard-...
77
votes
9answers
73k 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
0answers
204 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?
1
vote
1answer
40 views

how to correct two host names in known_hosts

I'm trying to use ssh-keygen -R to remove a host line. However, each time I attempt this I get a zsh: no matches found:. When I look at the known_hosts file the line I want to modify starts like this [...
0
votes
0answers
72 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
1answer
24 views

prevent file copying not via permissions

Is there any way I can prevent a file from being copied? I don't mean via the file system, but I mean by somthing that must change if the file was copied, like some sum or timestamp My goal is to ...
36
votes
4answers
21k 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, ...
1
vote
0answers
58 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
50 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
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 ...
1
vote
0answers
124 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=/...
0
votes
1answer
18 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
1answer
405 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?
1
vote
0answers
134 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
228 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 ...
4
votes
4answers
1k 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
1answer
578 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: ...
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
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 ...