Re: Openssh - Sftp problem

From: Isiman (none@isiman.isi)
Date: 03/21/03


Date: Fri, 21 Mar 2003 10:24:05 +1000
From: Isiman <none@isiman.isi>

Hey, that is great, thanks for that! One thing that I did get working
was mounting an NTFS as a folder inside the ssh directory, this was
probably the easy way of doing that!
Another question: I followed your directions and all works great but
(not really a problem in my case as I will (hopefully) be the only one
logging in) I can still " cd .. " up into the higher directories and
basicly see everything! Is there any way of only seeing my directory? My
account is part of the administrator/root group, possibly this allows me
unhindered access?
Again, thanks for your help!

Isiman

Todd Bowden wrote:
> Isiman,
>
> On your NT server where you installed OpenSSH (C:\Program
> Files\Networksimplicity) there should be an "etc" directory. Under
> this directory there is a "passwd" file. If you have setup your
> userID in the passwd file, edit the passwd file and in the second to
> last field this is where you would input your home directory. Create
> a directory "C:\cygdrive", in the passwd file in the second to last
> field type in /cygdrive/c/Documents and Settings/userID. Your done,
> you should then be put into your home directory now. Dont forget if
> your going to use keys, create a .ssh directory in your home
> directory. You must do this part from the command line. Windows
> explorer doesnt like to create directories like .ssh. Hope this helps
>
>
>
> Isiman <none@isiman.isi> wrote in message news:<3e79caec$0$5551$afc38c87@news.optusnet.com.au>...
>
>>Just wondering if you ever got an answer to this question, trying to
>>work this one out myself!
>>If you have got a workaround that you found somewhere, would you be able
>>to send instructions over here!
>>Thankyou for your time
>>
>>Isiman
>>
>>Flossa Papp wrote:
>>
>>>Hey all,
>>>I am sure this gets asked 10000x and I am sorry, but I can't find it on the
>>>web - probably asking the wrong question.
>>>
>>>I have installed openssh for windows on my computer and connect to the
>>>server using SSH Secure Shell. however, I have two problems:
>>>
>>>1) I 've tried to change the home directory (set Environment Variable
>>>HOMEPATH to C:). But nothing seems to work and my ssh connection always
>>>ends up in the directory in which the openssh software is installed.
>>>
>>>2) I've tried to use sftp, but the connection ends up in the directory in
>>>which the server software is installed and I can't go up the directory tree
>>>to other folders.
>>>
>>>I hope you can help me with these problems,
>>>Thanks flo
>>>
>>>
>>>



Relevant Pages

  • Re: Redhat 9 <-> RH 7.3
    ... The problem turned out to be permissions on my home directory on the ... newly configured machine. ... It got the standard RedHat 775 permissions. ... > I have a configured .ssh directory with the usual public key files. ...
    (comp.security.ssh)
  • Re: Locking down ssh config in large env
    ... > delete the .ssh directory. ... or for the .ssh directory to be owned by root ... and the sticky bit set on the user's home directory. ... feasible in some environments, but it may not be feasible in other ...
    (SSH)
  • Re: Locking down ssh config in large env
    ... Actually if the .ssh directory is owned by root ... This is implemented in the filesystem driver to keep filesystem consistancy. ... If the user has write access to their home directory, ...
    (SSH)
  • RE: directory permissions of .ssh directory and files
    ... On Behalf Of McDougall, Marshall (FSH) ... directory permissions of .ssh directory and files ... I believe that the $HOME folder needs to be 600 not just the .ssh ...
    (RedHat)
  • RE: directory permissions of .ssh directory and files
    ... directory permissions of .ssh directory and files ... On Behalf Of McDougall, Marshall (FSH) ... I believe that the $HOME folder needs to be 600 not just the .ssh ...
    (RedHat)