Posts Tagged With: ssh

Trasfer over the network

Tagged with: , , , , ,

Transfer stdin and stdout to and from machines over the network


ssh remote_machine 'cat - > file' < file
No Comments »

Backup HDD To Remote Host

Tagged with: , , , , , , , , , , ,

Make a backup of a local hard disk on remote host via ssh


dd bs=1M if=/dev/hda | gzip | ssh user@ip_addr 'dd of=hda.gz'
No Comments »

SCP Copy from Remote to Local System

Tagged with: , , , , , ,

Copy files/folder from a remote server to this system.


scp -r binnyva@192.168.0.100:/home/binnyva/folder_to_copy . 
No Comments »

Copy Files using SCP

Tagged with: , , , , , , ,

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/
No Comments »

Run Remote App Locally

Tagged with: , , , , , , , ,

Run a remote GUI tool in a local system


ssh -X neo@192.168.0.30 /usr/bin/kate
No Comments »

Spy on SSH Users

Tagged with: , , , ,

See what your users are doing using SSH connected to your system – this will show you what happens on the first console. If someone is typing, you’ll be able to get an output of his keystrokes. Substitute cat /dev/vcs1 with cat /dev/vcs2 or cat /dev/vcs3 and so on for other consoles.


cat /dev/vcs1

Original Article

1 Comment »

Rsync via SSH tunnel

Tagged with: , , , , ,

Rsync via SSH tunnel


rsync -rogpav -e ssh --delete /home/binnyva 192168.0.30:/var/Backup/home
1 Comment »

Starting SSHD

Tagged with: , , , , ,

Starting SSHD – 2 methods


sudo /usr/sbin/sshd
sudo service sshd start
No Comments »

Backup Using Rsync

Tagged with: , , , , , ,

Backups the script folder to a remote location. Original Article…

rsync -avze ssh Scripts/ binnyva@binnyva.com:backup/Scripts/
No Comments »