Two Ubuntu boxes using ssh

Henk Postma henkpm at gmail.com
Wed Oct 3 17:41:12 UTC 2007


On 10/3/07, OOzy Pal <oozypal at gmail.com> wrote:
> Hello,
>
> I would to rsync dir between my two Ubuntu boxes. How can I make my
> ubuntu boxes accept ssh connection. I tried
>
> $ssh 192.168.1.3
> ssh: connect to host 192.168.1.3 port 22: Connection refused

Others have already suggested to install the ssh server.

As an added convenience, I encourage you to enable automatic
password-less logins using public/private keysets:

# ssh-keygen -t dsa
# ssh-copy-id -i ~/.ssh/id_dsa.pub 192.168.1.3

This is great for doing unattended rsyncs/backups.

-- Henk

-- 
http://www.csun.edu/~hpostma/




More information about the ubuntu-users mailing list