The Solaris scp man page doesn't have a -f flag either.
http://docs.sun.com/app/docs/doc/816-0210/6m6nb7mkm?a=view
I ran scp from the client side with the verbose flag and i got:
==============================
> scp -v [EMAIL PROTECTED]:a.txt .
....
debug1: send channel open 0
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 0
debug1: Sending command: scp -v -f a.txt
debug1: channel request 0: exec
debug1: channel 0: open confirm rwindow 0 rmax 32768
This account is restricted by rssh.
Allowed commands: scp sftp
If you believe this is in error, please contact your system administrator.
debug1: channel 0: rcvd eof
....
==============================
/Kevin
Karl. wrote:
On Mon, Jun 04, 2007 at 09:15:47PM +0200, Kevin McNamee wrote:
Running dmesg gives me:
===========================
Jun 4 08:46:55 garfield rssh[29028]: [ID 702911 daemon.info] setting
log facility to LOG_USER
Jun 4 08:46:55 garfield rssh[29028]: [ID 702911 user.info] allowing scp
to all users
Jun 4 08:46:55 garfield rssh[29028]: [ID 702911 user.info] allowing
sftp to all users
Jun 4 08:46:55 garfield rssh[29028]: [ID 702911 user.info] setting
umask to 022
Jun 4 08:46:55 garfield rssh[29028]: [ID 702911 user.error] user kevin
attempted to execute forbidden commands
Jun 4 08:46:55 garfield rssh[29028]: [ID 702911 user.error] command:
scp -f a.txt
Jun 4 08:46:55 garfield sshd[29027]: [ID 800047 auth.error] error:
channel 0: chan_read_failed for istate 3
===========================
This is an uneducated guess, but I note that scp on my system (Debian
Lenny) doesn't even have a '-f' option listed in the manpage - is rssh
parsing the options passed to scp and rejecting that as something
unknown and therefore dangerous?
Karl.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss