You're welcome :) You could also change the line to
user=user:077:000011 , then sftp and scp would be allowed to the specified user while everything set as
allowscp #allowsftp ... would give the settings for every rssh-user who is NOT specified. Best wishes Aurelin Quoting Lutfi <lut...@metu.edu.tr>:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, Thank you very much, I have line my conf file, user=user:077:000100 and when I comment out it the problem fixed.:) Thanks, Lutfi On 04/13/2011 02:53 PM, Aurelin wrote:Which distro and version do you use? I tried to reconstruct your problem, but for me it works. Could you print out the logfile + the verbose output of scp? Have you made some per user settings? These would look like user=user:022:00011 #Allow scp and sftp to user (umask 022) Quoting Lutfi <lut...@metu.edu.tr>:Hi, I tried # set the log facility. "LOG_USER" and "user" are equivalent. logfacility = LOG_USER # Leave these all commented out to make the default action for rssh to lock # users out completely... allowscp #allowsftp #allowcvs #allowrdist #allowrsync #allowsvnserve # set the default umask umask = 022 this configuration options but still scp gives the same error and I can connect through sftp with the user I created. On 04/13/2011 01:41 PM, Lutfi wrote:Hi, When I try scp, from my desktop to server it gives the error, that only sftp is allowed. Regard, Lutfi On 04/13/2011 12:24 PM, Aurelin wrote:Hi Lutfi What does it mean, you cannot copy? Do you get an error? To your second question: You can use private/public key authentication to log in without password (since rssh is a shell which you can connect to via ssh, you can also use the ssh authentications such as Private/Public key, Password, PAM... Maybe a smartcard would also work :)) Greetings Quoting Lutfi <lut...@metu.edu.tr>: Hello, I am newbie on rssh and i want to send some files to my back server by using rssh. I created a user by using "rssh-discuss@lists.sourceforge.net" command and I uncommented the lines for sftp and scp in /etc/rssh.conf. But I cannot scp a file to my server sftp works. What may be the problem. My second question, can I make password-less connetion by using rssh. Regards, Lutfi------------------------------------------------------------------------------Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ rssh-discuss mailing list rssh-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rssh-discuss------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo_______________________________________________ rssh-discuss mailing list rssh-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rssh-discuss------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ rssh-discuss mailing list rssh-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rssh-discuss-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJNpZYUAAoJEOASPA9veM4zBgAIALBJGPhh5ioDfDapBZ85v6N1 UQYJgIdI5ZxrXUWTMGhiz5MRan3W/KufS4QiW/Yv58XjtszzMOdYINQDqx14mmvm 0nPY/dPrJTsfpPJ5LzmzG8xJs7Zo55NXa/+Ff7zmsqmtvBre6xnDdx/Ci7ii+xtG BJp6vT2O1+nH60mMHw8gPArKX+X57D5Ohg4dR+LiefigV1PBmA5r4BG6/TT/Xbfw sbv9cLLwWm1ZM7OYfM+BUgtnN5ma+2Z/e7ExzNfizrW0txEotVGgwmN5cyXBryfR MBNfHcRIFKA3Hw7BBJDcPLBe34HoDw3nuwh6v09QX2zh4TMWaXH3U+3h7mXxz8w= =uCqQ -----END PGP SIGNATURE-----
bin3c3k59cr0W.bin
Description: PGP Public Key
pgp8eyRyR1ANo.pgp
Description: PGP Digital Signature
------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________ rssh-discuss mailing list rssh-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rssh-discuss