|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
sshd - inconsistent app behavior vs consoleI am trying to setup remote backups using vshadow.exe to create a drive
snapshot (Volume Shadow Copy Service). When I run vshadow from a console bash prompt it works fine, but if I ssh to the host and run it remotely it does not. It appears that there is something different between the bash environment I get via sshd and the one I get by opening the bash prompt via the start menu. I have verified that the bash.exe process that runs when I ssh is owned by my user account and other than some differences in environment variables, I can't see any difference between the bash processes. Everything else I've tried via ssh has worked ok. I believe that vshadow does interact with other services on the host. I did come across some prior messages in the list archive that suggested there was a problem with this via sshd. I was not able to find any clear answers. Any ideas?? I'm running the latest cygwin code on Windows XP sp2. I don't think there is anything special or unusual about my setup. Here's what I get when I run vshadow from an ssh session. I get the same error on two different hosts. $ ./vshadow.exe c: VSHADOW.EXE 2.2 - Volume Shadow Copy sample client Copyright (C) 2005 Microsoft Corporation. All rights reserved. (Option: Create shadow copy set) (Gathering writer metadata...) (Waiting for the asynchronous operation to finish...) Error during the last asynchronous operation. - Returned HRESULT = 0x80042318 - Error text: VSS_E_WRITER_INFRASTRUCTURE - Please re-run VSHADOW.EXE with the /tracing option to get more details --Larkin -- 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/ |
|
|
Re: sshd - inconsistent app behavior vs consoleLarkin Lowrey wrote:
> I am trying to setup remote backups using vshadow.exe to create a drive > snapshot (Volume Shadow Copy Service). When I run vshadow from a console > bash prompt it works fine, but if I ssh to the host and run it remotely > it does not. You've left allot for us to infer from your description, including your Cygwin configuration (sshd and general), how you ssh in (password or pubkey), and even what vshadow is! I'd recommend a read through of the problem reporting guidelines found here: > Problem reports: http://cygwin.com/problems.html My WAG is that you're using pubkey authentication. If so, try password. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/ |
|
|
Re: sshd - inconsistent app behavior vs consoleLarry Hall (Cygwin) wrote:
> You've left allot for us to infer from your description, including your > Cygwin configuration (sshd and general), how you ssh in (password or > pubkey), and even what vshadow is! I'd recommend a read through of > the problem reporting guidelines found here: >> Problem reports: http://cygwin.com/problems.html > My WAG is that you're using pubkey authentication. If so, try password. I apologize for not providing enough information but you did come up with the correct reason. When I logged in via password, and not public key, the vshadow program did function correctly. After doing some searching I have concluded that this operation is not possible using public key authentication. --Larkin -- 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/ |
|
|
Re: sshd - inconsistent app behavior vs consoleLarkin Lowrey wrote:
> Larry Hall (Cygwin) wrote: >> You've left allot for us to infer from your description, including your >> Cygwin configuration (sshd and general), how you ssh in (password or >> pubkey), and even what vshadow is! I'd recommend a read through of >> the problem reporting guidelines found here: >>> Problem reports: http://cygwin.com/problems.html >> My WAG is that you're using pubkey authentication. If so, try password. > I apologize for not providing enough information but you did come up > with the correct reason. When I logged in via password, and not public > key, the vshadow program did function correctly. > > After doing some searching I have concluded that this operation is not > possible using public key authentication. Right. Not in 1.5.x. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/ |
|
|
Re: sshd - inconsistent app behavior vs consoleHello, I've got the same problem. Does Anybody know the solution? how Can I resolve this problem?
please help me?
|
|
|
Re: sshd - inconsistent app behavior vs consoleThis problem has dragged me for a long time. ( i was trying to make
devenv.exe work through sshd on cygwin). My conclusion is that you can use password authentication, otherwise it won't work. (if you use password authentication, it should work, otherwise you have different problem). My understanding of the problem is that: sshd is running under a system user which is SYSTEM on your windows. So if you are using a different user, say JohnSmith, to ssh log in, and you are not using password authentication, you are in fact not properly authenticated with Windows. So windows still consider your session is under SYSTEM, not JohnSmith. (to verify that, once you ssh in and got a bash shell, look at USERNAME). Only if you use password authentication and explicitly typed the password, Windows can get you authenticated properly and then your ssh session is running under JohnSmith. This user difference caused some application (in my case devenv.exe) permission problem and the application can not run correctly. So now, i am using Expect to explicitly "type" password to emulate passwordless log in, to some extend. Derek ----- Original Message ----- From: "barboles" <enrique7199@...> To: <cygwin@...> Sent: Saturday, December 22, 2007 10:58 AM Subject: Re: sshd - inconsistent app behavior vs console > > Hello, I've got the same problem. Does Anybody know the solution? how Can > I > resolve this problem? > please help me? > > > Larry Hall (Cygwin) wrote: >> >> Larkin Lowrey wrote: >>> Larry Hall (Cygwin) wrote: >>>> You've left allot for us to infer from your description, including your >>>> Cygwin configuration (sshd and general), how you ssh in (password or >>>> pubkey), and even what vshadow is! I'd recommend a read through of >>>> the problem reporting guidelines found here: >>>>> Problem reports: http://cygwin.com/problems.html >>>> My WAG is that you're using pubkey authentication. If so, try >>>> password. >>> I apologize for not providing enough information but you did come up >>> with the correct reason. When I logged in via password, and not public >>> key, the vshadow program did function correctly. >>> >>> After doing some searching I have concluded that this operation is not >>> possible using public key authentication. >> >> >> Right. Not in 1.5.x. >> >> >> -- >> Larry Hall http://www.rfk.com >> RFK Partners, Inc. (508) 893-9779 - RFK Office >> 216 Dalton Rd. (508) 893-9889 - FAX >> Holliston, MA 01746 >> >> _____________________________________________________________________ >> >> A: Yes. >> > Q: Are you sure? >> >> A: Because it reverses the logical flow of conversation. >> >>> Q: Why is top posting annoying in email? >> >> -- >> 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/ >> >> >> > > -- > View this message in context: > http://www.nabble.com/sshd---inconsistent-app-behavior-vs-console-tp11545397p14472206.html > Sent from the Cygwin list mailing list archive at Nabble.com. > > > -- > 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/ > -- 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/ |
| Free embeddable forum powered by Nabble | Forum Help |