an authorization mechanism for SSH involving public-key cryptography.

learn more… | top users | synonyms

1
vote
1answer
13 views

Can't get SSH ProxyCommand to work (ssh_exchange_identification: Connection closed by remote host)

I'm unsuccessfully trying to use SSH ProxyCommand to connect to a server via a jump box. My config is below, I'm running this command: ssh 10.0.2.54 -F ssh.config Host x.x.x.x User ...
0
votes
1answer
42 views

Cannot clone private repositroy from the docker container

The problem I'm trying to clone private repo from gitlab (self-hosted) during the gitlab build. I'm using ssh private key without passphrase, but got an error key_load_private_type: incorrect ...
-2
votes
1answer
31 views

SSH — allow login with public key only / disable login with password [duplicate]

I am quite new to server administration and I am not doing it very often. Today I wanted to secure my server, especially the ssh server. Is it possible to configure ssh so that only users can login if ...
1
vote
2answers
29 views

Is there any way to change the key pair on a windows ami in aws

The situation, I've inherited a windows infrastructure in AWS. The ami's were created with someone else's keypair who has now left the business. I have a requirement to remove those keys. The way I ...
2
votes
0answers
41 views

EC2 SSH Login Temporarily Hangs on “Entering Interactive Session”

I've been researching this for hours now, can't figure out why this is happening. Originally marked it as internet but checked my speeds (37 down, 10 up). I went from California to Oregon, and since ...
43
votes
4answers
2k views

What significance does the user/host at the end of an SSH public key file hold?

I can’t figure out why does an SSH public key file generated by ssh-keygen have a user and host at the end of it. Example: id_rsa.pub ssh-rsa ... rest of file ... /CA9gyE8HRhNMG6ZDwyhPBbDfX ...
0
votes
2answers
25 views

How to allow both/either public key and/or password authentication

I am trying to get Komodo to connect to a remote server. However, as I understand it, Komodo doesn't support public ssh keys. I edited the /etc/ssh/sshd_config file and set both ...
0
votes
1answer
34 views

Connection timed out when trying to SCP from one EC2 instance to another

I'm trying to SCP from one ec2 instance to another (via SSH client). Both server use the same keys. My initial investigation into this led me to believe this would all be possible by using ...
0
votes
2answers
39 views

getting permission denied when using ssh

I am trying to setup ssh access using keys - I have added my public key to the .ssh directory on the server. I restarted the ssh service on the server as well. When I logon from my local computer to ...
0
votes
0answers
53 views

SSH Connection To Joyent Instance Using PuTTY - server refused our key error

I have a Joyent account with a Linux Unbuntu 14.04 Instance created on it. I'm trying to connect to the instance using SSH. I'm on a Windows machine using FreeSSHd for my SSH server, PuTTY Key ...
-1
votes
1answer
28 views

ssh key unlock password some hosts some not

I'm having some issues which i can't figure out, i guess it's a noob question but its giving me a hard time. I have multiple servers, you can only connect via SSH with a key. They all have the same ...
1
vote
1answer
16 views

Are default parameters to 'openssl genpkey' sufficiently secure? [closed]

I know very little about openssl so I'm wondering whether the default parameters to openssl genpkey are sufficiently secure. If I run openssl genpkey -algorithm rsa I get a private key. But is it fine ...
-3
votes
1answer
48 views

Cannot SSH in as root using Key

I have searched through serverFault and cannot rectify my problem. An explanation: Ubuntu 14.04 - I am able to SSH into the server using user amenczykowski with a key. I am unable to SSH into the ...
2
votes
0answers
27 views

Forced to change expired password when using ssh key

I am working in an environment where I have an account on multiple linux machines where accounts and passwords are managed independently (no active directory/LDAP/etc) and passwords expire every 30 ...
1
vote
1answer
50 views

Dropbear+OpenSSH: share keys

I have set an encrypted LVM partition on my personnal server (Debian Jessie). So everytime I need to reboot it, I have to connect to dropbear which is installed in initramfs, unlock the disk, close ...
-1
votes
1answer
26 views

Two accounts need new SSH keys

I've got two accounts which are used for automated file uploads on a server and company policy requires that they are updated after 3 years. I wasn't here 3 years ago and I've not done this before. I ...
9
votes
2answers
312 views

