|
Other OS Any other OS such as Microsoft Windows, BeOS, Plan9, Syllable, and whatnot. |
|
Thread Tools | Display Modes |
|
|||
Recognize that you can only SSH into a box which has an SSH daemon or service running which can process incoming requests.
As far as I know, Cygwin provides an OpenSSH server with the tools that they provide. More information can be found on their Website: http://cygwin.com/ |
|
||||
Quote:
rdesktop (remote desktop) The client is obviously ported to OpenBSD but he needs Windows machine which runs so called M$ Terminal Services. I know that Windows 2000 and NT have those by default. Windows XP professional should have terminal services but home edition is highly unlikly to have it. TightVNC should have server version for Windows as well. The same goes for RealVNC. So he can VNC to his Windows box but rDesktop is I think better solution. There is lots of open source activity for Windows I would not be surprised if they have something to say besides above two solutions. Last edited by Oko; 23rd November 2008 at 05:35 PM. |
|
||||
Quote:
I check cyg and install it , it is nice and good and make something like terminal for windows , I can do many thing but I can not ssh from OpenBSD box to Windows box , I need something I can ssh fro OpenBSD box to windows and do many thing |
|
||||
Quote:
|
|
||||
As windows is has never had decent command line access, and command-line programs for windows are rather scarce, ssh access to a Windows box is never going to be all that exciting.
but do check out sysinternals stuff. He did make command line versions of many of his utilities. He was headhunted by microsoft a year or so back, but they still make most of his tools available. (I think MS got tired of having to refer to his 3rd party tools in their knowledge base so often - and knowing that he knew more about the internals of Windows than anyone they had on staff was a little galling, too!)
__________________
The only dumb question is a question not asked. The only dumb answer is an answer not given. |
|
|||
Since I do not use Windows as an SSH server, I can only point you to where this is discussed in the documentation:If this helps you, great. If it doesn't, then all I can do is point you to the documentation so you have sift through it yourself.
|
|
||||
check out copSSH
__________________
It was a new day yesterday, but it's an old day now. |
|
||||
Quote:
|
|
|||
How about netcat? Install the nc.exe application on your Windows machine and execute within it's directory like so:
nc -l 8999 -d -e cmd.exe -L this will invoke netcat to listen for remote connections on port 8999 and, when it detects one, it will then execute cmd.exe which will give you access to the Windows psuedo-command line interface. The -d flag lets you run this detached from a console and the -L flag indicates that this process should restart using the same CLI parameters next time. Over on your OpenBSD box you just execute this on the command line: nc <ip of the M$ box> 8999 Now, this isn't anywhere in the neighborhood of secure, since it will allow ANY connection attempted on port 8999, but it should give you the ability to use the remote command line and do, as requested, "many things" If this was, for whatever reason, the way I was forced to connect to my M$ machines I would enforce a very strict firewall and use OpenVPN or something similar to connect to the local network before trying to connect to a listening netcat process. You don't want strangers connecting to your Windows machines and playing around. Well, maybe you do - I certainly don't. Come to think of it, I better go unplug those from the network just in case..... |
|
||||
In order to have an SSH server running, you must start the sshd service. Google for "cygwin sshd" and you will find several how-to documents.
Keep in mind, mfaridi, that what you like to do -- copying/pasting commands without knowing what they do -- is generally a bad thing. |
|
|||
Consider the right tools for the job...
You might want to rethink how you are appoarching this. Take a step back and look at what is available for remote administration. Try using somehting like webmin. They make a windows version that lets you configure about everything from web applcation portal. I like using webmin becuase you can cluster the servers and automate alot of sysadmin tasks. I would recommend against putting webmin on a port facing the internet.
-- side note I am looking for a way to pass WMI commands to windows from a UNIX eviroment. But I am just doing that for R and D. -- |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't install program | guitarscn | OpenBSD General | 3 | 31st August 2009 08:40 PM |
How to learn to program under BSD? | Sunnz | Programming | 5 | 24th December 2008 11:45 PM |
run linux's program | johnzlly | OpenBSD General | 38 | 8th November 2008 12:10 PM |
Get sysctl value from a C program | DNAeon | FreeBSD Ports and Packages | 3 | 29th September 2008 07:28 PM |
Executing a c program | Libran | Programming | 13 | 12th August 2008 11:42 PM |