Greetings,
In the past I had used this link to set up "saved password" SSH access:
excito-wiki/Tutorials_and_How-tos/Connect_via_SSH_without_Password
(dead link, however seems the excito wiki is no more?). The gist of it was to do this:
ssh-keygen -t rsa (on client machine)
ssh user@b3.local "cat >> ~/.ssh/authorized_keys" < ~/.ssh/id_rsa.pub (again run from client machine)
This was so I could use unattended rsync scripts to backup to the B3. Over the past year I re-installed the B3 on a 4TB disk, and hadn't gotten around to setting up the ssh key pair stuff again.
Today I was trying again, and I successfully put my key to the ~/.ssh/authorized_keys file (and gave it 600 perms, and 700 perms on the folder), but I still get prompted when attempting to ssh into the B3.
This is the error I am getting in /var/log/messages:
Feb 16 07:14:11 b3 kernel: [ 46.699890] sshd (1672): /proc/1672/oom_adj is deprecated, please use /proc/1672/oom_score_adj instead.
I have tried googling that error, but not coming up with much. It seems I need an update to the ssh package? Any advice?
THANKS!
iveand
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
ssh with private key pair no longer working?
Re: ssh with private key pair no longer working?
the excito wiki has moved to wiki.mybubba.org
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
Re: ssh with private key pair no longer working?
run the ssh server with 'verbose' mode set in /ets/ssh/sshd_conf and it will tell you why the key is rejected
Re: ssh with private key pair no longer working?
I think in Squeeze the file name should actually be 'authorized_keys2'.