• How To Take Secure Remote Backups Using SSH

    A couple of weeks back Damien posted an excellent tutorial on securing your internet connection using SSH. In his post, he explains what SSH is as well as the SSH Tunneling method that he uses to secure the internet traffic.
    Today, I’ll be taking you through another tutorial that involves using SSH to take backups of [...]

    How To Take Secure Remote Backups Using SSH originally published on Make Tech Easier (RSS)

    continue reading »

     
     
  • Powerful Remote Incremental Backup with rdiff-backup

    The last few days I have been testing backup software to automatically backup my desktop Ubuntu system. I’ve only just got it set up, but rdiff-backup is exactly what I was looking for and seems to be working very well. [...]

    continue reading »

     
     
  • How To disable root access via SSH

    If you are planning to deploy openssh on any server, you must secure it from hackers. There are several programs on internet which can launch a brute force attack against your ssh server.

    continue reading »

     
     
  • Importing a remote desktop session via ssh tunnel

    At home I have, 2 machines, one running Ubuntu 9.04 (Jaunty) and the other running Ubuntu 8.04 (Hardy). The Hardy machine is used by my family members and I use Jaunty for my experiments. Some times, I would like to test some thing on Hardy also. But most of the times that machine is not free. I use ssh to login to the hardy box and use an ssh tunnel to export the GUI session back to my Jaunty box.

    The steps I took are detailed below.

    On Hardy box

    1) Install open ssh server

    $sudo apt-get install openssh-server

    On Jaunty Box

    2) I switch to a text terminal by pressing Control+ALT+ F2. (any thing from F1 to F6 will work)

    3) Login to the text terminal

    4) Start a new session on Virtual Terminal 8 and launch xterm on it.

    $ xinit /usr/bin/xterm — :1

    ( :1 above represents the virtual graphical display , you can also use :2 )

    5) A gray screen with xterm will appear on virtual terminal 8. If it is not appearing you can switch to it by

    $ chvt 8

    Or by pressing Control+Alt+f8

    6) Now ssh to the Hardy box with tunneling.

    $ ssh -Y fermi@192.168.0.2

    Give your credentials and login (The IP address above is that of my Hardy box, you can replace it with your user name and IP). You are now logged to Hardy. The GUI of any program launched on Hardy ( in this terminal) will be tunneled back to Jaunty via ssh.

    7) Start a gnome session on Hardy by typing the following command in the xterm terminal.

    $ gnome-session

    You can start other desktop sessions like kde or xfce , if they are installed.

    continue reading »

     
     
 
 
Extra Tags