I have tried to google for this kind of application, but have not found.
There should be a web interface, where the client (person) could start an rsync backup of his/her workstation to a remote server (= the web server machine).
I need this because the client has a dynamic ip, so the ssh key authentication on the server never works un-interactively - because every time the cient ip has changed, and the script asks:
The authenticity of host ##.##.##.## can't be established. RSA key fingerprint is ##########. Are you sure you want to continue connecting (yes/no)?
Or could there be some other approach to this?
- Jussi
On Thu, Nov 12, 2009 at 02:00:57PM +0200, Jussi Hirvi wrote:
The authenticity of host ##.##.##.## can't be established. RSA key fingerprint is ##########. Are you sure you want to continue connecting (yes/no)?
This is ssh asking the question. You can disable it; "man ssh_config" for details.
On 12.11.2009 14:20, Stephen Harris wrote:
On Thu, Nov 12, 2009 at 02:00:57PM +0200, Jussi Hirvi wrote:
The authenticity of host ##.##.##.## can't be established. RSA key fingerprint is ##########. Are you sure you want to continue connecting (yes/no)?
This is ssh asking the question. You can disable it; "man ssh_config" for details.
Ok, thanks! (I confess I am lazy.) I found
CheckHostIP If this flag is set to "yes", ssh will additionally check the host IP address in the known_hosts file. This allows ssh to detect if a host key changed due to DNS spoofing. If the option is set to "no", the check will not be executed. The default is "yes".
...and added to my backup script the following option: ssh (......) -o CheckHostIP=no
This helps me some way.
But still another problem persists: the ip keeps changing. That is why I want the client (person) to start the script by a web interface. That way I could pick the ip up from the httpd log, or with some server-side script... Any ideas how to do this?
Regards, Jussi
On 2009-11-12 13:39, Jussi Hirvi wrote:
But still another problem persists: the ip keeps changing. That is why I want the client (person) to start the script by a web interface. That way I could pick the ip up from the httpd log, or with some server-side script... Any ideas how to do this?
There is "BackupPC" which does lots of other things, and also can use rsync as backup and, moreover, has such button for the user in a web page:
http://backuppc.sourceforge.net/BackupPCBackupSummary.html
On 12.11.2009 14:44, Paul Bijnens wrote:
There is "BackupPC" which does lots of other things, and also can use rsync as backup and, moreover, has such button for the user in a web page:
Thanks Paul, that looks like exactly what I was looking for. I will give that a test!
Regards, Jussi
On Thu, Nov 12, 2009 at 8:00 AM, Jussi Hirvi listmember@greenspot.fi wrote:
On 12.11.2009 14:44, Paul Bijnens wrote:
There is "BackupPC" which does lots of other things, and also can use rsync as backup and, moreover, has such button for the user in a web page:
I'll 2nd that - it is a really awesome package. I use it at home and work
I need this because the client has a dynamic ip, so the ssh key authentication on the server never works un-interactively - because every time the cient ip has changed, and the script asks:
The authenticity of host ##.##.##.## can't be established. RSA key fingerprint is ##########. Are you sure you want to continue connecting (yes/no)?
Or could there be some other approach to this?
Use the ssh StrictHostKeyChecking parameter... jlc