Refer remote directory

Posted on 2005-05-17
Last Modified: 2013-12-27

Is it possible to refer to a remote file/directory (on another solaris server) and run command against it without using ftp etc.
e.g. can we do something similar to

ls server: /usr/local/bin

Question by:ebi168
    LVL 34

    Accepted Solution

    Yes, using the insecure "rsh" command, assuming the remote server is configured to accept r* commands (through rexecd, I believe).

    But I wouldn't do that in anything but an isolated network. The r* commands are rather insecure and an open door to the system. If ya gotta use it, try doing it thru something like an SSH tunnel.

    Or NFS-mount the remote filesystem. NFS has its own security issues, admittedly, but may be better than enabling the r* suite.

    Author Comment

    Gee, I use rsh a lot. How come I forgot it!

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
    This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    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.

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now