- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to execute a windows command from Unix?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 04:38 AM
11-04-2003 04:38 AM
Can I execute a windows command from Unix? For example "dir" command, and start the command from Unix side. The environment is Windows 2000 sp4 and HP-UX 11.0. There is restriction, the process has to be fully automated. no prompts for passwords or logins.
Please help.
Regards,
Jan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 04:47 AM
11-04-2003 04:47 AM
Re: How to execute a windows command from Unix?
If all you need is file access, Samba might be the tool you need. If you need an interactive environment on the Window's side of the connection, you are limited to ftp and http. FTP will require a login, unless you use anonymous which introduces security risks. HTTP requires a login and password unless you are going to implement ssl and share certificate info. It's not a trival setup.
So, what sort of work are you wanting to do on the Window's side?
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 04:52 AM
11-04-2003 04:52 AM
Re: How to execute a windows command from Unix?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 04:52 AM
11-04-2003 04:52 AM
SolutionYou can find it by searching ssh at download.com, install it and then use it as follows:
ssh user@hostname "dir"
You will be prompted for a password, but the command will execute.
You can exchange public keys so the same unix user can bypass passwords on the windows box. Attaching a reference doc.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 04:53 AM
11-04-2003 04:53 AM
Re: How to execute a windows command from Unix?
Please refer the foll. links for info.
http://www.research.att.com/sw/tools/uwin/
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,922,00.html
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 07:21 AM
11-04-2003 07:21 AM
Re: How to execute a windows command from Unix?
thanks,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 08:47 AM
11-04-2003 08:47 AM
Re: How to execute a windows command from Unix?
You can install CIFS/9000, which is samba. Then you can mount a shared drive on the Windows 2000 system and do directory type commands on it. Somewhat limited in what you can do, but if your aim is dir and other disk operations, Samba is safe and secure.
Server:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA
Client:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8724AA
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com