how to get ssh access to a computer

Shell
ssh-keygen -t rsa
Source

Also in Shell: