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
0
votes
2 answers

Tie SSH key with MAC address

I have a ubuntu server which I scp files to often. It is setup for password-less authentication using a key I have on the server. Is it possible to tie a mac address to the key so that only my client can login with it?
zach
  • 31
  • 2
  • 3
0
votes
3 answers

can ssh from host A to B, but not from B to A

The authorized keys files on both machines are the same. So, I am unaware of any other thing to check .. On the one that works (host A->B) I get .. debug1: Authentications that can continue: publickey debug1: Next authentication method:…
Don Wool
  • 111
  • 3
0
votes
2 answers

Working out some quirks of a master SSH server

I am starting a web hosting company and there are a few details that I have yet to figure out, one of them being some sort of SSH VPN to connect to our servers running CentOS 6 with cPanel. So this is what I am looking to do... 1) Have a master…
Kyle Ross
  • 103
  • 4
0
votes
1 answer

Tool for managing ssh keys in a server cluster

I have couple of Debian servers and currently I am struggling around with adding manually ssh keys to the server's authorized_keys files. Do you know an application which can do this in a nice semi-automated way? Ideally with a nifty interface,…
disco crazy
  • 277
  • 6
  • 14
0
votes
1 answer

Unable to connect to a linux box from a windows box using keys

This is the dumbest thing because I have done this a load of times before and never had issue so I am sure I am just doing something daft but I can't for the life of me figure it out. I am trying to connect from a Windows 7 machine to a Linux box…
Toby
  • 630
  • 2
  • 7
  • 17
0
votes
1 answer

Gaining access to remote server over SSH from the same machine but with a different IP address

If a user can access a remote machine using SSH ok but then their static IP address changes and they find they can't access the machine, what's the problem? I don't want to destroy the user's current public key by generating a new one because then…
ale
  • 933
  • 2
  • 10
  • 13
0
votes
2 answers

How to enable SSH key login on CentOS 5.5?

I'm trying to setup SSH login on a CentOS 5.5 on an OpenITC VPS. I should say this doesn't appear to have SELinux installed, as commands such as sestatus don't work. I currently have two users, root and M. I wasn't sure where to put the…
doveman
  • 3
  • 1
  • 2
0
votes
1 answer

SSH public key authentication without DNS entry

Server A thinks it is called foo.bar.com, but actually there's a problem (not in my control) with the DNS registration, so I connect to it at 192.168.1.1. I want to be able to scp from there to server B using public key authentication. I did…
Steve Bennett
  • 5,750
  • 12
  • 47
  • 59
0
votes
1 answer

Freebsd ssh key doesn't work

I have a problem with ssh key on freebsd vps. I generated a key and it works on debian. i usually just copy paste it to ~/.ssh/authorized_keys and it starting to work. In freebsd it doesn't. I tried to put it into ~/.ssh/authorized_keys2 still…
holms
  • 1,524
  • 7
  • 20
  • 37
0
votes
1 answer

Can not log in to Amazon EC2 instance (Beginner)

I am having difficulty logging onto my Amazon ec2 instance. I set it up, downloaded the key. At first it complained because my permissions were setup correctly. Then I executed: chmod 400 myKey.pem. When I try to log in, I still get: …
codingJoe
0
votes
3 answers

ssh-agent forwarding Ubuntu 10.04.03 LTS

What started as an annoying issue a few weeks back, is now driving me mad! At home, I have a Ubuntu 10.04.03 box which acts as a fileserver. I backup things on it via rsync from other boxes, outside the network. When I connect to this fileserver,…
gerhard
  • 73
  • 2
  • 9
0
votes
1 answer

Issue with executing commands with passwordless ssh

After placed public key at 171.201.231.20(windows machine with openssh installed)executed the command: ssh -vvv Administrator@171.201.231.20 ping -help from HP-UX machine it is not executing. Below is the ssh command trace. please help me to know…
kishore
  • 21
  • 5
0
votes
3 answers

passwordless ssh not working

I've tried to setup a password-less ssh b/w A to B and B to A as well. Generated the public and private key using ssh-keygen -trsa on both the machines. Used the ssh-copy-id utility to copy the public-keys from A to B as well as B to A. The…
Cuurious
  • 3
  • 1
  • 4
0
votes
2 answers

RSA fingerprint changed after moving EBS and EIP to new instance

I'm running ubuntu on an EBS-backed EC2 instance. In order to change the security group of my instance, I followed the instructions here for moving the ebs volumes to a new instance. Then I reassigned my elastic ip to the new instance. Now ssh…
0
votes
1 answer

Adding an ssh key to a Xen VM

I recently needed to restart a Xen host box, and now I can no longer ssh into the VMs. I was able to before, but now I get Permission denied (publickey). I am not too experienced with Xen, is there a reason it would have removed or overwritten the…