access local server from other computer

Asked by pdo100

Hi,

I have recently installed Ubuntu on my PC and made it home server. Had couple of problems on my way but now everything works fine...
I have done sample web site on my Linux and had a look on my Apple computer typing IP address in browser... Looks fine too...
But I don't know how to connect my Apple to Ubuntu server via FTP...
Also I don't know how to access my server via terminal. I type the following command on my Apple terminal:
~ ssh root@192.x.x.x
and get the following message:
ssh: connect to host 192.x.x.x port 22: Connection refused

Anyone knows how to solve this problems?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Costel Simion (arcad3) said :
#1

U must install SSH Server.
U can do that by tiping "sudo apt-get install ssh" (without quotes) in a terminal in Ubuntu.

Revision history for this message
pdo100 (piotrdomowicz) said :
#2

I have installed and now I can connect to my local server, but how can I use FTP to transfer files?
how do I connect from external machines, they are not on the home network but connected to the net? Is this possible? Do I need to change setting on my router to be able to connect via internet?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

For ftp you can choose one ftp-server from:

vsftpd - The Very Secure FTP Daemon
ftpd - FTP server
proftpd - Versatile, virtual-hosting FTP daemon
pure-ftpd - Pure-FTPd FTP server
vsftpd - The Very Secure FTP Daemon
wu-ftpd - powerful and widely used FTP server
wzdftpd - A portable, modular, small and efficient f

To install from a terminal type: sudo apt-get install ....

Q. "how do I connect from external machines, they are not on the home network but connected to the net?"
Q. "Do I need to change setting on my router to be able to connect via internet?"
A. You must open the needed ftp ports on your router/firewall for incoming packet ( and redirect them to internal host if you have a natted lan ).
If you don't have a fixed ip take a look to http://www.dyndns.com/services/dns/dyndns/ or others similar services to map a domain name to a dynamic-ip.

http://ubuntulinuxhowto.blogspot.com/2006/06/dynamic-dns-no-ip.html

HTH

Can you help with this problem?

Provide an answer of your own, or ask pdo100 for more information if necessary.

To post a message you must log in.