Your browser does not support HTML5 local storage or you have disabled it. Some functionality on this site, including saving your privacy settings and offering you special discounts, uses local storage and may not work with local storage disabled. We recommend allowing the use of local storage in your browser. In some browsers, it is the same setting used for disabling cookies.

SSH

Remote Command Examples from USS

Example 1: Remote command for creating directory testdir on a remote Unix system:

$ sshg3 user1@unix.example.com mkdir testdir

Example 2: Remote command for creating a directory on a remote Windows system:

$ sshg3 user2@windows.example.com "cmd /c mkdir testdir"

Note that quotes (") are needed around remote Windows commands when they are run from the USS shell.

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

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

Note that quotes (") are needed around multiple remote commands when they are run from the USS shell.

===AUTO_SCHEMA_MARKUP===