Date: Sun, 30 Dec 2001 01:12:07 GMT From: "Guli" <konfer@mikulas.com> To: "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: ssh + scp + ssh-dummy-shell Message-ID: <20011230011207.46547.qmail@academy.nsnet.cz>
next in thread | raw e-mail | index | archive | help
Hi. I'm tying to use SCP with chroot i'm runing FreeBSD 4.4-STABLE #5: Wed Dec 12 20:11:23 CET 2001 i'v instaled SSH from ports (ssh-2.3.0) with added parameter --enable-static into Makefile then did all steb by step by http://www.ssh.com/products/ssh/administrator24/Using_Chroot_Manager__ssh-ch rootmgr_.html so first problem is when i run ssh-chrootmgr -h, or any other parameter it returns platan# ssh-chrootmgr -h /usr/local/bin/ssh-chrootmgr: 103: Syntax error: Bad fd number what does it mean? second, when i try to login with WinSCP2 login fail and i scpclient log is --------------------------------------- . Server version: SSH-1.99-2.3.0 SSH Secure Shell (non-commercial) . We claim version: SSH-2.0-PuTTY . Using SSH protocol version 2 . Host key fingerprint is: . 1024 d9:e1:92:af:0d:db:cd:8d:3d:4f:e9:2f:b4:d8:72:61 . Initialised zlib (RFC1950) compression . Initialised zlib (RFC1950) decompression . Initialised triple-DES client->server encryption . Initialised triple-DES server->client encryption . Opened channel for session . Started a shell/command . -------------------------------------------------------------------------- . Doing startup conversation with host (shell). . Skipping host startup message (if any). > echo "WinSCP: this is end-of-file:0" . All channels closed. Disconnecting . Getting current directory name. * (ESshFatal) Error getting name of current remote directory. --------------------------------------------------------------------------- the HOME/bin has '755 root.wheel" and HOME (/usr/home/mikulas) has '770 mikulas.www' there is the HOME/bin lrwxr-xr-x 1 root www 19 Dec 30 01:02 sftp-server -> sftp-server2.static -r-xr-xr-x 1 root wheel 258568 Dec 30 00:33 sftp-server2.static lrwxr-xr-x 1 root www 22 Dec 30 01:01 ssh-dummy-shell -> ssh-dummy-shell.static -r-xr-xr-x 1 root wheel 51264 Dec 30 00:32 ssh-dummy-shell.static where is the problem ? sorry for long message .... thanks a lot for any help. Jiri. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011230011207.46547.qmail>