Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [PATCH] private mounts | From | Miklos Szeredi <> | Date | Sun, 24 Apr 2005 23:15:35 +0200 |
| |
> > > I believe the point is: > > > > > > 1. Person is logged from client Y to server X, and mounts something on > > > $HOME/mnt/private (that's on X). > > > > > > 2. On client Y, person does "scp X:mnt/private/secrets.txt ." > > > and wants it to work. > > > > > > The second operation is a separate login to the first. > > > > Solution? > > ... is the same as for the same question with "set of mounts" replaced > with "environment variables".
No. You can't set "mount environment" in scp.
Otherwise your analogy is nice, but misses a few points. The usage of mounts that we are talking about is much more dynamic than usage of environment variables. You wouldn't want to set an environment variable in all your shells just to access a remote system though sshfs for example. It _is_ possible (except the ftp, scp case) but _very_ inconvenient.
I ask again, what solution would you suggest?
Thanks, Miklos - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |