[Gllug] rssh with public key authentication?

John Edwards john at cornerstonelinux.co.uk
Wed Dec 8 02:20:58 UTC 2010


On Tue, Dec 07, 2010 at 05:37:30PM +0000, gvim wrote:
> Has anyone managed to get rssh working with public key
> authentication? Can't find much on Google.

Yes, works fine.

Easiest way is to test that the keys work with the shell set to
/bin/bash (or similar) and then switch the shell to rssh.

Make sure the ~/.ssh/ directory and authorized_keys file (note the
US spelling) are owned by the user and only readable by the user.

Use the verbose flag on the ssh client to show info on what is
going on and where things are failing, eg:
	rsync -va -e 'ssh -v' /dir/file remote-server:/dir/file

Check the authentication syslog files on the server (eg
/var/log/auth.log for Debian or /var/log/secure for RedHat)
for errors from the server end.


-- 
#---------------------------------------------------------#
|    John Edwards   Email: john at cornerstonelinux.co.uk    |
#---------------------------------------------------------#
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20101208/e19d4eee/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list