Re: Putty executing command supplied by remote server
From: Bernd Felsche (bernie_at_innovative.iinet.net.au)
Date: 10/22/04
- Next message: Nico Kadel-Garcia: "Re: Problems with scp and cron"
- Previous message: Jacob Nevins: "Re: Putty executing command supplied by remote server"
- In reply to: Michael Surette: "Putty executing command supplied by remote server"
- Next in thread: Michael Surette: "Re: Putty executing command supplied by remote server"
- Reply: Michael Surette: "Re: Putty executing command supplied by remote server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 22 Oct 2004 08:09:37 +0800
Michael Surette <msurette@laframboise.net> writes:
>I have an accounting package which is basically a database program
>running on a Linux server. Users telnet into it using a terminal
>program (netterm) and perform their accounting tasks. This
>thankfully all happens on a trusted network. One feature of this
>package is a report writer which will let users print reports to
>their Windows printers. This feature requires SMB connectivity.
>Recently I've had to set up a remote user to access this package
>and used putty to forward ports 23 and 139 (as outlined on this
>newsgroup), and everything works well.
>Since I am using Putty for the port forwarding, I would like to use
>it as the terminal program as well. Using vt100 emulation I tried
>it and all works well except for the report writer. When it is
>invoked, the server sends an escape sequence back to the terminal
>followed by a UNC path for an executable on the Windows share
>followed by a string indicating the virtual terminal id.
I'm really worried about that bit!
>Presumably Netterm executes this program in a shell that it spawns.
>My question, can this be done with Putty?
You don't need to do it with Putty. Change the printer definitions
on the server to access a printer on the server and define those
printers as being smb printers under Linux. Make sure that the
printer is actually shared out from the PC, and that you have
permissions to print to it.
As long as you're not too worried about people snooping printouts,
PuTTY (sshX) is over-kill.
-- /"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia \ / ASCII ribbon campaign | I'm a .signature virus! X against HTML mail | Copy me into your ~/.signature / \ and postings | to help me spread!
- Next message: Nico Kadel-Garcia: "Re: Problems with scp and cron"
- Previous message: Jacob Nevins: "Re: Putty executing command supplied by remote server"
- In reply to: Michael Surette: "Putty executing command supplied by remote server"
- Next in thread: Michael Surette: "Re: Putty executing command supplied by remote server"
- Reply: Michael Surette: "Re: Putty executing command supplied by remote server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|