Opening and Closing Shares via ssh

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Opening and Closing Shares via ssh
# 1  
Old 03-30-2009
Opening and Closing Shares via ssh

Might anyone have an idea on how to mount an xserve share via ssh, then close the share connection?
# 2  
Old 03-30-2009
The document at http://manuals.info.apple.com/en/Mac...ServeSetup.PDF talks about using SSH is that any help?
# 3  
Old 03-31-2009
man mount_afp

Basically, create a directory to be used as the mount point, then mount the server volume at that location.

Code:
mkdir /Volumes/somefolder
mount_afp afp://username:pass@someserver/someshare /Volumes/somefolder

# 4  
Old 04-17-2009
Thanks Flying_Meat, I'll give this a shot. The course of action is to mount the server share so that I can make it a repository for taring a user template, then closing the share on the users desktop again. What I'd really like to be able to do is mount the share invisibly from the desktop, tar the user template and close the invisible share mount again.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Opening different UNIX ssh clients simentously

Hi Team , Please advise is thee any ssh terminal open source software by which I can watch all the 4 unix boxes at same time and whatever i will type will get printed on all the 4 different unix boxes at the same time for example one i know is Moba Xterm ssh client software I have share the url... (1 Reply)
Discussion started by: tuntun06060606
1 Replies

2. Shell Programming and Scripting

Help with Shell Script opening and closing a program

REALLY new to this stuff, sorry. So I want a shell script to open a program, wait 45 minutes, close it, and then do it all again. I want to do this because I am running an iMacros Script for a long period of time and if Firefox is not constantly restarted, memory leaks start to happen. Anyway... (6 Replies)
Discussion started by: plsbbg
6 Replies

3. UNIX for Dummies Questions & Answers

PAM closing SSH session

Hello guys, You are my last hope. I googled for hours and tried so many things but I can't find a way to fix my problem. So there we go: I open a SSH tunnel to my linux vps. My client sends every 5-minutes a keepalive package and I also set the "ClientAliveInterval" value to 300 in the... (8 Replies)
Discussion started by: iamanewb
8 Replies

4. Shell Programming and Scripting

Finding opening and closing braces

I am reading a cpp file thru shell script . There are many fuctions inside the cpp file eg pvvd_fncn_name1 { ..... something } pvvd_fncn_name2 { ..... something } what I require is a method to find the first opening brace and the coresponding last brace and search... (2 Replies)
Discussion started by: ultimatix
2 Replies

5. UNIX for Dummies Questions & Answers

Closing console connected to another machine via ssh

Hi, I have ssh'd into a UNIX server at work from my linux desktop and executed a tar command to backup up some directories to a tape drive. I was wondering would the tar command still execute to completion if I closed my terminal console on my desktop that is connected to the server, would the... (1 Reply)
Discussion started by: mojoman
1 Replies

6. Solaris

closing of ssh section through script

Hi we have a script which establish connection to two other UNIX server through ssh for transfering files There was no exit command after each ssh connection the script ends with done whether this will close all the ssh connection established throgh script which running under cron... (4 Replies)
Discussion started by: GIC1986
4 Replies

7. UNIX for Dummies Questions & Answers

Closing ssh when process run on remote

Hi! I currently run a very long script (two hour left...) on a remote computer through a ssh session. I wonder whats happend if I close the ssh session, or even, the terminal. Is the script running on remote will stop? Thanks for your answers, Tp (1 Reply)
Discussion started by: tipi
1 Replies

8. Post Here to Contact Site Administrators and Moderators

Opening and closing threads

Hi all, Just thought I'd mention something I've noticed since joining this forum :) Would it be a good idea to close threads once the initial question that was posted has been answered? I notice a few posts where people go on and on and as soon as you post a reply to one question they... (2 Replies)
Discussion started by: _Spare_Ribs_
2 Replies

9. UNIX for Dummies Questions & Answers

opening ssh port

I've got openssh installed but when i try to ssh to my machine i get a "port 22: connection refused" message. Do I need to add something to the hosts.allow file to allow ssh access in? I'm running Mandrake 8.1 (5 Replies)
Discussion started by: gasaraki99
5 Replies

10. Post Here to Contact Site Administrators and Moderators

Requests for Opening/Closing Threads

Please send an email to the administrator(s) of the board with thead ID and forum for any thread that is closed that you want open (or open that you want closed). All requested considered. Our apologies if sometimes threads are closed early. If this happens, please email :) Nobody is perfect... (0 Replies)
Discussion started by: Neo
0 Replies
Login or Register to Ask a Question