728x90 AdSpace

Tuesday, 22 August 2017

ssh-keyscan - Linux Commands


ssh-keyscan [options]

Gather public and private host keys from a number of hosts. Can be used in scripts.


Use IPv4 addresses only.

Use IPv6 addresses only.

-f file
Read hostnames or addrlist namelist pairs from file. If - is specified instead of a filename, read hosts or addrlist namelist pairs from standard input.

-p port
Specify the port to connect to on the remote host.

-t type
Specify the type of key to get from the scanned hosts. Possible values are rsa1 for SSH1 (default), or rsa or dsa for SSH2. Specify multiple values in a comma-separated list.

-T timeout
Specify the timeout for attempting a connection, in seconds.

Verbose mode.
Annamalai Thangaraj

Annamalai is working as Technical Lead in Leading Telecom company with 5+ years experience in Identity and Access Management , Telecom and Networks, BigData, Java, Spring, Struts, Hibernate, AngularJS, and Enterprise Web Application Development.

Website: Java Tutorials Corner

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments


Post a Comment

Item Reviewed: ssh-keyscan - Linux Commands Rating: 5 Reviewed By: Annamalai Thangaraj