Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenSSH: Users
sshd port forwarding with no shell? chroot/jail?
 

Index | Next | Previous | View Flat


dcbill at volny

May 7, 2009, 11:37 AM


Views: 3002
Permalink
sshd port forwarding with no shell? chroot/jail?

OpenSSH_5.1p1 Debian-3ubuntu1, OpenSSL 0.9.8g 19 Oct 2007

I'd like to allow a client with an authorized key
to start port forwarding on a server to his machine
without actually needing to log in or do anything
on the machine, or more I'd prefer there be no
access except starting the forwarding when the
client demands it.

I tried just setting up the chroot with no files
copied into the chrooted tree, just the auth keys
(actually those seem to work fine even outside
the chroot). Is there an option to let the port
forwarding/tunnel start up without anything else?
Is there a minimum of system files I still have to
copy into the chroot?

Additionally, I tried 'permitopen "host:port"....' specifying the client
side
doing a remote port forward, but doesn't have any effect.
Any way to specify an allowed IP:port for a remote
tunnel, or this is only good for local -L tunnels?

Thanks.

Subject User Time
sshd port forwarding with no shell? chroot/jail? dcbill at volny May 7, 2009, 11:37 AM
    Re: sshd port forwarding with no shell? chroot/jail? 4ux6as402 at sneakemail May 8, 2009, 3:34 AM
        Re: sshd port forwarding with no shell? chroot/jail? mdipietro at isensix May 8, 2009, 4:30 PM
            Re: sshd port forwarding with no shell? chroot/jail? dcbill at volny May 11, 2009, 12:19 AM
    RE: sshd port forwarding with no shell? chroot/jail? psnizek at ee May 8, 2009, 4:55 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.