DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 25th September 2008
milo974 milo974 is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 58
Thanked 0 Times in 0 Posts
Default build a sftp server

I need a sftp server, i use openbsd 4.3-stable, how can i do a sftp server ?
Thank's
Reply With Quote
  #2   (View Single Post)  
Old 25th September 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,876
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by milo974 View Post
I need a sftp server, i use openbsd 4.3-stable, how can i do a sftp server ?
vsftpd-2.0.5.tgz is available as a package:

http://www.openbsd.org/4.3_packages/....tgz-long.html

More information can be found at the following:

http://openports.se/net/vsftpd

Configuration information can be studied by reading by the manpage after installing the package.
Reply With Quote
  #3   (View Single Post)  
Old 25th September 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,638
Thanked 214 Times in 189 Posts
Default

If, Milo, you mean sftp via ssh -- such as the sftp(1) built-in client, note that sshd(8) provides sftp services already.
Reply With Quote
  #4   (View Single Post)  
Old 25th September 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Please clarify, do you mean a SFTP as in the file transfer protocol over SSH or FTPS a secured version of FTP? they are 2 different things.
Reply With Quote
  #5   (View Single Post)  
Old 26th September 2008
milo974 milo974 is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 58
Thanked 0 Times in 0 Posts
Default

I want a FTP over SSH Server (sftp)
I have only need to modify sshd_config to do that or it is necessary to install a specific package ?
thank's

Last edited by milo974; 26th September 2008 at 05:16 AM. Reason: more precision
Reply With Quote
  #6   (View Single Post)  
Old 26th September 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Thanked 20 Times in 18 Posts
Default

Pls more specific, we are still unsure you wanna sftp client or server
__________________
The power of plain text? It can control an entire OS
Reply With Quote
  #7   (View Single Post)  
Old 26th September 2008
milo974 milo974 is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 58
Thanked 0 Times in 0 Posts
Default

I want a FTP over SSH Server (sftp)
I have only need to modify sshd_config to do that or it is necessary to install a specific package ? like sftp-server ?
thank's
Reply With Quote
  #8   (View Single Post)  
Old 26th September 2008
There0 There0 is offline
./dev/null
 
Join Date: Jul 2008
Posts: 169
Thanked 10 Times in 10 Posts
Default

As jggimi stated, SFTP server is built into SSHD, and enabled by default last I looked, it can be disabled in the sshd_config file. There are also GUI clients for Windoz(WinSCP) and MAC(Fugu) to name a couple, most *nix's come with a command line client. I too prefer VSFTPD and it is very easily installed and configured and fast as all hell
Reply With Quote
  #9   (View Single Post)  
Old 26th September 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Thanked 20 Times in 18 Posts
Default

Quote:
Originally Posted by milo974 View Post
I want a FTP over SSH Server (sftp)
I have only need to modify sshd_config to do that or it is necessary to install a specific package ? like sftp-server ?
thank's
You dont need to install a third party sftp server, its supported by default.

Make sure the line from the following command is uncomment

%grep sftp /etc/ssh/sshd_config
__________________
The power of plain text? It can control an entire OS
Reply With Quote
Old 26th September 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,638
Thanked 214 Times in 189 Posts
Default

All one needs, to use sftp with the default sshd(8) configuration is to issue:

$ sftp [<user>@]<server>
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sftp Bus error: 10 (core dumped) smokem FreeBSD General 0 21st April 2009 12:45 PM
List of users connected by sftp. amscotti OpenBSD General 7 1st April 2009 07:26 PM
PureFTP + TLS / or SFTP plexter OpenBSD Security 11 6th October 2008 10:32 PM
obsd 4.3 chrooted sftp permissions? luismi OpenBSD General 4 12th July 2008 11:39 PM
New server build tanked FreeBSD General 1 5th June 2008 06:41 AM


All times are GMT. The time now is 06:51 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick