First time posting, although the site has helped solve many problems in the past!
I would like to create a script to simplify a series of commands that I run:
Log into the ssh-server (RSA key)
Once there, I mount a truecrypt volume:
After entering the password to complete the mount, I log out from the ssh-server
I then mount those files locally:
Once I have finished working, I unmount the remote volume:
I then log back onto the ssh-server to unmount the truecrypt container:
I've made some simple scripts for vnc through ssh, but I've not managed to make much headway on scripting this.
I'm presuming I'll need two scripts: one to mount the truecrypt container and then mount that locally, and another script to dismount the remote container then dismount from truecrypt.
Any pointers on how to go about this would be very much appreciated! (and indeed whether I can refine the process)
-- Added with regard to alternative method --
Although I can mount the drive locally then use truecrypt locally:
The (lack of) speed in accessing the truecrypt contents makes it unworkable. I've put this down to the very slow server
---------- Post updated 04-06-11 at 03:44 AM ---------- Previous update was 04-05-11 at 02:05 PM ----------
Well, I'm still not getting very far with this one.
If I try the following:
It just hangs indefinitely after sending command: truecrypt /media/uhd/container ~/mnt ... which is the point at which I would be expected to enter the truecrypt container's password.
Any clues on what I can do in order to get the password prompt?
Last edited by freshtoast; 04-05-2011 at 05:13 PM..
Hi, all..
Does Solaris 8 support sshfs? (Sorry if my question is too simple :o)
We are going to mount a file system from Solaris 8 on HP-UX 11i. Will things will go smoothly with this? Will there be any performance problem if the number of users grow to perform I/O operations on mounted fs?
... (4 Replies)
Hi everyone.
I have 3 machines, let's call them store, node1 and node2.
I have to mount on node1 and node2 the same directory of store.
So, I launch the sshfs command on node1 and everything works fine.
But when I try to do that on node2, it hangs for a while and then I... (0 Replies)
Hi everyone.
I have 3 machines, let's call them store, node1 and node2.
I have to mount on node1 and node2 the same directory of store.
So, I launch the sshfs command on node1 and everything works fine.
But when I try to do that on node2, it hangs for a while and then I obtain:... (0 Replies)
I have an automated testing script that relies on the dev box being able to see production's (NFS) share. It uses rsync and ssh to handle transfers and command execution; however, it also needs the production share mounted in order to run Perl code against it when Unix commands via ssh will not do.... (2 Replies)
Hi, I am new to this forum.
I want to setup my personal Dropbox between my home server and the work station in the office.
I followed this tutorial
danbishop.org/2011/09/10/...-in-os-x-lion/and it works great. :)
The trouble now is I am not sure how I can make it to start on boot.
... (3 Replies)
I'm trying to setup a link between my home pc (work-machine) and a server at work (tar-machine) that is behind a gateway (hop-machine) and not directly accessible.
my actions:
work-machine$ ssh -L 1234:tar-machine:22 hop-machine
work-machine$ ssh -p 1234 user@127.0.0.1
- shh access on... (1 Reply)