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

the theory of SSH public and Private key and its application in realworld machines

there. In this question, I have a very specific one about public and private keys. So Public keys should be put on the opposite side. For example, if we have a server, the public key of the server should be put in the user's machine And the user's…
Sina M
  • 3
  • 1
-2
votes
1 answer

Management of password disable server

This question is just for curiosity. I am studying a bit of server administration and have seen many people saying that having passwords is a bad idea and they should be disabled. But my question is: if the passwords are disabled and the admin…
-3
votes
1 answer

How to change private ssh key in digital ocean

In "cloud.digitalocean.com" , we added ssh key when creating droplet. Now i want to change the private SSh key which we are using now for login to server. I can see the private key in below places : 1./root/.ssh - authorized_keys [ Change ssh key in…
spylh9999ggr
  • 107
  • 1
  • 8
-3
votes
1 answer

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 server as root. I have checked that /root/.ssh/ has…
-3
votes
1 answer

How to remove SSH public key?

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 .ssh/authorized_keys on device. Everything works well, but…
ArhiChief
  • 11
  • 2
-3
votes
2 answers

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

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
bigmakers
  • 11
  • 1
  • 1
  • 1
-3
votes
1 answer

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 second user. My problem is how dose the second user…
RTB
  • 9
-3
votes
3 answers

Public Key authentication fails while using the -i parameter on ssh command

I have to do public key based authentication on two Linux servers. Machine 2 (192.168.3.132) username: vfx_30 home dir: /home/vfx_30 ssh keys: /home/vfx_30/.ssh/id_rsa /home/vfx_30/.ssh/id_rsa.pub Machine 1 (192.168.3.131) vfx_30 user's public…
Srini Vasan
  • 9
  • 1
  • 3
-4
votes
1 answer

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: ec2-user@PUBLIC_DNS_ADDRESS Connection Type:…
Tahir Yasin
  • 103
  • 1
  • 7
-4
votes
2 answers

Where to safely store ssh private key?

I'm using ssh keys to log in some servers. My private keys hasn't a passphrase, but I'd like to store it in an encrypted online storage service. Is that safe? Are there any free available options? If I decided to add a passphrase to my key, could I…
kinder
  • 35
  • 1
  • 7
-5
votes
1 answer

Openssh key to access remote sftp server from RHEL

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 RHEL 6. what kind of steps I need to take in…
sanam khan
  • 19
  • 4
-5
votes
2 answers

Disable ssh auth by keys

Usually people try to disable ssh login with password only. I'm asking about reverse situation. Does sshd_config allow to disable authentication with keys only?
Rob
  • 1
1 2 3
52
53