I am not sure exactly how to do this.
I need to pull some data over on a regular basis which I can schedule in cron but the only way to get from the SUN to the linux box is via ssh.
I have a directory on the SUN called /backup/reporting and need to execute a file on the linux system in directory /root/backup then pull the tar file back to the SUN system.
I can ssh to the box but have to put the password in. I thought if you generated a public key you would have to put it in the home directory and on the linux system this would be "ROOT". Others have access to the linux box and I don't want them getting into the SUN box so is there a way around this?