It sounds like an account issue. It sounds as if rssh is working, but
that particular > account is not permitted access. Have you checked the contents of
 /var/log/syslog or dmesg for relevant errors?

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
===========================

/Kevin

James Shewey wrote:

It sounds like an account issue. It sounds as if rssh is working, but that particular account is not permitted access. Have you checked the contents of /var/log/syslog or dmesg for relevant errors?

On 6/2/07, *Kevin McNamee* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi,

    I have allowed scp in rssh.conf and the error message below shows
    that scp is allowed.

====================
scp [EMAIL PROTECTED]:a.txt <mailto:[EMAIL PROTECTED]:a.txt> .
[EMAIL PROTECTED]'s password:

This account is restricted by rssh.
Allowed commands: scp sftp

If you believe this is in error, please contact your system administrator.
====================

    /Kevin


    Neil Muller wrote:

The rssh.conf file has configuration entries which specifically enable/disable specific protocols that run on top of ssh (sftp, rsync, scp). The following is from the default rssh.conf that
    comes  with the tarball:

    # Leave these all commented out to make the default action for
    rssh  to lock
    # users out completely...

    #allowscp
    #allowsftp
    #allowcvs
    #allowrdist
    #allowrsync

    To use scp you must specifically uncomment the allowscp entry.

    Neil



    On 02/06/2007, at 8:43 AM, Kevin McNamee wrote:

    Hi! I have the following strange problem: ====================
    >  scp [EMAIL PROTECTED]:a.txt <mailto:[EMAIL PROTECTED]:a.txt> .
    [EMAIL PROTECTED]'s password: This account  is restricted by rssh.
    Allowed commands: scp sftp If you believe  this is in error,
    please contact your system administrator.  ====================
    Any ideas? Much appreciated, Kevin
    ----------------------------------------------------------------------
    ---
    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]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/rssh-discuss





    -------------------------------------------------------------------------
    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]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/rssh-discuss




--
I thought about building you a boat to survive the river of tears I'm crying for you, but the world's smallest violins just aren't a reliable source of lumber, and that cross you're nailing yourself to seems buoyant enough anyways - Dr Gregory House, M.D.

-------------------------------------------------------------------------
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

Reply via email to