This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ssh login and SMB drive


On Fri, 10 Feb 2006, Torsten Bronger wrote:

> Hallöchen!
>
> I've running an sshd on a Cygwin system.  If I start Bash, I can see
> a remove drive of a Windows Server mounted at /cygdrive/t/.  So far,
> so good.
>
> Unfortunately I can't see this drive when logging in from a Linux
> machine via ssh.  I suspect the reason is that the drive is password
> protected, and the password is not my login password.  Every time I
> log in (via the orinary Windows login screen) I have to enter that
> password.
>
> Can I put this password somewhere so that Cygwin can mount it, even
> when I'm accessing it from outside?  Thank you!

Can't you just run "net use t: '\\MACHINE\SHARE' '*'" from the bash prompt
once you're logged in via ssh?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]