file share using SSH

Asked by Ray

I use SSH for file sharing between machines that have Ubuntu 8.04 installed. I can see the OpenOffice documents but when I try to open the shared files I am asked for username and password, these are then entered and after a few seconds there is a request to enter username and password again, ad infinitum. My question is how can I access OpenOffice files over a SSH share?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openoffice.org Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Max Berger (max-berger) said :
#1

To make your life easier, I would recommend the use of ssh-keys for passwordless login.

on the login-FROM machine:

ssh-keygen -t dsa

If you provide a password, gnome-keyring will ask you for it once per session. Of course, its easier to set no password, if your machine is secure.

Add the .ssh/id_dsa.pub file to your authorized hosts on the login-TO machine:
edit .ssh/authorized_keys (create if it does not exist)
add the content of id_dsa.pub as a last line

After that all SSH-login should use the key rather than the password.

More Info:
https://help.ubuntu.com/community/SSHHowto#Public%20key%20authentication

Can you help with this problem?

Provide an answer of your own, or ask Ray for more information if necessary.

To post a message you must log in.