All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

Github Deploy Key Pattern

My Deployment Pattern I have a setup as shown in the diagram above, where have a github account which owns a number of private repositories. I have a number of machines in the field that each include ...
Kevin John's user avatar
7 votes
3 answers
34k views

SSH No Matching Host Key Type Found

I have two servers, S1: My machine, Windows 8, OpenSSH 8.8p1, OpenSSL 1.1.11 2021-08-24, S2: A Remote Server, Linux, Open SSH 5.3p1, OpenSSL 1.0.1e-fips 2013-02-11. The message I have trying to ...
Brethlosze's user avatar
9 votes
1 answer
12k views

SSH keys: ed25519 vs RSA performance demystified

It is claimed that ed25519 keys are better than RSA, in terms of security and performance. In terms of security, I understand that 4096 bits RSA keys are practically unbreakable for the foreseable ...
a06e's user avatar
  • 373
4 votes
1 answer
1k views

How to validate opendkim generated RSA keys

I'm trying to diagnose OpenDKIM validation errors (see this question). Way down in the belly of the beast, I'm at the point where I'm trying to make sure the keys generated are actually correct. I'm ...
philolegein's user avatar
0 votes
1 answer
552 views

What is the best method for adding RSA Key Fingerprints to known_hosts upon provisioning each server?

This question was inspired by this thread The hypothetical scenario, for context is as follows: SSH servers, whether they be routers, firewalls etc. are all firstly provisioned within a private + ...
Inquisitive's user avatar
0 votes
0 answers
238 views

Issues with seamless ssh connect via public key

I am trying to set up a seamless ssh connection from one server to another for the first time. While I think I managed to create a user and fitting rsa keys just fine, I can't actually connect via ssh,...
daZza's user avatar
  • 101
0 votes
1 answer
33 views

which public rsa keybelongs to which secret?

Is there a way to find out which public rsa key belongs to which secret key? I have two pairs lying around, and would like to know ehich one is which.
steffen's user avatar
  • 157
0 votes
1 answer
1k views

Access with ssh only password without publickey with virtualbox

I tried to setup the ssh-server without publickey , with openssh-server 6.7p1-5 changed sshd_config RSAAuthentication no PubkeyAuthentication no PasswordAuthentication yes Restart ssh service from ...
enjoy343322434's user avatar
4 votes
1 answer
3k views

Why won't my SSH keys forward properly?

I'm trying to ssh from my machine to another machine and from there to a third machine. When I do it manually, it works like this: localhost$ scp ~/.ssh/id_rsa [email protected]:. ...
Saqib Ali's user avatar
  • 569
0 votes
1 answer
86 views

Is my private key safe if I use authenticaiton agent forwarding with the ssh -A option?

I love the option to connect to servers via SSH with the -A option, so I can use my private keys on the server. This lets me update git/svn repositories and connect to other servers without the need ...
The Shurrican's user avatar
40 votes
9 answers
108k views

Auto accept rsa key fingerprint from command line

I've tried yes | ssh [email protected] to try to accept the RSA key fingerprint, but am still prompted if I'm sure I want to connect. Is there a way to make this automatic?
VenomFangs's user avatar
-1 votes
2 answers
751 views

Putting My RSA Public Key on RSA Key-Secured Server

Hello and thanks for reading, Basically, I'm taking over for someone on some system admin duties, learning as I go, but one problem I've run into is not having my public RSA key put onto a particular ...
Anon's user avatar
  • 1
14 votes
1 answer
7k views

User@host in a SSH-RSA public key

What role does the user@host that often appears at the end of a public ssh-rsa key play? Is it necessary? Does if serve any purpose in the authentication, or is it simply a record of who and where ...
usedTobeaMember's user avatar
-2 votes
1 answer
9k views

Impossible to connect ssh /root/.ssh/known_hosts': No such file or directory

I can't connect to my server with ssh. I have already started a session with ssh but i know if i quit this session, i won't be able to connect again to my server. ssh [email protected] @@@@@@@@@@@@@@@@...
mpgn's user avatar
  • 217
0 votes
1 answer
949 views

passwordless scp without keys

I am looking for some option that will allow me to accept files from any server using SCP command. I am aware of the process of creating password-less logins. But what I am looking for is an option on ...
shantanuo's user avatar
  • 3,589
96 votes
1 answer
179k views

How do I validate an RSA SSH public key file (id_rsa.pub)?

Is there a command I can use to verify the public key (id_rsa.pub), just the format only. Sometimes I have added a new linebreak, sometimes the file missed the ssh-rsa prefix, so is there a command ...
Ryan's user avatar
  • 5,871
1 vote
1 answer
204 views

RSA keys - virtual hosts

Setting up passwordless ssh for multiple users has proved to be kind of a pain. Currently I'm the single user of this Ubuntu 10.04 LTS VPS. I was able to establish a single RSA passkey under my home/...
Bosworth99's user avatar
4 votes
3 answers
9k views

I created an RSA key but SSH keeps asking the password

On my Mac, I created an RSA key with ssh-keygen -t rsa and saved it as .ssh/authorized_keys on the target server (Ubuntu). I put this in server's /etc/ssh/sshd_config: PubkeyAuthentication yes ...
Dan's user avatar
  • 317
22 votes
4 answers
25k views

How do I import a RSA SSH key into GPG as the _primary_ private key?

I currently have a SSH key that I've used for a while and I'd like to start using GnuPG with a new keyring. However, given that I've used my key for ages, I would like to still use that key in GPG as ...
SineSwiper's user avatar
  • 2,628
2 votes
1 answer
206 views

Setting up RSA with multiple users

I've recently set up a server, and I've set up RSA authentication on said server. My question is, how do I set up RSA authentication for different users? As of right now, the only user that has RSA ...
pinktrink's user avatar
5 votes
4 answers
936 views

Any point using Denyhosts for SSH when only RSA key logins are allowed anyway?

Right, so if I can only SSH into my box by having the appropriate RSA keys configured, is there any point in using Denyhosts for SSH as well? Or is Denyhosts only looking at keyboard-interactive / ...
Dougal's user avatar
  • 61
3 votes
1 answer
8k views

Can you make default client key length larger for ssh-keygen?

When users employ ssh-keygen to create RSA key pairs, the default key length is 2048 bits. You can override that on the command line with the -b argument, but few users will bother. As mentioned in ...
user67327's user avatar
  • 197
9 votes
2 answers
4k views

SSH keys: why is id_rsa larger than id_rsa.pub?

My private key (~/.ssh/id_rsa) is a 1766-byte file, but my public key (~/.ssh/id_rsa.pub) is only 396 bytes in length. Why the massive difference? Is it because the private key is encrypted using AES? ...
splicer's user avatar
  • 193