TechHelper icon
tech
Helper
TechHelper icon
techHelper

SSH Commands Quick Reference

Connect
Connect to a server via default port 22
ssh user@192.168.1.2
Connect to a server via custom port
ssh user@192.168.1.2 -p <port>
Connect to a server via public key
ssh -i /path/to/publickey user@192.168.1.2
Execute
Execute remove command on server
ssh user@192.168.1.2 'ls -ltr'
Excute local script on remote server
ssh user@192.168.1.2 bash < script.sh
SCP
Copy files from remote server to local
scp user@192.168.1.2:/path/to/file dest/
Copy files from one remote server to another server
scp user@192.168.1.2:/file user@192.168.1.3:/dir
Copy file from local to remote
scp source/file user@192.168.1.2:/dir
Copy folder from local to remote
scp -r user@192.168.1.2:/dir dest/
SSH keygen
Generate an RSA 4096 bit key
ssh-keygen -t rsa -b 4096 -C "comment"

Commands Cheat Sheet

A vast collection of cheatsheets from popular tools and technologies with quick search functionlity and customizability

Query

Search for any commands from the list of tools and technologies as a whole from the All section or dedicated sections for each tool.

Tools/Technologies

Cheat sheets or commands from Docker, Kubernetes, Kafka, Redis, Git, Curl, SSH & SCP, Helm are provided. More will be added shorly.

Subsection

The command subsection is provided on the top right corner

Add new commands

Add new commands by clicking on the "Add New Command" button. In the wizard which opens up, select any exisitng categories or type (and press enter) to add new categories. Add subsections if needed in the next step. In the next step, add a meaningful description of the command which would help in searching. In the final step, enter the command you want to save.
Newly created categories would be added as buttons along with the existing categories.

Copy Command

You can copy the command to clipboard by clicking on the Copy button.

Show more

By default 10 query results are shown in the page. If more are present, the Show More button is displayed and on clicking, the entire results are shown.

techHelperFree tool box for developers and testers

Copyright © 2024 TechHelper. All Rights Reserved.