Want unusual config...

From: Early Ehlinger (early_at_respower.com)
Date: 12/20/03


Date: Fri, 19 Dec 2003 17:36:45 -0600

I want to configure sshd in a somewhat unusual way. Reading the docs leaves
me a bit confused. Hopefully somebody here can shed some light. If so,
thanks in advance!

What I'd like is to have 2 or 3 users that are allowed to ssh into my server
with shell access. I.e., they need to be able to log in just as if it were
a telnet session. I've got this part working just fine.

In addition, I'd like *all* users (except root, of course) to be able to
SFTP in using sftp-server, and have their home directory appear to be the
root of their FTP account.

In other words, for most users I only want to allow SFTP connections, since
there is no reason for them to need shell access to the server.

The 2 problems I'm having are:

1) if I set AllowUsers to have the 2 or 3 special users, then I cannot use
SFTP from any other account.

2) when I SFTP in, it presents my home folder as /full-path-to-my-folder/
rather than /.

Hopefully I'm missing something simple. Can anybody offer some advice?

--
Best Regards,
- Early Ehlinger


Relevant Pages

  • Re: Best sftp chroot ?
    ... I have several clients who want to use sftp (SSH) ... lets do a quick check that our chroot (or other jail) is ... because I want you to see your new root working. ...
    (alt.os.linux.suse)
  • Re: SSH sftp and Windows
    ... "libsmb based programs must *NOT* be setuid root. ... >> the to use sftp to get into Linux and then mount some drives from windws ...
    (comp.os.linux.security)
  • RE: sftp-server on solaris8
    ... root is allowed to connect. ... > I am having a problem trying to use sftp over sshd on solaris8. ... $>whoami: Carl Holtje ...
    (SSH)
  • FW: 2 sftp questions
    ... || I got sftp working, ... || with gftp, also from root. ... | logging in as root if at all possible. ... Connecting to 66.225.207.87... ...
    (Fedora)
  • Mixing Public Key and Password authentication
    ... I am looking at installing SSH on a file server to provide SFTP and ... I have noticed that several of the SFTP clients on the market, ... Contribute, etc), do not provide to option of authenticating via Public Key. ... what I would like to do is only provide shell access to users ...
    (comp.security.ssh)