09-12-2012
configure the sshd_config for sftp jail root
Reffer sshd_config documents
How to Setup Chroot SFTP in Linux (Allow Only SFTP, not SSH) (link removed)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was reading an article on how it is very important to setup a chroot jail to run bind. I can follow what the article says but one thing I am unclear about is now on system boot the BIND process in the chroot jail will start since it the owner will no longer be root but some other user. Can... (1 Reply)
Discussion started by: mojoman
1 Replies
2. UNIX for Dummies Questions & Answers
I have a script that setsup the environmental variables and then goes on to ftp a file . The scripts which does is as follows
The script runs fine when i run it in my home dir and goes on to ftp the file..
But when the same file is run as a batch job in Control-M(a job scheduling software... (1 Reply)
Discussion started by: hareeshkumaru
1 Replies
3. UNIX for Advanced & Expert Users
All,
I enabled PAM and aged a password, but when I login it asks me for the current password then says password unchanged after entering the current password. Is this a bug? My security dept is going to want me to enable password aging and I'm stuck!
Any help on what the issu is?
... (6 Replies)
Discussion started by: markdjones82
6 Replies
4. UNIX for Advanced & Expert Users
Hi all,
I have a Solaris 10 server with SUN_SSH_1.1 installed.
I want to restrict a user via SFTP to only be able to access one directory. I've written a little script in .profile which works perfectly for an ssh login but it appears sftp doesn't read the .profile file so it doesn't work.
... (2 Replies)
Discussion started by: Donkey25
2 Replies
5. Debian
Firstly Hi everyone :)
I setup SFTP and SSH jail using this tutorial:
http://www.howtoforge.com/chrooted-ssh-sftp-tutorial-debian-lenny
SFTP jail works however now when I try to SSH it accepts my password and then just goes to a blank screen. Type any command and the shell session is... (11 Replies)
Discussion started by: pokey144
11 Replies
6. UNIX for Advanced & Expert Users
I have a simple sandbox program which runs a command as user "nobody" in a chroot jail. It sets resource limits with setrlimit, changes the user id with setuid, changes the root dir with chroot, and then calls exec to execute the command given as command line parameters. It is of course a... (8 Replies)
Discussion started by: john.english
8 Replies
7. Solaris
Hello all, does anybody knows a procedure to enable an chroot for users using ssh and sftp ? Thanks (1 Reply)
Discussion started by: celord
1 Replies
8. Red Hat
Hello,
I have sftp server with chroot for a group and username is on a Linux host, I have created a few subdirectories under sftpuser home directories with 775. Then using a Samba I shared this user home directory to another linux client.
On the Linux client, I have jboss user to access... (2 Replies)
Discussion started by: bobby320
2 Replies
9. Red Hat
Hello,
I have a weird issue, I have RHEL 5.7 running with openssh5.2 where sftpgroup OS group is chroot. I see the difference difference in timestamp on files, when I login via ssh and SFTP, I see four hour difference, is something missing in my configuration.
#pwd... (8 Replies)
Discussion started by: bobby320
8 Replies
10. AIX
I have next configuration :
- AIX 5.3 (5300-11-03-1013)
- pWare.SAMBA 3.5.8.1
- OpenSSH 5.2.0
- OpenSSL 0.9.8
Now, to be more clearly I'll explain what I need indeed.
My task is set up integration AIX server to Active Directory 2008 with Samba (Winbind) for chrooted SSH connections.
It... (3 Replies)
Discussion started by: jess_t03
3 Replies
LEARN ABOUT DEBIAN
gesftpserver
gesftpserver(8) System Manager's Manual gesftpserver(8)
NAME
gesftpserver - Green End SFTP Server
SYNOPSIS
/usr/lib/gesftpserver [OPTIONS]
DESCRIPTION
gesftpserver implements the SFTP protocol. It is normally run as an SSH subsystem but can be run in other contexts if necessary.
CONFIGURING OPENSSH
By default, OpenSSH will use its native SFTP server in response to requests for the SFTP subsystem. To use gesftpserver instead, add a
suitable Subsystem command to sshd_config (and remove the existing one if present). For example:
Subsystem sftp /usr/lib/gesftpserver
IMPLEMENTATION DETAILS
gesftpserver supports up to version 6 of the SFTP protocol and the following extensions:
newline
Reports the server's newline convention to the client.
space-available
Equivalent to df(1).
supported
v5 capability details
supported2
v6 capability details
text-seek
Used for resuming text file downloads.
vendor-id
Reports server name and version to client. gesftpserver reports a vendor of "Green End" and a server name of "Green End SFTP
Server".
versions
Lists available versions.
version-select
Select version.
posix-rename@openssh.org
Provides POSIX rename semantics even in pre-v5 SFTP.
SEE ALSO
sshd_config(5)
gesftpserver(8)