I have TomatoUSB and optware installed on an Asus N16, and I'm trying to set up some scripts to transfer data to a flash drive attached to the router from my remote servers. I'll use scp and rsync.
I haven't tried rsync, yet, but so far I'm having trouble just accessing the remote servers via ssh using a keyfile. The keys are setup on the remote servers and I was able to do passwordless transfers before from a local vmware instance.
At first I was trying to specify the private keyfile using the "-i" option:
# ssh -i /mnt/flash/.ssh/id_rsa root@remoteserver ssh: Exited: String too long
But I get a "String too long" error.
So I tried to both link and copy the id_rsa private keyfile to the /root/.ssh directory and try ssh without the "-i" option. But it keeps prompting for the password and doesn't seem to use the keyfile.
Any idea what I'm doing wrong? Thanks.