Method to deprecate SSH key Pair locally

I've using my ssh-keys for a while. I'm thinking about to upgrade my ssh key pair to a stronger encryption and i dont know all devices where my keys are registered. Is it posible to "deprecate" a SSH ...
-5
votes
1answer
34 views

Openssh key to access remote sftp server from RHEL [closed]

I have generate public key and private key in windows 7 through puttygen then change the key to openssh in puttygen through export key. Now I want to use this openssh key to access my sftp server from ...
1
vote
1answer
42 views

users to connect SFTP server with openssh key [closed]

I want to be able to allow users to connect to my SFTP server with openssh key which I generated in keygen. How would I accomplish this?
0
votes
2answers
57 views

Public SFTP server directory with no password or keyfile

I want to be able to allow users to connect to my SFTP server under a restricted user that only has read access to view files in a certain directory that I upload to without it requiring a password or ...
0
votes
0answers
40 views

How to save ssh-keyscan result with the port to .ssh/known_hosts

When I run ssh-keyscan -p NNN -t rsa GITHOST it produces sting like GITHOST ssh-rsa ...
1
vote
0answers
96 views

Enabling SSH for deploy of a bitbucket git repo

I'm trying to deploy my git repo to my server. To make this work I first needed to setup ssh on my locale computer and on my server. for bitbucket I followed ...
1
vote
3answers
325 views

is it safe to exchange a systems server ssh-keys?

Instead of exchanging ftp/sftp credentials over email is it safer to to exchange a systems ssh-keys over email? If a person didnt have the physical ssh private file, would a hacker be able to gain ...
0
votes
2answers
66 views

One SSH Key for multiple Ubuntu servers + Windows + Teamcity

I want to use the same SSH key to access multiple Ubuntu servers. The reason for this is that I want to deploy our application in DEV, STAGING, PROD, LOCAL environments through a CI server. We use ...
4
votes
2answers
200 views

Ansible with SSH keys

