[SLE] Starting a ssh session from inetd
I ssh into another machine and then open up a tunnel to a nntpd machine via the remote machine. This allows me remote access. I use the command:* ssh -g -L1234:nntp.myisp.com:119 shell.myisp.com And then LAN machines can connect to port 1234 and connect to the news server. The problem is that I have to telnet into my SuSE machine and issue the above command. What I'd like is to be able to just connect to port 1234 and have inetd start the ssh tunnel. Does anyone know a way to use inetd to start this session automatically? Thanks, * I asked this question on usenet and it was interesting to see the number of attempted connections to this port ;) Bill Moseley mailto:moseley@hank.org -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Hi all, My programmers are at their wits end.. whatever cgi/perl scripts they create under Win98 just don't run under Unix ... Can you recommend a good editor that they can use ? Regards Anurag -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
My programmers are at their wits end.. whatever cgi/perl scripts they create under Win98 just don't run under Unix ...
Can you recommend a good editor that they can use ?
Why don't the scripts run? Is the choice of editor believed relevant to the problem? -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
On Mon, 03 Jul 2000, Anurag Jalan wrote:
Hi all,
My programmers are at their wits end.. whatever cgi/perl scripts they create under Win98 just don't run under Unix ...
Can you recommend a good editor that they can use ?
Regards
Anurag
I end up working on my perl scripts in windows alot. I have never had a problem. The key is not the editor, but how you transfer the file from win to unix. Make sure to transfer in binary mode not ascii. I have used wordpad (not recommended but it does work), notepad, etc. Most of the time I use Homesite. It's an HTML editor, but it also does context highlighting for perl and makes work on the corresponding html files easier. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Darren R. Weber drw@linuxfan.com ICQ# 2849193 http://drw.penguinpowered.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
At 16:41 03/07/00, Anurag Jalan wrote:
Hi all,
My programmers are at their wits end.. whatever cgi/perl scripts they create under Win98 just don't run under Unix ...
Can you recommend a good editor that they can use ?
Regards
Anurag
FTE (http://fte.sourceforge.net/) has ofcourse all the neat things as syntax highlighting in zillions of languages, moving columns, auto indent, etc and runs under *nix, OS/2, Win32. Oh, since you asked, is has configurable cr/lf settings :-) My editor of choice for all my sh,perl,cgi,c stuff. HTH Koos Pol ---------------------------------------------------------------------- S.C. Pol T: +31 20 3116122 Systems Administrator F: +31 20 3116200 Compuware Europe B.V. E: koos_pol@nl.compuware.com Amsterdam PGP public key available -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Hi! The best I know is Ultraedit which provides support and conversion to different formats (DOS, UNIX, MAC, ANSI, EBDIC) Find it in http://www.ultraedit.com Before I found Ultraedit I was using PFE, which also supports several formats. I don't remember any URL, sorry.
My programmers are at their wits end.. whatever cgi/perl scripts they create under Win98 just don't run under Unix ... Can you recommend a good editor that they can use ?
PGP Public Key Fingerprint: 8534 A441 2AD8 AF16 926C FD42 C5D1 1F94 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Pep Serrano wrote:
Hi! The best I know is Ultraedit which provides support and conversion to different formats (DOS, UNIX, MAC, ANSI, EBDIC) Find it in http://www.ultraedit.com
Before I found Ultraedit I was using PFE, which also supports several formats. I don't remember any URL, sorry.
My programmers are at their wits end.. whatever cgi/perl scripts they create under Win98 just don't run under Unix ...
This is not an editor related question. It is due to different EOL conventions. DOS/Win use 0x0A 0x0D while unix uses only 0x0A. And even a unix editor running under DOS will follow the DOS EOL convention. So to make Scripts created/edited under Win run under Unix you have (UNDER UNIX!) to remove any 0x0D at EOL. One way to perform this task is to use tools like 'dos2unix' or however they may be called. Or, in a unix editor search for 0x0D at EOL and replace with nothing. You will have to use the 'Literal' key(sequence) of your unix editor and then, holding down ALT, type '13' on the numeric keypad. Or, holding down the right ALT key, press 'd'. Henning -- H. Henning Vossieck http://hhv.de [currently inactive] SuSE Linux 6.4 Kernel 2.4.0-test3-267 glibc 2.1.3 egcs 2.95.2 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
On 04-Jul-00 Henning wrote: # Pep Serrano wrote: # > # > Hi! # > The best I know is Ultraedit which provides support and conversion to # > different formats (DOS, UNIX, MAC, ANSI, EBDIC) # > Find it in http://www.ultraedit.com # > # > Before I found Ultraedit I was using PFE, which also supports several # > formats. I don't remember any URL, sorry. # > # > >My programmers are at their wits end.. whatever # > >cgi/perl scripts they create under Win98 just don't run # > >under Unix ... # # This is not an editor related question. It is due to different EOL # conventions. DOS/Win use 0x0A 0x0D while unix uses only 0x0A. # And even a unix editor running under DOS will follow the DOS # EOL convention. # # So to make Scripts created/edited under Win run under Unix you have # (UNDER UNIX!) to remove any 0x0D at EOL. One way to perform this # task is to use tools like 'dos2unix' or however they may be called. # Or, in a unix editor search for 0x0D at EOL and replace with nothing. # You will have to use the 'Literal' key(sequence) of your unix editor # and then, holding down ALT, type '13' on the numeric keypad. # Or, holding down the right ALT key, press 'd'. There is an easier solution: see man recode. SuSE provides some practical shortcuts: dos2unix and unix2dos are standard aliasses, at least under SuSE 6.3. The first does `recode ibmpc..lat1', the other does `recode lat1..ibmpc'. Other options exist, macintosh, files encoded for other character sets, ... Hope this helps. Maarten Sneep
----------------------------------------------------------------------- A composer is a guy who goes around forcing his will on unsuspecting air molecules,often with the assistence of unsuspecting musicians. ----------------------------------------------------------------------- Maarten Sneep Atomic- and Laser Physics group vrije Universiteit, amsterdam The Netherlands
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (8)
-
a_jalan@vsnl.com
-
fountai@hursley.ibm.com
-
hhv@hhv.de
-
koos.pol@nl.compuware.com
-
moseley@hank.org
-
pep@serrano.net
-
sneep@nat.vu.nl
-
weberdr@bellsouth.net