TurnKey Linux Virtual Appliance Library

Turnkey Filserver Chroot SSH for SFTP transfer

Abkrim Mateos's picture

Hi.

I'm new on this forum and turnkey fileserver.

After several days testing Turnkey fileserver, i've a few questions:

  1. Any post or link for chroot user (I've only use turnkey fileserver how SFTP and rsync services for backup for my customers)
  2. vsftp don't accept connections. It's not important, because i don't like use FTP (only SFTP) but i don't get the problem.

Help apreciate

Jeremy's picture

I'm not quite sure what you're asking

But TKL appliances have SFTP (port 22) setup by default. Any new users that are added are SFTP/SSH users also by default and AFAIK will connect to their designated home directory.

Abkrim Mateos's picture

User can scale to up directories

Yes, but user can scale to up directories.

cd ../../

ls ../../

We like chroot user for see only him directory.

 

Yo solo se que no se nada...

http://islaserver.com/
http://tamainut.com/

Jeremy's picture

Ok I understand

In the current configuration users should not be able to do anything but list the files (unless you give them permission). Also AFAIK unless they are members of the "sudousers" group users shouldn't be able to do anything harmful to the system (and by default TKL does not have sudo installed so even then...).

However I understand that you want more than that. It should be possible but I'm not sure how so I'm not going to be much help to you. Hopefully one of the Devs (Alon or Liraz) or someone else with a little more knowledge than myself will be able to help you out.

Abkrim Mateos's picture

A lot of thanks

 

A lot of thanks.
On next day I go to inevestigate for chroot users.
For Backups System (renting service), users he ca'n see ( i know they can't read, delete, etc..) any of anothers users.
Shalom
A lot of thanks.
On next day I go to inevestigate for chroot users.
For Backups System (renting service), users he ca'n see ( i know they can't read, delete, etc..) any of anothers users.
Shalom

Yo solo se que no se nada...

http://islaserver.com/
http://tamainut.com/

Jeremy's picture

Found this in my travels, may be useful?

http://ubuntuforums.org/showthread.php?t=1094640

I also came across MySecureShell. I can't vouch for it but its an interesting looking all-in-one type app (that apparently does SFTP into a chroot). Might be worth a look?

Abkrim Mateos's picture

Two ways for chroot SFTp

A lot of thanks.

Just read this afternoon this ways.

Yo solo se que no se nada...

http://islaserver.com/
http://tamainut.com/

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)