Re: OpenSSH for windows: starting directories

From: pgalvao_at_**********.***
Date: Fri Oct 10 2003 - 05:05:27 EDT

Yes, I believe so, altought I've never tried ...

Try the IdentityFile parameter in the /etc/ssh_config file. Pheraps
something like /cygdrive/<drive letter>/<directory> ...

Hopping it can help you.

Pedro Galvão

Robert Dengler wrote:

> I'm running the latest version of OpenSSH for Windows on NT 5.0. I'd
> like to have the command prompt from a remote client start in a
> specific directory (say c:\dir1, or /cygdrive/c/dir1/) while the
> public key file is in a different directory (c:\dir2). If I change
> the home directory in the passwd file to /cygdrive/c/dir2/, the key
> file isn't used - I have to type in the password. I also need to use
> switch.exe, so can't edit quietcmd.bat to put the terminal into the
> right directory after login.
>
> Is there any way to have the SSH client start in a directory other
> than the one the key file is placed? Thanks.
>
> Bob
>
>
> --
> List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/
> List Archives: http://erdelynet.com/archive/ssh-l/
> To Unsubscribe: Go to
> http://tech.erdelynet.com/mailman/listinfo/ssh-l/ and enter your email
> address at the bottom to "Edit Options". If you don't know your
> password, have it emailed to you. Then unsubscribe.
>

--
List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/
List Archives:    http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to http://tech.erdelynet.com/mailman/listinfo/ssh-l/ and enter your email address at the bottom to "Edit Options". If you don't know your password, have it emailed to you. Then unsubscribe.
Received on Fri Oct 10 10:41:21 2003

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:33:59 EDT