Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: eiceic on April 05, 2007, 08:14:20 PM
-
version 7.1.3 on both servers
Any idea what this Bad ttyname: -c means?
[root@rdsql files]# /usr/bin/rsync /home/e-smith/files/ibays/offsite/files admin@mail.thedomain.com:/home/e-smith/files/ibays/rd_backup/files
admin@mail.thedomain.com's password:
Bad ttyname: -c
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(453) [sender=2.6.9]
Thanks,
Chris Buechler
-
I would be interested in knowing what that means as well. A few months back I was trying to use ssh and/or scp to transfer files between two SME servers and got the same thing. I was never able to get anywhere with it.
-
user admin has no default shell
no tty can be attached to a sessions started for this user, and prompting for a password is something which involve tty usage
You should either consider:
-using a user with a valid login shell
- configured a ssh key based connection (gather for "ssh without password" on google) and use rsync through ssh
G.
-
option #1 worked great -- thanks