ssh-pull-id
pulls ssh-id from a host instead of pushing to a host
ssh-pull-id is a command line tool that does what ssh-copy-id does but in the opposite direction: instead of pushing your ssh-id to another machine, it pulls another machine's ssh-id into your host.
the tool was made with Ubuntu Touch in mind, because its default ssh config is such, that ssh-copy-id won't work. this is because Ubuntu Touch device does not accept ssh client with password authentication, but only with public key based authentication. and copy-ssh-id itself uses password authentication to connect first, then push public key to the remote host, so that later key based authentication can be used instead.
...