-1

I have access to a student server and was interested in being able to visualize the public key of the ssh server. What unix command can help me see the ssh key, since this is different than my own generating of keys like on AWS etc.?

user3295674
  • 893
  • 5
  • 19
  • 42

1 Answers1

0

This is that simple as :

# cat /root/.ssh/id*.pub

or for a specific user :

# cat ~user/.ssh/id*.pub
Gilles Quénot
  • 173,512
  • 41
  • 224
  • 223