Listing SSH key in Travis CI

The sshkey command will check if there is a custom SSH key set up:

travis sshkey
This command only works with Travis's Pro version, and if there is no SSH key it will report that no custom SSH key is installed. 

You can read about more options in this command in the user documentation (https://github.com/travis-ci/travis.rb#sshkey).

Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.