Re: SFTP file upload issue



Hello,

On Server :
file permission for $home\.ssh\authorized_keys is 644
and direcotry permission for $home\.ssh is 777

On client
file permission for $home\.ssh\id_dsa is 600
file permission for $home\.ssh\id_dsa.pub is 644
and direcotry permission for $home\.ssh is 700


Regards

Umesh

Todd H. wrote:
"umesh" <umesh.gamare@xxxxxxxxx> writes:

Hello,

file permission for $home\.ssh\authorized_keys is 644
and direcotry permission for $home\.ssh is 777

And there's possibly one of your (or the) problem.

I don't believe ssh or sshd will trust anything in a world writable
.ssh directory.

Are these file perms on the client side or server side? Check both.


--
Todd H.
http://www.toddh.net/

.



Relevant Pages

  • Re: SFTP file upload issue
    ... and direcotry permission for $home\.ssh is 777 ... On server, try: ... chmod 600 ~/.ssh/authorized_keys ...
    (comp.security.ssh)
  • Re: SFTP file upload issue
    ... and direcotry permission for $home\.ssh is 777 ... Are these file perms on the client side or server side? ...
    (comp.security.ssh)
  • Re: SFTP file upload issue
    ... and direcotry permission for $home\.ssh is 777 ... I don't believe ssh or sshd will trust anything in a world writable ... Todd H. ...
    (comp.security.ssh)
  • Re: Cant do setuid and file permision denied errors
    ... > I have a chpass.pl which is being executed by a change password web ... > with this file permission, I'm getting an error: ... This is a problem with the setup of your web server; ... script be runnable by anyone is far more of a security risk. ...
    (comp.lang.perl.misc)
  • HELP ... Ive been hacked
    ... I have a server that has been hacked. ... funky file permission attached to this directory, ... NTBackup backs up the file I want during a full backup, ... restore the file, ...
    (comp.security.misc)