Tag: ssh

Remote Port Forwarding using SSH Tunnel

If you want someone on the internet to access a service/port on your local system(and you have access to a remote server), you can use SSH Tunnel to do this.

Trasfer over the network

Transfer stdin and stdout to and from machines over the network ssh remote_machine ‘cat – > file’ < file

Backup HDD To Remote Host

Make a backup of a local hard disk on remote host via ssh dd bs=1M if=/dev/hda | gzip | ssh…

SCP Copy from Remote to Local System

Copy files/folder from a remote server to this system. scp -r binnyva@192.168.0.100:/home/binnyva/folder_to_copy .

Copy Files using SCP

Copy files/folder to a remote server. scp <file> binnyva@192.168.0.100:/home/binnyva/ scp -r <folder> binnyva@192.168.0.100:/home/binnyva/

Run Remote App Locally

Run a remote GUI tool in a local system ssh -X neo@192.168.0.30 /usr/bin/kate

Spy on SSH Users

See what your users are doing using SSH connected to your system – this will show you what happens on…

Rsync via SSH tunnel

Rsync via SSH tunnel rsync -rogpav -e ssh –delete /home/binnyva 192168.0.30:/var/Backup/home

Starting SSHD

Starting SSHD – 2 methods sudo /usr/sbin/sshd sudo service sshd start

Backup Using Rsync

Backups the script folder to a remote location. Original Article… rsync -avze ssh Scripts/ binnyva@binnyva.com:backup/Scripts/