Skip to content

noahgift/ssh-tips-tricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

ssh-tips-tricks

SSH Tips and Tricks

STOOIBOXY

Create SSH Keys

  • Step 1:
ssh-keygen -t rsa
  • Step 2:

cat /home/ec2-user/.ssh/id_rsa.pub

  • Step 3:

Copy to Github

  • Step 4:

Clone repo

SSH into Cloud9

  1. Open port 22 to 0.0.0.0 inside EC2 security groups
  2. Paste local id_rsa.pub
  3. ssh -v ec2-user@<ipaddress>

Port forwarding remote server

  1. Create connection
ssh -N -L 8000:127.0.0.1:8000 ec2-user@<ipaddress>
  1. Launch a remote server: python3 -m http.server
  2. open web browser on your laptop or workstation or dev environment

References

About

SSH Tips and Tricks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published