Polecenie ssh-keyscan
Wykonanie, użycie: Gather public and private host keys from a number of hosts. Can be used in scripts
Opcje wykonania ssh-keyscan
w konsoli
Use IPv4 addresses only.
Use IPv6 addresses only.
Read hostnames or addrlist namelist pairs from file. If - is specified instead of a filename, read hosts or addrlist namelist pairs from standard input.
Specify the port to connect to on the remote host.
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.
Specify the timeout for attempting a connection, in seconds.
Verbose mode.
Przykłady ssh-keyscan działanie w Słownik polecenie S