The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
1answer
17 views

how to cause man in the middle error on ssh login

I want to cause this error message: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
0
votes
0answers
17 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 ...
-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 ...
1
vote
1answer
14 views

How does my server pick which key it uses with an SSH client?

In the /etc/ssh/ directory there are three different keys: ECDSA Key RSA Key and ED225519 Key How does my server choose which one it will use during a connection? Generally when I connect to ...
0
votes
0answers
38 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
57 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 ...
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 ...
2
votes
1answer
80 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
26 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
65 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
47 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
47 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
37 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
61 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
36 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
47 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
47 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
202 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
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
78 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
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 /...
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
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 ...
1
vote
2answers
127 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
100 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-...
0
votes
0answers
214 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
42 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
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
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 SHA256:...
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 ...
2
votes
2answers
53 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
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=/...
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 ...
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
142 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
235 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
618 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
191 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
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 ...
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
177 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
760 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 ...
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 userB@...
0
votes
1answer
26 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 ...
7
votes
3answers
3k 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 './...