Stuart Henderson :
> Do you have the correct directory?
>
> The user's home directory is appended to ChrootDirectory. e.g. in your example
> something like /home/of/the/hackers/home/myftpuser.
Super good, now I'm also chrooted..
Thanks a lot, Stuart!
-- Daniele Bonini
On 2023-03-09, Daniele Bonini wrote:
> I configured sshd to chroot ftp requests in this way:
>
> Match User myftpuser
> ChrootDirectory /home/of/the/hackers
> ForceCommand internal-sftp
>
> giving the proper permissions to the destination dir, etc.
> as from Peter doc too.
Do you have
> let's remain on sftp topic..
I finally managed to receive the proper answers from my hosting
that permitted me change sshd port successfully.
On the other hand I came across some Linoox doc about how-to produce
a chroot ssh environment to make the sshd_config settings meaningful and
running
On Thu, 9 Mar 2023 13:13:40 +0100
"Peter N. M. Hansteen" wrote:
> Further to the "why would you want to?" issue, I offer this from the
> Hail Mary Cloud cycle:
> https://bsdly.blogspot.com/2013/02/theres-no-protection-in-high-ports.html
About the only benefit is that having a non-standard port
Here I am with one more trouble..
(I'm still waiting proper reply from the hosting for the change of
sshd port and the related consequences to the VPS console but let's
remain on sftp topic..)
I configured sshd to chroot ftp requests in this way:
Match User myftpuser
ChrootDirectory
Peter N. M. Hansteen :
>
> That little guide I posted a link to has a section about setting up
> a separate set of users for sftp
Thank you for your answers and the doc too, Peter.
While I'm reading you I'm trying to grasp from my hosting what are they
enforcing
under their gui layer to
On Thu, Mar 09, 2023 at 01:31:47PM +0100, Daniele Bonini wrote:
>
> > change it to any number you want.
>
> VPS here come in a nice package with a default web console over ssh.
>
> An other one: if I try to nobody the user default shell
> I'm out of any luck to be able to connect.
That little
cor...@free.fr wrote:
>
> Since sftp uses ssh port, you can just change the port for sshd.
> in sshd_config:
>
> Port 22
>
> change it to any number you want.
VPS here come in a nice package with a default web console over ssh.
An other one: if I try to nobody the user default shell
I'm out
On Thu, Mar 09, 2023 at 12:47:14PM +0100, Daniele Bonini wrote:
>
> I'm wondering if there is any chance to change the default
> listening port for sftp-server.
>
> NB: I'm using it on my Linoox VPS but I see from the man
> a given OpenBSD 2.8 port origin.
it is indeed possible to change the
On 09/03/2023 19:47, Daniele Bonini wrote:
Hello,
I'm wondering if there is any chance to change the default
listening port for sftp-server.
NB: I'm using it on my Linoox VPS but I see from the man
a given OpenBSD 2.8 port origin.
Thanks, appreciated!
-- Daniele Bonini
Since sftp uses
Hello,
I'm wondering if there is any chance to change the default
listening port for sftp-server.
NB: I'm using it on my Linoox VPS but I see from the man
a given OpenBSD 2.8 port origin.
Thanks, appreciated!
-- Daniele Bonini
11 matches
Mail list logo