Fedora system - Connection close after connection - not using chroot jail (solved)
Brought to you by:
xystrus
From: Fernando F. M M. <fr...@ce...> - 2011-08-10 03:37:47
|
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 hel...@rs...domain.ex hel...@rs...domain.ex's password: Connection closed [frota@crux ~]$ scp hel...@rs...domain.ex:ap7131/* . hel...@rs...domain.ex's password: /usr/bin/rssh: Permission denied [frota@crux ~]$ scp hel...@rs...domain.ex:ap7131/* . hel...@rs...domain.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 |