File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
tests/fixture/confs-stdlocal Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -289,9 +289,18 @@ if [[ ${org_mtime} -ne ${new_mtime} && "${org_chksum}" != "${new_chksum}" ]]; th
289
289
echo " FILE::${combined_pem_sha256} "
290
290
echo " optionally appending '\$\$ CACHE_PATH' for memory caching in CACHE_PATH."
291
291
echo " ${pem_sha256_fp} " > ${combined_pem_sha256}
292
+ pub_md5_fp=$( ssh-keygen -l -E md5 -f ${combined_pub} )
293
+ pub_md5_fp=${pub_md5_fp/* MD5:/ }
294
+ pub_md5_fp=${pub_md5_fp/ */ }
295
+ echo " Please verify that sftp md5 fingerprint in MiGserver.conf is:"
296
+ echo " ${pub_md5_fp} "
297
+ echo " or point that configuration value to the latest fingerprint file with:"
298
+ echo " FILE::${combined_pub_md5} "
299
+ echo " optionally appending '\$\$ CACHE_PATH' for memory caching in CACHE_PATH."
300
+ echo " ${pub_md5_fp} " > ${combined_pub_md5}
292
301
pub_sha256_fp=$( ssh-keygen -l -f ${combined_pub} )
293
302
pub_sha256_fp=${pub_sha256_fp/* SHA256:/ }
294
- pub_sha256_fp=${pub_sha256_fp/ no comment */ }
303
+ pub_sha256_fp=${pub_sha256_fp/ */ }
295
304
echo " Please verify that sftp sha256 fingerprint in MiGserver.conf is:"
296
305
echo " ${pub_sha256_fp} "
297
306
echo " or point that configuration value to the latest fingerprint file with:"
You can’t perform that action at this time.
0 commit comments