If I create an SSH Key for root user, will it mess up my replication tasks?

Status
Not open for further replies.

SwisherSweet

Contributor
Joined
May 13, 2017
Messages
139
I would like to send a ZFS dataset to a Mac running OpenZFS. I have been able to replicate a FreeNAS dataset to a Mac running OpenZFS using the terminal. I did this using SSH password authentication. I'd like to setup a FreeNAS replication task for this, but I'm getting permission denied errors since I don't have an SSH key setup.

So with additional research, I have learned that I can create a public/private key on FreeNAS and send the public key to my Mac using `ssh-keygen` command.

If I do this, will all my other Replication Tasks stop working? I think they are root user since I didn't specify a user.
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
When you generate a new key, you can use the -f flag to specify where to write the file.
Code:
ssh-keygen -t rsa -b 4096 -f $HOME/.ssh/id_rsa
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
In the GUI, you can add several keys per user (with newlines, I think... It's not very obvious).
 
Status
Not open for further replies.
Top