Using -t flag with SSH
Novell Cool Solutions: Tip
By Jared Ottley
Reader Rating
from 1 ratings
|
Digg This -
Slashdot This
Posted: 19 Jan 2006 |
Problem:
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.
Solution:
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.
Example:
ssh -t luser@kant.localdomain.com ls ssh -t luser@kant.localdomain.com yast ssh -t luser@kant.localdomain.com top
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
