SSH Tectia  
Previous Next Up [Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server for IBM z/OS >>
    Getting Started with SSH Tectia Server for IBM z/OS >>
    Configuring the Server >>
    Configuring the Client >>
    Authentication >>
    Transferring Files >>
    Tunneling >>
    Troubleshooting SSH Tectia Server for IBM z/OS >>
    Advanced Information >>
        Running Remote Commands >>
            Remote Command Examples from USS
            Remote Command Examples using JCL
        Submitting JCL Jobs over Secure Shell
        Configuration Options in Load-Balanced Environments
    Man Pages >>
    Log Messages >>

Remote Command Examples from USS

Example 1: This example shows a remote command for creating a directory on a remote Unix system:

> ssh2 user1@unix.example.com mkdir testdir

Example 2: This example shows a remote command for creating a directory on a remote Windows system:

> ssh2 user2@windows.example.com "cmd /c mkdir testdir"

Example 3: Multiple commands can be separated using a semicolon:

> ssh2 user1@unix.example.com "cd /tmp; ls -l test.*; rm test.txt"

Previous Next Up [Contents] [Index]


[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2007 SSH Communications Security Corp.
This software is protected by international copyright laws. All rights reserved.
Copyright Notice