Novell is now a part of Micro Focus

Using -t flag with SSH

Novell Cool Solutions: Tip
By Jared Ottley

Digg This - Slashdot This

Posted: 19 Jan 2006


I often find that I have forgotten the location, or name, of a file on another machine when I want copy it to the machine that I am working on. But I don't want to open another terminal or SSH session.


Use the -t flag with ssh.

The -t flag opens a pseudo-tty with in the current session, with the output there in the same screen. The ssh session closes when the command completes. Use it to jump quickly into YaST or top. When you close them..session closed..back at your local machine prompt.


ssh -t ls
ssh -t yast
ssh -t top

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates