Using -t flag with SSH
Novell Cool Solutions: Tip
By Jared Ottley
Digg 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 email@example.com ls ssh -t firstname.lastname@example.org yast ssh -t email@example.com top
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com