DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-08-03 05:52:16

violetdream
New member
Registered: 2011-06-21
Posts: 3

passwordless ssh login from main computer, problem with ssh-agent?

Hi, I have a setup where I want to rsync some files using SSH since rsync to a CIFS share is buggy in linux. I'd like to put this in cron, but it asks for a password each time. I'm used to doing the whole thing with authorized keys, but it doesn't seem to be working properly this time around. I have a feeling it has something to do with ssh-agent not being started in the background. Is this a DNS-320 specific problem?

One odd thing that I did notice is that when I put the key in the right place, I get :
Enter passphrase for key '/home/root/.ssh/id_rsa':

before asking for the password for root to log in. If I move or delete the file, it doesn't ask for this, so I know it is picking up the authorized keys. However it's doing the exact opposite of what I want, I don't want more prompts. I followed the instructions here: http://nas-tweaks.net/53/private-public … sh-in-ffp/

and uncommented the pubkey line, this didn't seem to do any good.

I've even tried making a passwordless user (not root) but ssh keeps prompting for a password anyway.

I've tried the following instructions to try to play with ssh-agent, since the "Enter passphrase" can be a symptom of this not functioning correctly, according to here: http://bashcurescancer.com/setting_up_s … sword.html

And I still am prompted. Any help?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB