The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
21 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" ...
0
votes
0answers
24 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
1answer
13 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 ...
0
votes
1answer
34 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
26 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 ...
1
vote
1answer
55 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
33 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
37 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
votes
1answer
39 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
131 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
59 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
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
17 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
43 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
2answers
95 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 ...
0
votes
1answer
82 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: ...
0
votes
0answers
190 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
33 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
64 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 ...
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 ...
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
109 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
17 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 ...
1
vote
0answers
66 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
128 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
217 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
525 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
157 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
87 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
42 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
1answer
155 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
593 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
62 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
2k 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
25 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 ...
6
votes
2answers
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 ...
0
votes
1answer
32 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
135 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 ...
3
votes
1answer
2k 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
24 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
145 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
31 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 ...
3
votes
1answer
265 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
50 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!