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?

Anthony Geoghegan
  • 12,605
  • 7
  • 59
  • 62
Alex
  • 2,255
  • 3
  • 17
  • 12
  • 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 the key is a straight string i.e. "A678B43234234" – Alex Dec 04 '15 at 00:00

1 Answers1

3

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

DopeGhoti
  • 73,792
  • 8
  • 97
  • 133
  • is there a way to do it from Putty or WinSCP from Windows environment? – Alex Dec 04 '15 at 00:01
  • If the server does not have a public key, the connection will be rejected? Probably password auth will be used. – Timo Dec 14 '22 at 13:47