[plug] putty for Red Hat Linux 7.3
Craig Ringer
craig at postnewspapers.com.au
Tue Apr 13 17:53:28 WST 2004
On Tue, 2004-04-13 at 17:42, Craig Ringer wrote:
> Script will do the job nicely. Just run `script`, then the commands you
> want to log, then 'exit' or ^D to end the logging session.
Here's an example that should show you some of the things you can do.
Others have since corrected me about PuTTY, though - apparently it's
been ported natively. So feel free to use that instead. Personally I
find openssh much more flexible and generally handy, though.
Craig Ringer
-------------- next part --------------
Script started on Tue Apr 13 17:50:32 2004
s]0;craig at bucket:~[craig at bucket craig]$ sssh [K[K[Kh wwwpost
Linux www 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i686 unknown
No mail.
Last login: Tue Apr 13 18:17:59 2004 from access.postnewspapers.com.au
]0;craig at www.postnewspapers.com.au]1;wwwcraig at www:~$ ls
[00m[01;34mMail[00m [01;32mchkrootkit[00m [01;31mhtml.tgz[00m [01;32msendmsg[00m
[00manalog_combined.html[00m [00mclassifications.pl[00m [01;32mid_rsa.pub[00m [01;32msendmsg_pin[00m
[01;31manalog_combined.html.gz[00m [01;34mclassifieds[00m [00midentity.pub[00m [01;34mshots[00m
[01;34mbackups[00m [00mdead.letter[00m [00mnmap.log[00m [01;32msubmit_classie.cgi[00m
[01;34mbuild[00m [01;31mdocument.zip[00m [01;31mpdf_site.tgz[00m [00mtest2[00m
[00mcacert.pem[00m [00mhome.shtml[00m [01;31mpost_info.tar[00m [01;34mtmp[00m
[01;34mcainst[00m [01;31mhomes.shtml.tar[00m [01;34mpublic_html[00m [00mxerox.ppd[00m
[mcraig at www:~$ logout
Connection to www.postnewspapers.com.au closed.
]0;craig at bucket:~[craig at bucket craig]$ scp dosc[K[Kcs.sz[Kxw wwwpost:
docs.sxw 0% | | 0 --:-- ETA
docs.sxw 100% |*****************************| 6916 00:00
]0;craig at bucket:~[craig at bucket craig]$ r[Kssh docs.ss[Kxw ww[K[K[K[K[K[K[K[K[K[K[Kwwwpost rm docs.sxw
]0;craig at bucket:~[craig at bucket craig]$ echo "beep" | ssh wwwpost 'cat > beep.[K[K[K[K[Koutfile'
]0;craig at bucket:~[craig at bucket craig]$ ssh wwwpost cat outfile
beep
]0;craig at bucket:~[craig at bucket craig]$ exit
Script done on Tue Apr 13 17:51:38 2004
More information about the plug
mailing list