Showing posts with label InterOS. Show all posts
Showing posts with label InterOS. Show all posts

Friday, May 11, 2007

Enabling SSH

My office laptop runs Ubuntu but my home desktop still has windows 2000. I often feel the need to transfer files between the two. I know that WinSCP allows one to do so. So I downloaded WinSCP, installed it on my windows destop and tried to connect to my laptop. This did not work. With a few google searches I learnt that SSH service on my laptop has to be started for winSCP to work.

Here is how SSH services can be setup:

1. Install openssh server
# sudo apt-get install openssh-server

2. Modify the setting and restart SSH server.
# sudo gedit /etc/ssh/sshd_config

In my case, my username is asood, thus I added one line to /etc/ssh/sshd_config


Protocol 2
...
PermitRootLogin no
...
AllowUsers asood

3. Restart SSH server.
# sudo /etc/init.d/ssh restart