FreeNAS ssh into Linux Box

Rickinfl

Contributor
Joined
Aug 7, 2017
Messages
165
I have a Linux box in a DMZ (1 Way traffic). I want a FreeNAS to grab a folder via SSH off the Linux box and copy it to FreeNAS.

What are the steps to setting this up?

I created the Cronjob it works if I run it in command line on FreeNAS but I have to put in password.

Steps I did.

Created a SSH Keypairs on FreeNAS called Backup.
Logged into Linux box ran ssh-keygen
Copied the Key out of id-ras-pub into the Public Key section of the SSH Keypairs I created.

That's where I'm stuck. It still errors out and I get an email saying permission denied.
 

Rickinfl

Contributor
Joined
Aug 7, 2017
Messages
165
Where do I find that? I copied the id-rsa.pub key from the linux box to the Public Key in the SSH Keypairs.
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
 

Rickinfl

Contributor
Joined
Aug 7, 2017
Messages
165
Got it working... Thanks
 
Top