Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting rsa key fingerprints

Status
Not open for further replies.

ogniemi

Technical User
Nov 7, 2003
1,041
PL

I can get fingerprints of all keys authorized in authorized_keys but only using temporal file (here "line"), like:
cat au*s|while read a;do echo $a >line;ssh-keygen -l -f line;done

(unfortunatelly, command: "ssh-keygen -l -f authorized_keys" ignored >1 lines)

1) can the ssh-keygen -l be fed somehow without temporaly file?
2) or, could openssl be used for this job too?
 
temporal file???


"temporal" means "Related to time" do you mean temporary file

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
by temp file I meant auxiliary file used later for -f parameter of ssh-keygen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top