Q: In a Fedora system, when I connect to an account NOT configured to use a 
chroot jail, I just get a "Connection closed" message. Why? 
A: Fedora creates a group called rsshusers:
     rsshusers:x:488:
and install rssh as /usr/bin/rsshd with permission 0750 and owher 
root.rsshusers:
    -rwxr-x--- 1 root rsshusers 24128 Mai 18 18:12 /usr/bin/rssh
So, users should be included at group rsshusers to run rssh.

Command used to test the connection:
[frota@crux ~]$ sftp hellom...@rsshserver.mydomain.ex 
hellom...@rsshserver.mydomain.ex's password: 
Connection closed                                                             

[frota@crux ~]$ scp hellom...@rsshserver.mydomain.ex:ap7131/* .              
hellom...@rsshserver.mydomain.ex's password:                                  
/usr/bin/rssh: Permission denied                                              

[frota@crux ~]$ scp hellom...@rsshserver.mydomain.ex:ap7131/* .               
hellom...@rsshserver.mydomain.ex's password:                                  
scp: ap7131/*: No such file or directory   




-- 
     Fernando Frota Machado de Morais
        IR Team - Divisao de Redes de Comunicacao
        Centro de Computacao
        Universidade Federal de Minas Gerais
        Brasil
        Tel. +55(31)3409.4007  Fax. +55(31)3409.4004
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
rssh-discuss mailing list
rssh-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to