Tabbed SSH Terminals to Remote Systems in Ubuntu

Most Server Administrators need to manage multiple Unix/Linux servers via remote SSH Terminals. Here’s a quick guide on how to set up multiple SSH Server Profiles so that they can be run in a tabbed environment in a standard Ubuntu install.

Step 1: Open a Terminal

Applications -> Accessories -> Terminal

Step 2: Create a New Profile

On the terminal window tool bar click File -> New Profile

Give this new profile a name like ‘test’ then click the “Create” button.

Step 3: Set Up Profile Settings

Click the “Title and Command” Tab.

Initial Title: type in the name that you want to appear in your SSH tab/ window.

Check the “Run a custom command instead of my shell” check box to on.

Custom Command: Type in the SSH command line to connect to the remote server.

When command exits: Set this Dropdown to “Exit the Terminal”.

Click the “Close” button.

Step 4: Open Up a Tabbed SSH Terminal to a Remote Server Profile

Click File -> Open Tab -> [profile name]

Type in your password and you are good to go!

Step 5: Setting Up Multiple Profiles The Quick Way:

If you are setting up multiple profiles you can select a base profile to use as template in the “New Profile” Popup by selecting a previously created profile in the “Base on” Dropdown.

You can now setup tabs for all of your remote SSH sessions in Ubuntu without installing other programs!

Mounting a UFS2 drive in ubuntu (read only)

Believe it or not reading a FreeBSD UFS2 Drive Partition is even more tricky then mounting an ntfs or FAT partition! Here’s the low down on how it worked for me.

I did this using a disk formatted in FreeBSD 6.2 using UFS2 connected via a USB Disk Enclosure.

Open up a terminal and type the following commands substituting “/dev/sdc1″ with your ufs partition device name:

sudo mkdir /mnt/ufsdisk

sudo mount -t ufs -r -o ufstype=ufs2 /dev/sdc1 /mnt/ufsdisk

Voila! I could read all of the files on the drive! Not sure how to mount a ufs partition for writing, but if you need to get data off of a FreeBSD UFS2 drive (UFS2 is for FreeBSD 5-7) this should work.