Fedora 14 to Freenas 8 - passwordless SSH - help

Associate
Joined
6 Jan 2008
Posts
316
Hi there,
I've been trying for a few days now to get passwordless SSH working between my computer and Freenas server, but I've been unable to get the damn thing to work. I'm not sure where I'm going wrong. I should add they aren't on the same network so they operate over the internet to each other.

I've followed loads of guides from the internet, but none of them seem to cover what needs to be done 100% (i.e. newbie proof).

Could someone kindly help me out with the process please?

One site I've tried http://blogs.translucentcode.org/mick/archives/000230.html
 
Yes I've tried every command possible. There is no 100% clear guide on the internet of how to do this. Plus it does not follow the normal method of passwordless ssh, because you can't create files using mkdir.
 
Hi,
What are you trying to do? are you wanting to maintain the system through terminal or do you have symlinks/autofs to drives on Freenas using SMB or NFS? both require two separate solutions...

The first is straightforward, generate a keypair, append to the keychain on the server:

http://forums.freebsd.org/showthread.php?t=1508

NB: although it should be identical, Freenas is built on FreeBSD, maybe intricate details you are missing when following linux guides.

IF you're SMB/NFS directory mounts on fedora from Freenas then SSH auth with that is not going to work. You need something like 'fuse'/'sshfs'

http://fedoraunity.org/solved/server-solutions/sshfs

You can do key's with sshfs, not sure directly but certainly using local port forwarding

Hope this helps.

edit: you have probably done this, but are you passing -i followed by path to your SSH key when you fire ssh? is it not asking for a passphrase?
 
Last edited:
Back
Top Bottom