Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- markus berges
July 13, 2005, 12:50 pm
rate this thread
my problem is the ftp behaviour on my server. Since Im running
vsftpd, the user, who are allowed to connect are chrooted to
their home-directories, which in turn is very convenient.
But if a user connects via ssh2 tunnel to my server (dsa-key-pair),
he is not longer chrooted, but is able to run wild, within the
servers directory tree.
First I presumed this could be because the vsftpd might be confused
of the source IP-Adress coming from localhost since the tunnel start
at localhost on the users mashine.
But even when I start ftp 127.0.0.1 on my servers comandline the STIN
is handed over to vsftpd (from the sftp-server subsystem I think),
which captures me within my home directory as it should.
The user has no shell like /bin/sh or /bin/bash, but the ftp-subsystem
What I dont understand is the behaviour of this subsystem. Is it possible
that the user using the ssh-tunnel is not handed to vsftpd, but to sftpd.
In addition there are no log-entries in the vsftpd.log file when using
Is there a possibility to change the configuration of this
hope somebody can help or has I link to more informations
- Richard E. Silverman
July 14, 2005, 3:17 am
Re: sshd tunnel problem
MB> What I dont understand is the behaviour of this subsystem. Is it
MB> possible that the user using the ssh-tunnel is not handed to
MB> vsftpd, but to sftpd.
Yes. vsftpd is an FTP server. sftpd is an SFTP server. They have
exactly nothing to do with one another.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum