Use ssh keys
On 1/31/08, Terry Orechia <[EMAIL PROTECTED]> wrote:
> Hi,
>
>I am getting "system error 59" when I run "net use z:server\\share
> /user:user1 " to access a samb shared drive in an openssh windows
> session where I use passwordless login with command "ssh -i
> user1@ " to log
E:
chdir E:\cygwin\bin
bash --login -i -c 'rsync -avz --remove-source-files
[EMAIL PROTECTED]:/home/test/* /cygdrive/e/Earchives'
Works fine, last a long time. Added one more tweak --remove-source-files
Now all I have to do is setup in windoze scheduler and move about 30GB of data.
Then get th
I also assume if running in a windoze envirment it needs to end with
*.bat extension since windoze doesn't have a clue what *.sh is?
On 1/14/08, Mirco Piccin <[EMAIL PROTECTED]> wrote:
> Hi again.
>
> > The base install of cygwin is on an E: drive. C: didn't have enough room.
> >
> > So if I unde
Actually my intent is to run this from an automated schedular. As
Eric described it could be run from cron like any other Unix shell
script but I really don't want to add a cron daemon. Was thinking
windoze schedular.
The base install of cygwin is on an E: drive. C: didn't have enough room.
So
can login to a shell from windows and run commands but how do I create a script
Something like -
date
sleep 5
Or this is actually what I'm trying to do -
rsync -avz [EMAIL PROTECTED]:/home/funnel/Jan* /cygdrive/e/Earchives
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Pro
On Nov 13, 2007 6:16 PM, David Rothenberger <[EMAIL PROTECTED]> wrote:
> On 11/13/2007 6:49 AM, BB wrote:
> > Option for rsync --remove-source-files does not work.
> >
> > Complains --remove-source-files unknown
> >
> > rsync -avz --remove-source-files [EMAI
This shows you using a "dry run" option.
You are not using a source machine:/dir/file target machine:dir
What happens when you actually transfer files and use the
--remove-source-files option?
On Nov 13, 2007 10:41 AM, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> * BB (Tue, 1
Hello All,
Have downloaded the latest version of cygwin. Also the latest version of rsync.
Option for rsync --remove-source-files does not work.
Complains --remove-source-files unknown
rsync -avz --remove-source-files [EMAIL PROTECTED]:/tmp/foo .
I need to be able to remove files from the so
"Shankar Unni" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> BB wrote:
>
> > Shouldn't GetShortPathName() == 0 always cause the get_short_name()
> > function to fail?
>
> I would sincerely hope not. I see no reason why cygpath conversi
I'm trying to use cygpath to convert a windows path with
long directory and filenames to a unix style path with only
short directory and filenames.
dos_pathname=cygpath -d "$1"
# check for errors
unix_pathname=cygpath -u "$dos_pathname"
# check for errors
I expected cygpath to return non-zero if
build (which by the way outclasses
> anything any make can do)
> /cygdrive/c/Documents and Settings/cygusr //becomes
> /cygdrive/c/DOCUME~1\cyguser //workaround for 95/98 inability to
> handle spaces in directory name
>
> Martin
> - Original Message ---
ly
installed.
Also, according to the "Cygwin Users Guide", I have included the following
line in the code.
WinMainCRTStartup() { mainCRTStartup(); }
It doesnt seem to be called. Is the User Guide correct? The same problem
occurs if I omit the line and use the "-e _mainCRTStartup"
debug_printf ("WaitCommEvent");
goto err;
}
...
}
I could look into this more, but I haven't had much luck debugging the
Cygwin dll code. I can't seem to build the system so I can trace into the
read.
BB.
begin 666 bug.c
M(VEN8VQU9&4@/'1E"[EMAIL
"Krzysiek Pawlik" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi all!
>
> I wrote a small script in Python, but it requires two programs to run
> correctly: tar.exe and gzip.exe. Both are in CygWin package. And that's my
> question: can I bundle both programs and cygwin1.dll wi
it caused telnet to skip the user id
prompt and immediately prompt for the password.
"BB" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> When I use inetd Win98 and telnet to it, I get a prompt for a password.
> When I telnet to inetd on XP, it prompts for a u
When I use inetd Win98 and telnet to it, I get a prompts for a password.
When I telnet to inetd on XP, it prompts for a user id and then a password.
Is there any reason for this inconsistency? Is there anything I can do to
make them consistent?
My guess is that is has something to do with the use
Is there a known problem with Win9x serial io?
I built a new Win98 machine and installed the latest version of Cygwin on
it. The problem described below occurs on Win98 also. I don't think this
is an agetty problem. It just shows up when agetty is used.
Is anyone using agetty with Win9x?
The cygwin.com homepage has two news items "New Cygwin DLL 1.3.21-1
release", probably a typo.
"Randall R Schulz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Rick,
>
> Mirrors pull, they don't push. Apart from allowing the mirror sites
> access to the master file repository at cy
I was having a problem using agetty on Win95 with a modem. I tried with a
null modem cable. The same problem occurs. Could there be a problem with
the icanon stty option on Win95? This works fine running agetty on XP. Is
there any documentation of Cygwin's limitations on Win9x platforms?
On Wi
o come up with a solution that will be used on many old machines
that cannot be easiliy upgraded to XP without a significant hardware
investment, so getting this to work would really help me.
Thanks,
BB
"Randall R Schulz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTE
mrk -inpck istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc ixany imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
isig icanon iexten echo echoe -echok -echonl -noflsh -tostop echoctl echoke
"Randall R Schulz" <[EMAIL PROTECTED]> wrote in message
n
I am using agetty with both Win95 and WinXP. On WinXP everything works
fine. On Win95, I have a problem.
When the Win95 machines modem answers the call, agetty correctly prompts for
the login: id. I type it in and notice that every character I type is
immediately echoed back to me (I'm using hyp
"BB" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm trying to use agetty and have been having a problem. I would
appreciate
> any help I can get.
>
> When I use bash as a users login shell and the incomming connection hangs
up
> without ex
I'm trying to use agetty and have been having a problem. I would appreciate
any help I can get.
When I use bash as a users login shell and the incomming connection hangs up
without exiting the shell, the bash process is eventually cleaned up. When
I use pdksh as the login shell, it doesnt get cl
Hopefully back in the Win9x days, this problem was solved...
I have a need to run Cygwin on Win9x platforms, including Win95. I need to
use cron and agetty for a dial in connection. Is this possible? I've tried
to research this question but haven't been able to find a definitive answer.
Upgradin
As a followup question, In order to create a CD to install from, would it be
better to simply ftp the files from one of the mirror sites. What would the
correct directory structure have to be for setup to install from the
d:\cygwin-setup as a local source assuming d: was a cd? Would this be
enoug
What is the correct way to use setup's "Download from Internet" option to
download all of the Cygwin packages without installing them?
I am trying to download all of the Cygwin packages so I can put them on a
CD. I have to install Cygwin on a machine without internet access. Below
is a summary o
"Paul Coltrin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> I am also looking forward to the release of a built-in ksh for
> Cygwin.
>
> And, I can see that you wouldn't want to bug the maintainer with
> frivilous questions that would delay what you are looking for.
>
> However,
"Christopher Faylor" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Thu, Feb 27, 2003 at 10:06:25AM -0600, BB wrote:
> >Well, I guess this would be the wrong mailing list for the question.
> >Perhaps 'applications' would have been the
"Christopher Faylor" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wed, Feb 26, 2003 at 02:45:36PM -0500, Igor Pechtchanski wrote:
> >On Wed, 26 Feb 2003, you (whoever you are) wrote:
> >>I have read in the cygwin-apps list that pdksh is available. Until it
> >>is officially an
"Christopher Faylor" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wed, Feb 26, 2003 at 02:45:36PM -0500, Igor Pechtchanski wrote:
> >On Wed, 26 Feb 2003, you (whoever you are) wrote:
> >>I have read in the cygwin-apps list that pdksh is available. Until it
> >>is officially an
I have read in the cygwin-apps list that pdksh is available. Until it is
officially announced and available in the package list, what is the correct
procedure for installing it? Can I use the setup program to install it?
I guess this question applies to any new package that is not officially
rel
Has anyone used agetty with a modem? If so, how did you get the modem to
answer the call. Is this done using the -e command option of agetty? I
know the modem must answer the call, but I can't figure out how to
communicate with the modem. The modem doesn't respond to anything I echo to
/dev/tty
The script autoans.sh get called without the space after -e. That's not a
problem.
I did look at the man info and all the file that came with agetty. There is
very little about getting it to work with a modem. They don't have
information about setting the modem to auto answer. The script I list
ks
"Sergey Okhapkin" <[EMAIL PROTECTED]> wrote in message
59A835EDCDDBEB46BC75402F4604D5528F7666@elmer">news:59A835EDCDDBEB46BC75402F4604D5528F7666@elmer...
> Set the modem into auto-answer mode.
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
Has anyone used agetty with a modem? If so, how did you get the modem to
answer the call? I don't see anything in the agetty code that would handle
the modems "RING" or "CONNECT" responses. What does the agetty
documentation refer to when it says that it could be used with a modem.
I would like
36 matches
Mail list logo