0

I am looking for the server's RSA public key string. I do not have permission to go to /etc/ssh and further so I can't read the actual public key.

I do not have access to any packet sniffing tools like WireShark.

Having these limitations, is it possible somehow to get the server's public key string?

1
  • Not a duplicate. I am not interested in the fingerprint, I can get it. My question is about the actual key. So the fingerprint looks like 66:4e:67:<and so on> and the key is a straight string i.e. "A678B43234234" Commented Dec 4, 2015 at 0:00

1 Answer 1

3

Use ssh's verbose options: ssh -v [email protected], and look at stderr.

2
  • is there a way to do it from Putty or WinSCP from Windows environment? Commented Dec 4, 2015 at 0:01
  • If the server does not have a public key, the connection will be rejected? Probably password auth will be used. Commented Dec 14, 2022 at 13:47

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.