27
votes
SSH into a box with a frequently changed IP
A lot of the answers here will work - but technically they're workarounds. OpenSSH already has a built-in feature with this in mind: HostKeyAlias.
In your .ssh/config file, add HostKeyAlias <alias&...
5
votes
Generate fingerprint with PGP Public Key
The --with-fingerprint is an option, not a command. This option modifies the output of the --list-keys (for keys in the keyring) or --show-keys (for keys in files) command to include the fingerprint.
...
4
votes
How to change a SSH host key?
Debian 10.7 user here.
Mixing the two best answer was the cleanest way to solde the problem :
( As root or sudo it yourself )
server A.B.C.D : Mooving old keys in a "backup" folder
mkdir -p ...
4
votes
Accepted
Can I find local ssh private key from remote fingerprint?
The ssh-keyscan command is for scanning the host keys (/etc/ssh/ssh_host_*.pub), not the keys present used for authentication/authorization of users.
You would need to connect to the remote host and ...
3
votes
Can I find local ssh private key from remote fingerprint?
I think I avoid your dilemma by simply defining a priori which keypair to use for what host in my ~/.ssh/config
Host www
HostName www.example.com
IdentityFile ~/.ssh/key1
Host dev
HostName dev....
1
vote
pam: reducing auth method timeout
Timeout minimum value is 10s.
See manpage:
timeout=TIMEOUT
The amount of time before returning an authentication failure. The default timeout is 30 seconds, with 10 seconds being the minimum.
1
vote
Accepted
Generate fingerprint with PGP Public Key
Found this answer for you and I believe it's the same issue you are having:
https://unix.stackexchange.com/a/448986/350132
1
vote
Guess current date/time on remote server
The HTTP protocol has the Date header (RFC 7231, 7.1.1.2) for the date and time at which the message was originated. That's typically the time on the server in UTC.
When a Date header field is ...
1
vote
Accepted
Verify SSH Fingerprint about DNS SSHFP record fails
StrictHostKeyChecking yes prevents openssh from automatically adding new HostKeys to the known_hosts file. You will need to add it to known_hosts manually or set StrictHostKeyChecking no for your ...
1
vote
How to change a SSH host key?
On AWS Linux & thus likely other Red Hat derivatives, the result from restarting sshd and using ssh-keygen -A are not the same.
You get different keys and different group ownership. Restarting ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
fingerprint × 29ssh × 12
ssh-keys × 4
ubuntu × 3
public-key × 3
active-directory × 2
amazon-web-services × 2
authentication × 2
sftp × 2
rsa × 2
known-hosts × 2
linux × 1
domain-name-system × 1
debian × 1
amazon-ec2 × 1
postfix × 1
bash × 1
windows-7 × 1
group-policy × 1
ssl-certificate × 1
smtp × 1
centos7 × 1
virtual-machines × 1
dhcp × 1
openssl × 1