Jump to content

SSH/FTP/PHP server setup?


ShadowFoxLSU
 Share

Recommended Posts

Alright, I am planning on setting these three services on a server. Do you guys know of any good tutorials? Also, I am connected via cable(static IP though) and a router. Do I need to assign a port to the server from the router to send all SSH requests to the server or can it figure it out on it's own?

Link to comment
Share on other sites

Hello

Alright, I am planning on setting these three services on a server.  Do you guys know of any good tutorials?

Actually no... but I don't think you need any. Those servers come preconfigured on MDK. Take Apache (httpd) for instance, you have nothing to do in /etc/http/conf/http.conf for it to work #1. SSH too.. only install it and it works. ProFTPd can be a bit more tougher though. It really depends if you want an anonymous login or not.

 

Also, I am connected via cable(static IP though) and a router.  Do I need to assign a port to the server from the router to send all SSH requests to the server or can it figure it out on it's own?

You will have to configure your router to forward port 80 (httpd), 21 (ftp) and 22 (ssh) to your box running the servers because it'll not figure it all by itself.

 

Good luck

 

MOttS

Link to comment
Share on other sites

if you're not going to allow anonymous ftp consider using ssh with the scponly shell instead.

 

just install scponly using urpmi

create a new user and make scponly his/her/its shell

 

put the data you want to serve in the new users home directory

 

now you can use ssh file transfer tools like gftp to connect to the server and download/upload files.

 

cheers,

Alaa

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...