?
Solved

Copy directory betweeen Solaris 10 zones

Posted on 2009-04-10
4
Medium Priority
?
1,809 Views
Last Modified: 2012-05-06
I have a Solaris 10 box with 3 zones. I want to sftp the certificate keystore file between zones.

Before hand I logged onto Zone1 and :___ to the keystore directory
    chmod -R 777 keystore
    chown -R sysadmin keystore

then logged into Zone2 as sysadmin and opened terminal
   su
    #sftp sysadmin@zone1(FQDN)
entered PW
    get keystore
result:  Cannot download directory

I am MCSE by trade and fumble thru Unix. To top it off and make it even worse I am dealing with Solaris 10 which I find theres not any good ref books on using it that I have found.
0
Comment
Question by:need4answers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 2000 total points
ID: 24115691
sftp is not meant for dir transfer, use scp -r

scp -r username@remotesystem:/path/to/remdir /path/to/local
0
 
LVL 1

Author Closing Comment

by:need4answers
ID: 31568888
Worked great. You should write a book, Ive been looking for the answer for past 2 days.
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 24116119
I can write a book, but where is the sponsor :)
0
 
LVL 48

Expert Comment

by:Tintin
ID: 24119529
If you have access to the global zone, you can do a simple cp to each of the zones.
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question