Enable SSH Access to Xubuntu

November 19th, 2007 by rvdavid Leave a reply »

Well, I’ve been playing around with Xubuntu Linux for a while now and I have been making extensive use of SSH. If you haven’t heard of SSH yet, here’s a quick rundown from wikipedia:

SSH is typically used to log into a remote machine and execute commands, but it also supports tunneling, forwarding arbitrary TCP ports and X11 connections; it can transfer files using the associated SFTP or SCP protocols.

While I found SSH very useful to connect to remote servers from my Xubuntu Desktop, there were times when I needed to make an SSH connection back to my computer say for example – transferring files using SCP. This was the case for me earlier today. I had to transfer a file from our testing server back to my desktop. To do this, I had to enable the Open SSH server on my Workstation which does not come installed by default.

$ sudo aptitude install openssh-server

Once this is done, I was good to go.

Connect to testing server through SSH:

rvdavid@workstation$ ssh [email protected]
password:

Transfer a file to the Desktop of my workstation using SCP:

rvdavid@testing-server$ scp /path/to/file.tar.gz [email protected]:/home/rvdavid/Desktop/

The file was transfered shortly after.

To conclude, the potential show stopper here would have been not knowing that Open SSH server was not installed by default. To me, it seemed daunting at the time, I thought I would have needed to use some complex configuration file hacking, but I was pleasantly surprised that it was as easy as installing Open SSH server.

if you enjoyed this post, make sure you subscribe to my RSS feed!
You can also follow me on Twitter here.

Related posts:

  1. Running back to Xubuntu from Fedora
Advertisement

4 comments

  1. karim says:

    I’ m running xubuntu in VmWare. It’s pretty cool I can ssh in from my vista host using putty.

  2. luis says:

    I installed using Synaptic… otherwise it worked like a charm. Thanks.

  3. dbb says:

    sudo apt-get install openssh-server

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.