Re: [tcpconnect] > SSH?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42756
interpreted = N
texte = >Is it possible to use [tcpconnect] to connect to SSH?Short answer: no.Long answer: It may be possible to set up an ssh tunnel that allows webcat to tcpconnect to a local port which is forwarded through the ssh tunnel to port 106 on your CGP box. However, there may be technical hurdles that I haven't thought of, plus I haven't done this myself yet...>We want to update a file on CommuniGatePro [on a separate box from >Webcat - both OSX], and I know that you can use the PWD module, but >it's not secure. > >Has anyone figured this out? > >Thanks, >-ChrisOne option is to scp or rsync the file to the Communigate box, and then use the perl interface to the CLI (or something like expect to script a remote telnet session) from your crontab to upload the file via the CLI interface.What we ended up doing is using curl to fake a form file upload to the same page used in the web admin (assuming you're updating a WebSkin file here). The authentication is the same as using a web browser, which is not ssl-based, but at least the passwords are base64 encoded during transmission...This is pretty far off topic for this list, so contact me offline if you want to see my code or have other questions.Good luck.-Dale------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [tcpconnect] > SSH? (Dale LaFountain 2002)
  2. [tcpconnect] > SSH? (Chris Wilkinson 2002)
>Is it possible to use [tcpconnect] to connect to SSH?Short answer: no.Long answer: It may be possible to set up an ssh tunnel that allows webcat to tcpconnect to a local port which is forwarded through the ssh tunnel to port 106 on your CGP box. However, there may be technical hurdles that I haven't thought of, plus I haven't done this myself yet...>We want to update a file on CommuniGatePro [on a separate box from >Webcat - both OSX], and I know that you can use the PWD module, but >it's not secure. > >Has anyone figured this out? > >Thanks, >-ChrisOne option is to scp or rsync the file to the Communigate box, and then use the perl interface to the CLI (or something like expect to script a remote telnet session) from your crontab to upload the file via the CLI interface.What we ended up doing is using curl to fake a form file upload to the same page used in the web admin (assuming you're updating a WebSkin file here). The authentication is the same as using a web browser, which is not ssl-based, but at least the passwords are base64 encoded during transmission...This is pretty far off topic for this list, so contact me offline if you want to see my code or have other questions.Good luck.-Dale------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Dale LaFountain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Temporary Serial Numbers for the Beta (2000) New public beta available (1997) Mail Server Needed. (1998) I'm having trouble using [url][interpret][math] together in lookup (1997) [price] maddness (2002) [SHOWIF] (1997) a search based on ^(contains) (1998) Showing once on a founditems (1997) Loosing Quantity (2000) (1997) Formatting ModDate (2000) Time Display from Database (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) RE:DatabaseHelper (1997) MacAuthorize order data fields WAS:How To question... (1997) showif and cart (1997) WebCat not interpreting (2000) Include files (1998) multi-paragraph fields (1997) Calculating Total QTY (1998)