Using test in Cygwin and Batch-File

2006-08-16 Thread Kai Schlichting
Hi! I wanna test, if a path in Cygwin exists, and if not, it should be created. I tried to write a Batch-File, but dont know how to fill the if statement: if not %cygwin%\test -d /myfolder/myfolder2 %cygwin%\mkdir /myfolder/myfolder2 How would you solve the Problem? I think, its easy for

Re: SSH: The authenticity of host XXX can't be established

2006-08-16 Thread Kai Schlichting
Markus Schönhaber schrieb: Once again: ssh must be able to create /home/_Kai_/.ssh on the machine where you issue the ssh command, i. e. the Cygwin machine. Creating those files on the machine you want to connect to, won't help. That means i must have on my Windows machine /home/_Kai_/.ssh? How

Re: SSH: The authenticity of host XXX can't be established

2006-08-16 Thread Kai Schlichting
Markus Schönhaber schrieb: >> I think, now it's all like you say, but same problems: >>RootUserName # ls -al /home/_Kai_/ > > What's this? because my SSH is installed on an Eisfair-Server, my rootusername is eis. I wrote RootUserName so that you know, that i was logged on as

Re: SSH: The authenticity of host XXX can't be established

2006-08-16 Thread Kai Schlichting
Markus Schönhaber schrieb: You should ensure that ssh is able to create the directory /home/_Kai_/.ssh on the machine where you issue the ssh > command. Which obviously means that /home/_Kai_/ has to exist. BTW: ~/.ssh (i. e. /home/_Kai_/.ssh in your case) is where the > identity file belongs

SSH: The authenticity of host XXX can't be established

2006-08-16 Thread Kai Schlichting
Hi! I have some problems using the ssh.exe from ...\cygwin\bin\: Each time, i log in into my ssh-Server (Linux), i get the following output: C:\cygwin\bin>ssh -i identity [EMAIL PROTECTED] Could not create directory '/home/_Kai_/.ssh'. The authenticity of host XXXmyIPXXX can't be establis

Re: rsync + ssh crashes

2006-08-14 Thread Kai Schlichting
Kai Schlichting schrieb: I try to use the following batch-script: set CYGWIN=tty binmode nontsec set TERM=ansi set PATH=C:\rsync;%PATH% set HOME=C:\rsync set RSYNC_RSH=/cygdrive/c/rsync/ssh.exe set USERNAME=backup rsync --progress --verbose --stats --delete -a -e 'ssh -i ide

Re: rsync + ssh crashes

2006-08-14 Thread Kai Schlichting
Kai Schlichting schrieb: I try to use the following batch-script: set CYGWIN=tty binmode nontsec set TERM=ansi set PATH=C:\rsync;%PATH% set HOME=C:\rsync set RSYNC_RSH=/cygdrive/c/rsync/ssh.exe set USERNAME=backup rsync --progress --verbose --stats --delete -a -e 'ssh -i ide

rsync + ssh crashes

2006-08-14 Thread Kai Schlichting
Hi! I try to use the following batch-script: set CYGWIN=tty binmode nontsec set TERM=ansi set PATH=C:\rsync;%PATH% set HOME=C:\rsync set RSYNC_RSH=/cygdrive/c/rsync/ssh.exe set USERNAME=backup rsync --progress --verbose --stats --delete -a -e 'ssh -i identity' /cygdrive/c/Test /c