LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-22-2005, 02:23 PM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
open ssh ftp server configuration?


How do i setup the server to allow upload and downloads from /home/steven. I would like to be able to setup user accounts and grant permissions etc.

Also I know i need the openssh client (windows) to connect to the server on my linux box but what do I have to do inorder to connect to the server. Do I just give it the servers ip username and password.
 
Old 06-22-2005, 03:04 PM   #2
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
You shouldn't be sharing data in people's home directories, create a shared directory and give people access to that. If you want it to be more transparent, just create a symlink in everyone's home directory that points to your new shared area, to an FTP client it'll look like a regular directory.
 
Old 06-22-2005, 05:47 PM   #3
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
Since am the only one thats using it I guess it's not as bad. But u didn't answer my question how do i configure the ftp server
 
Old 06-22-2005, 05:52 PM   #4
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
On most recent distributsions sftp is enabled by default, there should be a line at the bottom like:

Subsystem sftp /usr/lib/openssh/sftp-server

And yes, any decent Windows sftp/scp client will prompt you for the username and password.
 
Old 06-22-2005, 06:26 PM   #5
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
could u be more specific at the bottom of which file
 
Old 06-22-2005, 06:27 PM   #6
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
/etc/ssh/sshd_config
 
Old 06-22-2005, 06:52 PM   #7
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
i final question how do I control the access of directories for example say it points to /steven and there are two sub directories 1 and 2. How do I allow access to 1 but not 2 and what username and passwords surely it has to have that or else it aint secure. SFTP is secure file transfer protocol

Last edited by linuxmandrake; 06-22-2005 at 06:55 PM.
 
Old 06-22-2005, 07:21 PM   #8
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
Normal filesystem rights.
 
Old 06-22-2005, 07:25 PM   #9
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
oops sorry am a linux newbie dont know much. Do i just use the login details i use to login to KDE (the ones set via KDE) to logon the ssh server. I cant seem to find any info so i assume i use my normal username and password.

Last edited by linuxmandrake; 06-22-2005 at 07:40 PM.
 
Old 06-22-2005, 07:43 PM   #10
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
Yes, you need a normal user account to use the sftp server.
 
Old 06-22-2005, 08:23 PM   #11
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
haha 1 more question. I have a router with an intergrated firewall so what ports do I have to open for openssh to be accessible via the internet. Please give me the port number and and protocol (eg tcp UDP ).

Last edited by linuxmandrake; 06-23-2005 at 09:38 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP and SSH server ports IBall Linux - Networking 1 12-01-2005 05:29 AM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 06:17 PM
Open ssh for user on SME-server (e-smith) ugge Linux - Networking 4 02-09-2004 12:59 PM
FTP Server configuration mauritian Linux - Newbie 10 06-26-2003 12:57 AM
ssh and ftp server not accessible bbenz3 Linux - Networking 1 03-04-2002 07:53 PM


All times are GMT -5. The time now is 09:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration