Questions tagged [ssh-keys]

an authorization mechanism for SSH involving public-key cryptography.

SSH keys are an authorization mechanism for SSH involving public-key cryptography. It consists of

  • A private/public key pair generated by a utility like ssh-keygen.
  • A configured (in /etc/ssh/sshd_config) SSH daemon that allows public key authentication.
  • A configured user account that has the public key copied to ~/.ssh/authorized_keys.
792 questions
2
votes
1 answer

SSH failing to connect, No supported key exchange algorithms

There are numerous questions with the same title however none of the solutions apply to my issue. I get the following lines of error in my sshd log: Jan 6 21:57:55 sshd[30103]: Received signal 15; terminating. Jan 6 21:57:55…
Arijoon
  • 129
  • 1
  • 1
  • 5
2
votes
1 answer

CoreOS / Docker "$ fleetctl satus my.service" - ssh: handshake failed

Digging in to CoreOS clusters with Docker and have come upon a SSH issue while trying to learn how to work with fleet. Deploying, running services etc goes well. SSH auth problem occure when executing status on fleetctl. $ fleetctl status…
2
votes
1 answer

Accept any SSH connection irrespective of client key

Imagine I'm setting up a honeypot, what would be the quickest way to setup SSHD to just accept any connection? and yes, this is really insecure, so please don't copy :-) Might be useful (put pam_permit on the auth stack)... I just don't have much…
Craig Francis
  • 633
  • 1
  • 8
  • 23
2
votes
2 answers

Puppet sshkey collection for non-puppet systems

On my systems I use the exported resources, and resource collection to manage the /etc/ssh/known_hosts ref of my systems. This works great for all my SSH hosts that are managed via puppet. But I also have systems that are not managed by puppet…
Zoredache
  • 130,897
  • 41
  • 276
  • 420
2
votes
2 answers

Laravel Forge SSH on windows not recognized

I decided to try out the Laravel Forge, but I'm having trouble with the SSH keys. I use digitalocean.com for the VMs and have used SSH keys with success many times before. However when I paste my public key into Forge (which adds it to the server)…
alysdal
  • 105
  • 1
  • 2
  • 7
2
votes
0 answers

ssh to ILO on a DL380 gives key_verify failed for server_host_key

When I try to do connect to the ILO 4 of a DL380 I get the following error: ssh -vvv ilo@me2_ilo OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2:…
user221642
  • 21
  • 2
2
votes
1 answer

How do I properly generate a keystore for ssl?

I'm trying to get an ssl certificate from godaddy for use with jetty. These are my steps: keytool -keystore keystore -alias jetty -genkey -keyalg RSA -keysize 2048 What is your first and last name?: example.com What is the name of your…
user211262
  • 21
  • 1
  • 2
2
votes
3 answers

Disabled root login for SSH in Centos 5.9, key login no longer working

I have a Centos 5.9 server which I have previously configured to access via SSH key login and this has been working fine for many months. I recently had to have an issue resolved remotely which required me re-enabling the root login temporarily.…
Rick Curran
  • 133
  • 7
2
votes
3 answers

To add security to SSH-keys from Man-in-middle-attacks

I would like to get Mobile-phone verification or something else besides the SSH-key verification. How can you add defence to the SSH-keys?
2
votes
1 answer

Why do I have to log into ssh with my password once per day?

When I try to ssh using an encrypted key held in ssh-agent, I get the following (using ssh -vvv): debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/cowens/.ssh/id_rsa debug3: send_pubkey_test debug2: we sent a…
Chas. Owens
  • 2,053
  • 2
  • 21
  • 24
2
votes
0 answers

Linux TACACS+ auth for SSH but allow users to use public key auth

we have running tacacs environment for centralised login to our routers, firewalls etc and even most of our linux boxes to ssh what we would like to do is allow users to authenticate to SSH via public key auth rather than having to type there…
anthonysomerset
  • 4,233
  • 2
  • 21
  • 24
2
votes
2 answers

Is it wise to use very secure password for sudo users when using SSH Keys for server login?

I am not asking how to do anything here, rather trying to understand best practices and the "right" way to handle server security. To prevent brute force password attacks, I have secured my server in a number of ways, one of which being password…
JM4
  • 1,144
  • 3
  • 18
  • 29
2
votes
2 answers

SSH login fails for EC2 instances created from image of working EC2

I have a functioning EC2 instance with several users, some of whom are chrooted to their home directories, some of whom are ftp-only and have no shell access, etc... ec2-user is the main admin account, though others also have root access and full…
2
votes
1 answer

OpenStack EC2 Ubuntu cloud image -- SSH host keys were changed after emegency reboot

Recently one of our servers was hanged due to IPMI BMC failure. It is CentOS 6.3 OpenStack compute host serving KVM vitual machines with qcow2 backend. There was running a VM based on EC2 Ubintu could image…
2
votes
1 answer

How can I add private key to windows credentials manager?

I have a linux macheen that uses a public key/private key login. I am trying to add a private key (with password) to windows 7/8 credentials manager. I use pageant right now but i would like for a more permanent solution, maybe without having to…
codiac
  • 689
  • 1
  • 6
  • 8