Commands for SSH

From Luis Gallego Hurtado - Not Another IT guy
Jump to: navigation, search

  • Copy a ssh key to a server and installs it as an authorized key for avoiding inputing password for an existing user on server
ssh-copy-id -i <PATH_TO_KEY_FILE> <USER>@<HOST>
  • Verifying a given key once is copied to a server: