<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SSH can not run batch script on windows in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138234#M451850</link>
    <description>Thanks Dennis,&lt;BR /&gt;&lt;BR /&gt;It does not work.&lt;BR /&gt;&lt;BR /&gt;and here is the debug from working UNIX server, they are identical.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$./wwwsundc3.sh&lt;BR /&gt;OpenSSH_4.1, OpenSSL 0.9.7e 25 Oct 2004&lt;BR /&gt;HP-UX Secure Shell-A.04.00.000, HP-UX Secure Shell version&lt;BR /&gt;debug1: Reading configuration data /opt/ssh/etc/ssh_config&lt;BR /&gt;debug1: Connecting to sundc3 [10.10.2.23] port 22.&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: identity file /home/batchus/.ssh/id_rsa type 1&lt;BR /&gt;debug1: identity file /home/batchus/.ssh/id_dsa type -1&lt;BR /&gt;debug1: Remote protocol version 2.0, remote software version SysaxSSH_1.0&lt;BR /&gt;debug1: no match: SysaxSSH_1.0&lt;BR /&gt;debug1: Enabling compatibility mode for protocol 2.0&lt;BR /&gt;debug1: Local version string SSH-2.0-OpenSSH_4.1&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT sent&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT received&lt;BR /&gt;debug1: kex: server-&amp;gt;client aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: kex: client-&amp;gt;server aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024&amp;lt;1024&amp;lt;8192) sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_INIT sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY&lt;BR /&gt;debug1: Host 'sundc3' is known and matches the RSA host key.&lt;BR /&gt;debug1: Found key in /home/batchus/.ssh/known_hosts:1&lt;BR /&gt;debug1: ssh_rsa_verify: signature correct&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS sent&lt;BR /&gt;debug1: expecting SSH2_MSG_NEWKEYS&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS received&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_REQUEST sent&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_ACCEPT received&lt;BR /&gt;debug1: Authentications that can continue: publickey,password&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Offering public key: /home/batchus/.ssh/id_rsa&lt;BR /&gt;debug1: Server accepts key: pkalg ssh-rsa blen 149&lt;BR /&gt;debug1: read PEM private key done: type RSA&lt;BR /&gt;debug1: Authentication succeeded (publickey).&lt;BR /&gt;debug1: channel 0: new [client-session]&lt;BR /&gt;debug1: Entering interactive session.&lt;BR /&gt;Received disconnect from 10.10.2.23: 2: disconnecting&lt;BR /&gt;</description>
    <pubDate>Wed, 29 Oct 2008 22:29:10 GMT</pubDate>
    <dc:creator>tom quach_1</dc:creator>
    <dc:date>2008-10-29T22:29:10Z</dc:date>
    <item>
      <title>SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138228#M451844</link>
      <description>dear all,&lt;BR /&gt; &lt;BR /&gt;Please help me on this issue.&lt;BR /&gt;this script will run from HPUX 11.11 to windows 2003 using SSH (SSH installed and configured on windows)&lt;BR /&gt;what it does is to ssh to host (sundc3) and run the batch script (fpt33.bat) this script will ftp to HPUX and pickup a file to windows.&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;#set -x&lt;BR /&gt;sleep 2;&lt;BR /&gt;ssh -T  sundc3 &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;ftp33.bat&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;this one is working fine on HPUX 11.11&lt;BR /&gt;i am moving to 11.31&lt;BR /&gt;doing the same thing, the windows server is still the same but the HPUX is now on new server HPUX itanium 11.31 &lt;BR /&gt;the problem that i have now is, the script ran fine on Itanium, no error, but it did not run the batch file from windows.&lt;BR /&gt;here is how i ran the script&lt;BR /&gt;$./winuser.sh&lt;BR /&gt;Received disconnect from 10.10.2.23: 2: disconnecting&lt;BR /&gt;&lt;BR /&gt;if i run this command from command line &lt;BR /&gt;$ssh -T  sundc3 &lt;BR /&gt;it will connect to windows no problem.&lt;BR /&gt;or if i run the batch file from windows, it will connect to HPUX 11.31 noproblem.&lt;BR /&gt;so the problem seems somwwhere in the script.&lt;BR /&gt;Please Help!&lt;BR /&gt;Regards,&lt;BR /&gt;Tom&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Oct 2008 18:11:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138228#M451844</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2008-10-29T18:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138229#M451845</link>
      <description>Try to use in script: &lt;BR /&gt;&lt;BR /&gt;ssh -T sundc3 ftp33.bat&lt;BR /&gt;&lt;BR /&gt;Also check with -v option to see more details.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 29 Oct 2008 18:23:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138229#M451845</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-10-29T18:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138230#M451846</link>
      <description>Thanks Ivan,&lt;BR /&gt;&lt;BR /&gt;Without "&amp;lt;&amp;lt;" it won't run&lt;BR /&gt;with -v i can see more detail.&lt;BR /&gt;it seems like the connection is fine, but it could not run the bat file on windows.&lt;BR /&gt;Any idea Please!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$./winuser.sh.bk&lt;BR /&gt;+ sleep 2&lt;BR /&gt;+ ssh -T -v sundc3&lt;BR /&gt;+ 0&amp;lt; /var/tmp/sh4637.1&lt;BR /&gt;OpenSSH_4.7p1+sftpfilecontrol-v1.2-hpn12v17, OpenSSL 0.9.7m 23 Feb 2007&lt;BR /&gt;HP-UX Secure Shell-A.04.70.023, HP-UX Secure Shell version&lt;BR /&gt;debug1: Reading configuration data /opt/ssh/etc/ssh_config&lt;BR /&gt;debug1: Connecting to sundc3 [10.10.2.23] port 22.&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: identity file /home/winuser/.ssh/id_rsa type 1&lt;BR /&gt;debug1: identity file /home/winuser/.ssh/id_dsa type -1&lt;BR /&gt;debug1: Remote protocol version 2.0, remote software version SysaxSSH_1.0&lt;BR /&gt;debug1: no match: SysaxSSH_1.0&lt;BR /&gt;debug1: Enabling compatibility mode for protocol 2.0&lt;BR /&gt;debug1: Local version string SSH-2.0-OpenSSH_4.7p1+sftpfilecontrol-v1.2-hpn12v17&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT sent&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT received&lt;BR /&gt;debug1: kex: server-&amp;gt;client aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: kex: client-&amp;gt;server aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024&amp;lt;1024&amp;lt;8192) sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_INIT sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY&lt;BR /&gt;debug1: Host 'sundc3' is known and matches the RSA host key.&lt;BR /&gt;debug1: Found key in /home/winuser/.ssh/known_hosts:1&lt;BR /&gt;debug1: ssh_rsa_verify: signature correct&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS sent&lt;BR /&gt;debug1: expecting SSH2_MSG_NEWKEYS&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS received&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_REQUEST sent&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_ACCEPT received&lt;BR /&gt;debug1: Authentications that can continue: publickey,password&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Offering public key: /home/winuser/.ssh/id_rsa&lt;BR /&gt;debug1: Server accepts key: pkalg ssh-rsa blen 277&lt;BR /&gt;debug1: read PEM private key done: type RSA&lt;BR /&gt;debug1: Authentication succeeded (publickey).&lt;BR /&gt;debug1: Final hpn_buffer_size = 131072&lt;BR /&gt;debug1: channel 0: new [client-session]&lt;BR /&gt;debug1: Entering interactive session.&lt;BR /&gt;Received disconnect from 10.10.2.23: 2: disconnecting&lt;BR /&gt;itauxap1:[winuser]:[TWO_TASK=SAP]:/home/winuser&lt;BR /&gt;$&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Oct 2008 18:55:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138230#M451846</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2008-10-29T18:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138231#M451847</link>
      <description>&amp;gt;but it could not run the bat file on windows.&lt;BR /&gt;&lt;BR /&gt;Can you add something like a "dir" command before your ftp33.bat?&lt;BR /&gt;The last things we see are:&lt;BR /&gt;debug1: Entering interactive session.&lt;BR /&gt;Received disconnect from 10.10.2.23: 2: disconnecting</description>
      <pubDate>Wed, 29 Oct 2008 19:44:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138231#M451847</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-29T19:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138232#M451848</link>
      <description>Thanks Dennis,&lt;BR /&gt;&lt;BR /&gt;if i add the dir before the sundc3 then it think the dir is the host and got an error.&lt;BR /&gt;with this line, it get me to windows dir&lt;BR /&gt;$ssh -T -v sundc3 &lt;BR /&gt;&lt;BR /&gt;Microsoft Windows 2000 [Version 5.00.2195]&lt;BR /&gt;(C) Copyright 1985-2000 Microsoft Corp.&lt;BR /&gt;C:\winuser&amp;gt;&lt;BR /&gt;&lt;BR /&gt;try to run from command line, how can i run &lt;BR /&gt;this line below&lt;BR /&gt;$ssh -T -v sundc3 &amp;lt;&lt;EOF ftp33.bat=""&gt;&lt;/EOF&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom</description>
      <pubDate>Wed, 29 Oct 2008 20:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138232#M451848</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2008-10-29T20:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138233#M451849</link>
      <description>&amp;gt;if i add the dir before the sundc3&lt;BR /&gt;&lt;BR /&gt;Sorry I meant:&lt;BR /&gt;ssh -T sundc3 &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;dir&lt;BR /&gt;ftp33.bat&lt;BR /&gt;EOF</description>
      <pubDate>Wed, 29 Oct 2008 21:41:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138233#M451849</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-29T21:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138234#M451850</link>
      <description>Thanks Dennis,&lt;BR /&gt;&lt;BR /&gt;It does not work.&lt;BR /&gt;&lt;BR /&gt;and here is the debug from working UNIX server, they are identical.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$./wwwsundc3.sh&lt;BR /&gt;OpenSSH_4.1, OpenSSL 0.9.7e 25 Oct 2004&lt;BR /&gt;HP-UX Secure Shell-A.04.00.000, HP-UX Secure Shell version&lt;BR /&gt;debug1: Reading configuration data /opt/ssh/etc/ssh_config&lt;BR /&gt;debug1: Connecting to sundc3 [10.10.2.23] port 22.&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: identity file /home/batchus/.ssh/id_rsa type 1&lt;BR /&gt;debug1: identity file /home/batchus/.ssh/id_dsa type -1&lt;BR /&gt;debug1: Remote protocol version 2.0, remote software version SysaxSSH_1.0&lt;BR /&gt;debug1: no match: SysaxSSH_1.0&lt;BR /&gt;debug1: Enabling compatibility mode for protocol 2.0&lt;BR /&gt;debug1: Local version string SSH-2.0-OpenSSH_4.1&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT sent&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT received&lt;BR /&gt;debug1: kex: server-&amp;gt;client aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: kex: client-&amp;gt;server aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024&amp;lt;1024&amp;lt;8192) sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_INIT sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY&lt;BR /&gt;debug1: Host 'sundc3' is known and matches the RSA host key.&lt;BR /&gt;debug1: Found key in /home/batchus/.ssh/known_hosts:1&lt;BR /&gt;debug1: ssh_rsa_verify: signature correct&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS sent&lt;BR /&gt;debug1: expecting SSH2_MSG_NEWKEYS&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS received&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_REQUEST sent&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_ACCEPT received&lt;BR /&gt;debug1: Authentications that can continue: publickey,password&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Offering public key: /home/batchus/.ssh/id_rsa&lt;BR /&gt;debug1: Server accepts key: pkalg ssh-rsa blen 149&lt;BR /&gt;debug1: read PEM private key done: type RSA&lt;BR /&gt;debug1: Authentication succeeded (publickey).&lt;BR /&gt;debug1: channel 0: new [client-session]&lt;BR /&gt;debug1: Entering interactive session.&lt;BR /&gt;Received disconnect from 10.10.2.23: 2: disconnecting&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Oct 2008 22:29:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138234#M451850</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2008-10-29T22:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138235#M451851</link>
      <description>Try using the -B (for BATCH) in your ssh script.</description>
      <pubDate>Thu, 30 Oct 2008 14:43:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138235#M451851</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2008-10-30T14:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138236#M451852</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Can someone please helps me on this issue&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Oct 2008 15:04:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138236#M451852</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2008-10-30T15:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138237#M451853</link>
      <description>if the script ftp33.bat exists on the windows box, then a script like:&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;#set -x&lt;BR /&gt;sleep 2;&lt;BR /&gt;ssh sundc3 full/path/to/ftp33.bat&lt;BR /&gt;&lt;BR /&gt;ought to work, i would think.&lt;BR /&gt;&lt;BR /&gt;I must admit, I've not seen an example where "here-doc" works in the fashion you described.</description>
      <pubDate>Thu, 30 Oct 2008 15:48:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138237#M451853</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-10-30T15:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138238#M451854</link>
      <description>Thanks Rex &amp;amp; OldSchool,&lt;BR /&gt;&lt;BR /&gt;Rex the "-B" is not ssh option.&lt;BR /&gt;this script here from unix 11.11 to windows and it's still working. the problem is with 11.31 ; the same script won't run.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;#set -x&lt;BR /&gt;sleep 2;&lt;BR /&gt;ssh -T sundc3 &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;ftp33.bat&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;somehow this line did not work before but it run now&lt;BR /&gt;ssh -T -v   sundc3 ftp33.bat&lt;BR /&gt;....&lt;BR /&gt;debug1: channel 0: new [client-session]&lt;BR /&gt;debug1: Entering interactive session.&lt;BR /&gt;debug1: Sending command: ftp33.bat&lt;BR /&gt; ---&amp;gt;and it stays there.&lt;BR /&gt;&lt;BR /&gt;debug1: Entering interactive session.&lt;BR /&gt;debug1: Sending command: c:/winuser/ftp33.bat&lt;BR /&gt;&lt;BR /&gt;this&lt;BR /&gt;ssh -T -v   sundc3 c:\\winuser\\ftp33.bat&lt;BR /&gt;becomes this&lt;BR /&gt;debug1: Sending command: c:\\winuser\\ftp33.bat&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;how can i send this  "\" to windows&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for your helps.&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Oct 2008 20:02:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138238#M451854</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2008-10-30T20:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138239#M451855</link>
      <description>&amp;gt;the problem is with 11.31&lt;BR /&gt;&lt;BR /&gt;Do you have the same ssh on each?  From your debug output, it doesn't look like it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;how can i send this "\" to windows&lt;BR /&gt;&lt;BR /&gt;First of all put it in single quotes:&lt;BR /&gt;'c:\\winuser\\ftp33.bat'&lt;BR /&gt;&lt;BR /&gt;I don't know if ssh will require extra quoting.</description>
      <pubDate>Thu, 30 Oct 2008 21:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138239#M451855</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-30T21:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138240#M451856</link>
      <description>Thanks Dennis,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;the problem is with 11.31&lt;BR /&gt;---&amp;gt;Yes my 11.11 is still working with the same script&lt;BR /&gt;&lt;BR /&gt;Do you have the same ssh on each? From your debug output, it doesn't look like it.&lt;BR /&gt;--&amp;gt;yes the scripts are the same on both servers.&lt;BR /&gt;&lt;BR /&gt;and here is the output.&lt;BR /&gt;debug1: Sending command: c:\\\\winuser\\\\ftp33.bat&lt;BR /&gt;&lt;BR /&gt;i did try single, double, forward and backward slash but none is working.&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Oct 2008 05:30:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138240#M451856</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2008-10-31T05:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138241#M451857</link>
      <description>&amp;gt;&amp;gt;Do you have the same ssh on each? From your debug output, it doesn't look like it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;--&amp;gt;yes the scripts are the same on both servers.&lt;BR /&gt;&lt;BR /&gt;I was saying your ssh is different and that may be the cause.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;i did try single, double&lt;BR /&gt;&lt;BR /&gt;Again, try something that doesn't need a path, like dir.</description>
      <pubDate>Fri, 31 Oct 2008 07:37:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138241#M451857</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-31T07:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138242#M451858</link>
      <description>from the 11.31 box, try to log in via ssh to windows box and run the ftp script manually, as in:&lt;BR /&gt;&lt;BR /&gt;ssh sundc3&lt;BR /&gt;c:\&amp;gt;ftp33.bat&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What happens?</description>
      <pubDate>Fri, 31 Oct 2008 12:05:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138242#M451858</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-10-31T12:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138243#M451859</link>
      <description>if the above works, then try the following items from the commmand line on the 11.31 box:&lt;BR /&gt;&lt;BR /&gt;ssh sundc3 ftp33.bat&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;ssh -T sundc3 ftp33.bat&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Which (if either) works?</description>
      <pubDate>Fri, 31 Oct 2008 12:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138243#M451859</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-10-31T12:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138244#M451860</link>
      <description>Thank you all,&lt;BR /&gt;&lt;BR /&gt;this command did not work&lt;BR /&gt;$ssh sundc3 dir &amp;lt;--&lt;BR /&gt;&lt;BR /&gt;this one work from command line manually&lt;BR /&gt;$ssh sundc3&lt;BR /&gt;ftp33.bat&lt;BR /&gt;&lt;BR /&gt;this one &lt;BR /&gt;$ssh -T sundc3 &amp;lt;--can connect to windows but ican not type anything.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Oct 2008 14:57:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138244#M451860</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2008-10-31T14:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138245#M451861</link>
      <description>once more:  &lt;BR /&gt;&lt;BR /&gt;What happens when you do &lt;BR /&gt;&lt;BR /&gt;ssh sundc3 ftp33.bat&lt;BR /&gt;&lt;BR /&gt;from the command line of the 11.31 box?</description>
      <pubDate>Fri, 31 Oct 2008 15:36:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138245#M451861</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-10-31T15:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138246#M451862</link>
      <description>ssh sundc3 ftp33.bat &lt;BR /&gt;&lt;BR /&gt;it was just sitting there,&lt;BR /&gt;&lt;BR /&gt;if i run it with &lt;BR /&gt;$ssh -v sundc3 ftp33.bat&lt;BR /&gt;i can see this, but it just sitting there.&lt;BR /&gt;&lt;BR /&gt;.....&lt;BR /&gt;debug1: read PEM private key done: type RSA&lt;BR /&gt;debug1: Authentication succeeded (publickey).&lt;BR /&gt;debug1: Final hpn_buffer_size = 131072&lt;BR /&gt;debug1: channel 0: new [client-session]&lt;BR /&gt;debug1: Entering interactive session.&lt;BR /&gt;debug1: Sending command: ftp33.bat&lt;BR /&gt;...and it just stay there.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Oct 2008 17:25:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138246#M451862</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2008-10-31T17:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: SSH can not run batch script on windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138247#M451863</link>
      <description>when its just "sitting there" hitting "enter" do anything? (doubtful)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Oct 2008 18:25:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-can-not-run-batch-script-on-windows/m-p/5138247#M451863</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-10-31T18:25:18Z</dc:date>
    </item>
  </channel>
</rss>

