Can SSH as Root - CANT SSH as normal user

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
aliG
Posts: 76
Joined: Sun 15 Jul 2007, 09:52
Location: Glasgow, Scotland

Can SSH as Root - CANT SSH as normal user

#1 Post by aliG »

=====
Puppy 4.31, embedded PC, 4Gb CF card, Open 2300 Weather station software
=====

Hi, this has been driving me mad for days, I've googled and found all sorts of things but no luck solving it. hopefully someone has had the same problem and can help...

My web-hosting provider (runs Red Hat) requires me to log in using a public/private key, I have put the public key on the server in authorized_keys2 etc and CAN connect from PuTTY on windows using the private key, so the hosting end seems OK.

The problem comes on Puppy...

On my Puppy PC I have a normal account "alison", the key in /home/alison/.ssh - if from this directory I use the command

ssh -2 -i .ssh/alison_private.ssh username@my-web-hosting-provider.co.uk

The logon fails with

Code: Select all

Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,gssapi-with-mic,password)
if I am running on puppy as root (and change to the "/home/alison" directory) using the same command

ssh -2 -i .ssh/alison_private.ssh username@my-web-hosting-provider.co.uk

works fine I'm asked for the password for the key and then away we go...

After the web-hosts keys were not getting accepted I've tried changing the /etc/ssh/ssh_conf file to "strict host checking no" but I can still only connect as root?

I am guessing ssh requires access to something else the normal alison user does not - but what?

Post Reply