On Sunday 05 April 2015 19:23:29 Dave Lers wrote:
multi wrote:
Hi,
I'm using Trinity 3.5.13.2 that was installed with exe GNU linux.
I have a bash script to mount a shared folder from a remote
server and open it
in a window. I launch it from a desktop icon. It looks like this:
sudo mount 192.168.0.2:/home/dpjungk/Share /mnt/nfs/client1
nautilus /mnt/nfs/client1
It works fine -- except that, if I close the window and want to
reopen it, it
obviously asks for the password every time.
Does it have to be nautilus and nfs? Have you tried
nfs://192.168.0.2/home/dpjungk/Share/ (or sftp://...) in Konqueror?
Konqueror can save login info and I think network logins are
automatic/transparent, but most of my LAN logins are via ssh
key-pairs
(sftp, rsync, scp and ssh) so I'm not sure.
Hi Dave,
No, it doesn't have to be nautilus. The folder is an nfs share on the
other
computer, I thought that meant I had to mount it as nfs. (I don't
totally
understnad all this)
I generally don't have browsers saving any login info, but maybe i
can set
this one up as an exception. I'll have time to try it late tonight.
If you just want to access files on another *nix box, sftp is great.
If you are dpjungk on both machines, sftp://192.168.0.2/ is all you
need. If the usernames are different, use sftp://dpjungk@192.168.0.2/.
A path (e.g. sftp://dpjungk@192.168.0.2/home/dpjungk/Share/) is
optional... While no configuration is needed and I'm pretty sure
openssh-client is installed by default, openssh-server (e.g.
@192.168.0.2) may not be.
Setting up ssh key-pairs isn't hard and makes logins (ssh, sftp, etc.)
transparent/automatic (no need to save login info in the browser). I
believe ssh defaults will only allow root logins (e.g.
sftp://root@...) via key-pairs. Key-pairs are also needed for setting
up automated rsync backups.