Moving from Puppet to Ansible. Like the fact that it is agent less and SSH driven. I just setup two test VMs. One as the Ansible server (yes overkill), and the other as an example client (random Linux ...
0
votes
2answers
165 views

commands in authorized_keys

I've created an SSH non root/non super user with an authorized_key to remotely login to my server and shut it down however, i'm trying to do this from within the authorized_key file by using the ...
-3
votes
1answer
66 views

How to remove SSH public key? [closed]

I have an embedded device with Linux on board and ssh daemon. Users connect to that device using public key authentication. They generate rsa keys, when send it to me and I add them to ...
15
votes
4answers
835 views

SSH into NAT'd servers on the same public IP address

I am trying to SSH from in office X to a few Linux boxes in office Y. The Linux boxes in office Y are behind NAT and each run on their own ports. I can successfully reach all of them through SSH, but ...
1
vote
3answers
158 views

How does google compute engine create users and how to disable them?

I've got a CoreOS cluster running on GCE and one issue that I've noticed with all GCE instances is that as long as you're auth'd with the project on Google Cloud platform, you can login in as pretty ...
2
votes
1answer
78 views

Add two or more SSH keys to a user, in puppet

I need a solution to be able to add more than one SSH ´key´ to one user. class user { user { 'k': ensure => present, comment => 'bogo user', home => '/home/k', managehome ...
3
votes
1answer
122 views

Git: expire ssh keys just like passwords expire?

I'm setting up git in a corporate environment. Git operations will be primarily though SSH using a single account with SSH keys used for access control. (http will be used for account configuration, ...
0
votes
2answers
547 views

How do I generate SSH keys on a Google compute engine windows instance

There are a multiplicity of articles on the web about setting up SSH on Google compute engine for Linux instances but a lack of ones describing how to successfully generate them for a windows ...
2
votes
1answer
129 views

How to make ssh send a certificate for a key stored on a smartcard

I have a gpg key I use through a smartcard (yubikey neo) to ssh to many hosts. Some of these hosts use certificates as well as keys to authorize logins. For normal keys that are stored locally there ...
0
votes
0answers
26 views

Provisioning Vagrant Environments Capable of Cloning Repos Immediately

For some reason, I am having an incredibly hard time getting a working solution for this. We are ATTEMPTING to use Vagrant to provision our development environments. In regards to this post, our ...
0
votes
2answers
216 views

AWS CloudFormation give EC2 instance SSH Keys to other servers

I'm creating an EC2 instance using CloudFormation. The first thing I want to do is checkout a git repository containing puppet manifests. To do this I need an SSH key. What is the best way to get the ...
-4
votes
2answers
406 views

How can you re-download your personal key (pk) .pem file? amazon [closed]

i only remember my key name ,how can re download my key pair in my computer,or how can i attach new keypair to my instance
0
votes
1answer
38 views

Fail to login to sudo user on VPS

VPS Supplier: DigitalOcean OS: Cent OS 7 Client: Mac OS X 10.10.3 bash Root I login as root and created a sudo user me. Then I configured the /etc/ssh/sshd_config as following: RSAAuthentication ...
30
votes
2answers
1k views

Is there a security risk to disclosing your SSH known_hosts file?

I'm speaking at a conference next week about some software tools I've created. My laptop will be shown on a projector screen during this presentation. The presentation will be videotaped and posted ...
3
votes
1answer
101 views

How many SSH private key to setup for multiple servers?

The general process is to generate a pair of public and private keys and upload the public key to the server for SSH connection. Then, if I have to manage a large amount of servers, am I supposed to: ...
-3
votes
1answer
38 views

ssh How dose a second user log in with a ssh key file?

I am new to VPS, I have linux centos 6 and have followed instructions here to get started. I have create ssh key for the root user from instructions here I have disabled root log in and created a ...
2
votes
2answers
43 views

Restrict access to .ssh folder over network shares

I run a small server running Ubuntu Server 14.04 and have just noticed that the .ssh folder in the users home directory is accessible via SMB and NFS. The SMB and NFS are both secured, however I ...
0
votes
1answer
23 views

SSH: Login to local pc by key

I got a little problem. I'm using apt-dater to keep different linux-systems updated. Apt-dater uses ssh to login to these systems - there's no problem by doing this. To connect to localhost, the ...
0
votes
0answers
711 views

PEM_read_PrivateKey failed

I'm trying to use ssh to log in to AWS from OSX Mavericks and having a hell of a time. I enter: ssh -i ~/.ssh/filename.pem ec2-user@ec2-xx-x-xxx-xx.compute-1.amazonaws.com -v And I get this, as ...
0
votes
2answers
30 views

Multiple Servers, Multiple ssh Keys, Unique ssh keys for Infrastructure servers

Ok so I've done a bit of googling and haven't come across an answer. We have multiple servers in our environment and around 5 infrastructure servers. Then we have one server that we can ssh to all ...
0
votes
1answer
97 views

Deleted authorized_keys from EC2 but still have PPK file and I'm connected

I just deleted my full ec2-user/.ssh/ folder and I want to recover the keys so I can access my EC2 server without stopping and starting it. I have on my computer a PPK file that has something like ...
11
votes
1answer
909 views

Are there any security benefits to deploying custom SSH DH groups to client-only systems?

One suggested mitigative strategy against Logjam-related attacks on SSH is to generate custom SSH Diffie-Hellman groups using something like (the below being for OpenSSH) ssh-keygen -G ...
0
votes
2answers
226 views

Add multiple SSH keys to a new server

I know I can do the following to copy an SSH key ssh-copy-id user@server.com but when I deploy a new server, I need to authorize multiple SSH keys to it. Is there anyway to make life easier for ...
1
vote
2answers
97 views

To generate key for AWS server using ssh-keygen from .pem for PuTTY

AWS gave me a private key in the format of .pem. I am trying to use it with PuTTY but failed and I read I need to generate a key with PuTTYgen but PuTTYgen is only for Windows. So I am trying to use ...
4
votes
1answer
88 views

How to disable ALL authentication in sshd? [closed]

Here's a question that I have found absolutely no answers for: how can you configure sshd so that anybody can freely SSH into the box without password or key authentication? The objective is to allow ...
-3
votes
1answer
601 views

Connecting AWS from Windows. Error: Using username “ec2-user”. Server refused our key

I am connecting AWS EC2 using Putty from Windows 8, I followed all steps mentioned on this page of conversion of .pem to .ppk and have loaded .ppk in Putty. Putty Configurations: Host Address: ...