ububtu ssh and ftp server

Kawie

New Member
Joined
Mar 23, 2010
Messages
2
Reaction score
0
anyone willing to help a total newbie to linux?

ubuntu 12.04 lts

trying to setup ftp and ssh server.

i can putty and cuteftp to my ubuntu box via local ip.

i port forwarded ssh and ftp to local ip and the dsl 2750u dlink router tells me 21 and 22 in use, using 2121 and 2222.

edited the ssh.config & proftp.config to ports 2121 and 2222 but no luck 'accessing ftp and ssh via public ip

thanks in advance :)
 
So you can access your services from another pc on the local network on the custom ports right?

Then check that if you have a firewall up that you have added exceptions for the new ports. Also make sure you have restarted your router after making the port forwards (some routers need to be restarted).
 
Also remember to restart each service whose config file you tinkered with.

After you made changes to the config file:

sudo service [enter service here] restart, example;
sudo service proftpd restart
 
I made the mistake once or twice of editing ssh.conf instead of sshd.conf. ssh.config looks like its for the client. You sure thats the server conf?

Perhaps set your ubuntu server as a DMZ? That forwards all ports onto that machine.
 
edited the ssh.config & proftp.config to ports 2121 and 2222 but no luck 'accessing ftp and ssh via public ip

Static or dynamic?

I've done ssh before but it was via one of those dynamic dns services like dyndns etc.
 
i port forwarded ssh and ftp to local ip and the dsl 2750u dlink router tells me 21 and 22 in use, using 2121 and 2222.

edited the ssh.config & proftp.config to ports 2121 and 2222 but no luck 'accessing ftp and ssh via public ip

I see most routers use standards port like 21 and 22, but I am sure it asks you if you would like to still use them (port forward to a pc) and make 2121 and 2222 to be used by the router.

Then maybe you can put back the default ports in the configs of proftp and ssh in ubuntu.
 
Since the OP wants to do the SSH and FTP from a local IP maybe opening up the server firewall for the local subnet will clean out some of the problems.
 
Top
Sign up to the MyBroadband newsletter
X