Skip to main content

Posts

Showing posts from April, 2022

My SSH crash course

SSH allows secure remote login to another machine. To connect: ssh user@server-ip If this is your first time connecting, you will be prompted to accept the host key. To generate an SSH key pair: ssh-keygen Press Enter to accept defaults. Copy your public key to remote server: ssh-copy-id user@server-ip Now you can login without password. To specify a private key: ssh -i mykey.pem user@server-ip SSH is secure, fast, and essential for server management. Disclaimer: If you follow the information here, there is no warranty , I am not liable if it deletes your data, gets you hacked, burns your house down or anything else. If you follow the information contained here you do so entirely at your own risk . My views and opinions are my own and not necessarily represent the views of my employer. © Raheel Hameed and www.raheelhameed.com, 2017. Unauthorized use and/or duplication of this material without express and written permission from this site’s author and/o...