Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 2.1 KB

README.md

File metadata and controls

43 lines (29 loc) · 2.1 KB

ssh-pull-id-packaging

Packaging for ssh-pull-id by krisjacewicz 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.

ssh-pull-id will reverse the direction, now you use the tool to pull another host's public key. the typical scenario it was created for, is when you use it on Ubuntu Touch device, and pull is made from another host which allows password based authentication.

Installation

  • Download the file

download

  • open a terminal
  • run unzip Downloads/ssh-pull-id.zip -d ssh-pull-id
  • run ssh-pull-id/ssh-pull-id setup
  • ???
  • profit

Upgrade

upgrading is simple, just run the following commands in the terminal

  • source ~/.local/lib/crackle/ssh-pull-id
  • download_ssh-pull-id
  • unzip_ssh-pull-id
  • install_ssh-pull-id

Remove

removing is even simpler~ just run these two commands

  • source ~/.local/lib/crackle/ssh-pull-id
  • remove_ssh-pull-id

Before running ssh-pull-id

image

running ssh-pull-id

image

After running ssh-pull-id

image