Skip to content

Instantly share code, notes, and snippets.

@vikbert
Last active July 4, 2018 19:12
Show Gist options
  • Select an option

  • Save vikbert/006d28f31eba9e728dda3270280fb995 to your computer and use it in GitHub Desktop.

Select an option

Save vikbert/006d28f31eba9e728dda3270280fb995 to your computer and use it in GitHub Desktop.
[ssh] ssh relevant infos #ssh, #bash

remote command

ssh xzhou@live1 'bash -s' < pwd.sh

ssh generate pub key

ssh-keygen -t rsa -b 4096
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment