login

5 posts / 0 new
Last post
monkeyfarm
Offline
Last seen: 5 years 6 months ago
Joined: 01.05.2008 - 21:33
login

It is likely this has been a topic before, however I did look here and could not find an answer.

 

I installed cwrsync and sshd on a Windows 2003 server using the installer.

I set up the config file with the modules to rsync.

When I go to rsync the backup box, a linux box, I cannot find the right password. I try to sign on using the administrator password to no avail.

I am able to ssh from the linux box to the Windows server, but cannot get the password.

 Any help will be greatly appreciated.

 

Mike 

itefix
Offline
Last seen: 10 hours 32 min ago
Joined: 01.05.2008 - 21:33
Re: login

Have you activated your admin user by using activate user script in the bin directory ?

monkeyfarm
Offline
Last seen: 5 years 6 months ago
Joined: 01.05.2008 - 21:33
Re: login

I had not. When I go to the bin directory, start the bash shell then enter

bash-3.2$ ./activate-user.sh admin

line 4: $'echo \r ': command not found

line 10: $'echo \r ': command not found

line 12: syntax error near unexpected token '$`\e`'

Line 12: terminate ()

 I am surely doing something wrong.

 

 

 

monkeyfarm
Offline
Last seen: 5 years 6 months ago
Joined: 01.05.2008 - 21:33
Re: login

Just to make sure...

I downloaded cwrsyncServer from this site and installed it again.

From the bash shell

Administrator@weidc /bin
$ ./activate-user.sh
./activate-user.sh: line 4: $'echo\r': command not found
?###############################

Activate a user for copssh

###############################

./activate-user.sh: line 8: $'\r': command not found
./activate-user.sh: line 10: $'\r': command not found
./activate-user.sh: line 12: syntax error near unexpected token `$'\r''
'/activate-user.sh: line 12: `terminate ()

Administrator@weidc /bin
$

I know it must be something here as cwrsync has been running a long time. I have it is use remotely and at home so it must be me, but darned if I can find it.

 

itefix
Offline
Last seen: 10 hours 32 min ago
Joined: 01.05.2008 - 21:33
Re: login

You need to convert script files from windows to unix format. Try to use d2u command available from the copssh package or from cygwin.

Topic locked