Skip to content

Instantly share code, notes, and snippets.

@radamhu
Created February 17, 2022 05:49
Show Gist options
  • Save radamhu/e258da8377c0101defac6c099c72935a to your computer and use it in GitHub Desktop.
Save radamhu/e258da8377c0101defac6c099c72935a to your computer and use it in GitHub Desktop.
linux_screen_cheatsheat
* SSH with Putty to RaspberryPi
- sudo apt-get install screen
- screen -t SSH2Syno
- ssh -l admin synohostname -p 44344 ( I use a different port than the industry standard of 22 - for security purposes )
* Now, you're terminal is what you're doing on the Synology
- do what commands you wish
- Ctrl-A Ctrl-D (to detach - put screen in background)
* Now you're back on the Raspberry Pi
- screen -r (re-attach to the screen process in the background that is hosting your SSH into the Syno)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment