remote access to command line on server

D

DVL

I manage a Windows 2000 server and want to be able to access its command
prompt remotely. In some cases, I'll want to type commands remotely and
sometimes run batch files remotely. Is there a way with built-in Windows
tools to do this? I'd like to use a method with secure communications so
telnet is not an option. Any suggestions?

Thanks.
 
P

Paul R. Sadowski [MVP]

Hello, DVL:
On Mon, 15 Aug 2005 19:04:08 -0500: you wrote...

D> I manage a Windows 2000 server and want to be able to access its command
D> prompt remotely. In some cases, I'll want to type commands remotely and
D> sometimes run batch files remotely. Is there a way with built-in Windows
D> tools to do this? I'd like to use a method with secure communications so
D> telnet is not an option. Any suggestions?
D>
D> Thanks.

rcmd from the resource kit isn't secure. There are ssh implimentations for
windows, free and paid. Do a google search on them. You can also look at the
tools on http://www.sysinternals.com/ to see if they suit you.

Regards, Paul R. Sadowski [MVP].
 
H

Harri Nykanen

I manage a Windows 2000 server and want to be able to access its command
prompt remotely. In some cases, I'll want to type commands remotely and
sometimes run batch files remotely. Is there a way with built-in Windows
tools to do this? I'd like to use a method with secure communications so
telnet is not an option. Any suggestions?

Thanks.

Define remotely.

Through Internet? Through LAN?


But few, not native, methods that I use:
-Remote Administrator contains some kind encryption, but it's not tough.
But it contains remote command-prompt. ( http://www.famatech.com/ )
-Psexec. I use it only in LAN environment, its not perfect but fits to my
needs. And it's free ( http://www.sysinternals.com/ )
 
D

DVL

Define remotely.

Through Internet? Through LAN?

We're looking to manage it locally over a switched LAN. The perfect tool
for me would be a remote shell program that supports encryption, like
SSH. But I can't seem to find a Windows SSH server ...
 
B

Bill Stewart

DVL said:
I manage a Windows 2000 server and want to be able to access its command
prompt remotely. In some cases, I'll want to type commands remotely and
sometimes run batch files remotely. Is there a way with built-in Windows
tools to do this? I'd like to use a method with secure communications so
telnet is not an option. Any suggestions?

Any reason RDP won't work?
 
G

Guest

cygwin comes with an ssh daemon. There's good instructions on this
page: http://pigtail.net/LRP/printsrv/cygwin-sshd.html

Yes, you can install cygwin and enable the SSHD, and then if you use
something like PuTTY to connect, you get an interface that is similar to
using CMD.

There is also a package available for download at:
http://www.openssh.com/windows.html
(project page at http://sshwindows.sourceforge.net)
This installs just enough of cygwin to get the SSHD running, and is
easier to set up than setting up cygwin and then figuring out how to
configure the SSHD. I don't think you get quite the same sort of
commandline interface if you use this instead of the full cygwin package,
so you may want to try both to see which you like best (you can't install
both at once, as they share reg settings, etc.).

Of course, there is also the built-in terminal services connection in
Server 200x, that you can access using the Remote Destop Client from XP
(there is also a client for earlier versions of Windows). This gives you
a full desktop though, so may be a bit of overkill for what you want.

There are a number of third-party programs that give you ways of
executing single commands on a remote machine - you can sometimes use
these to execute CMD, giving you a remote commandline window.
Some of these are:
rexec (part of WindowsXP - can't remember if it comes with earlier Win)
psexec (www.sysinternals.com)
rmtcmd (www.skrubbeltrang.com)
 
S

Stefan Kanthak

Paul R. Sadowski said:
Hello, DVL:
On Mon, 15 Aug 2005 19:04:08 -0500: you wrote...

D> I manage a Windows 2000 server and want to be able to access its command
D> prompt remotely. In some cases, I'll want to type commands remotely and
D> sometimes run batch files remotely. Is there a way with built-in Windows
D> tools to do this? I'd like to use a method with secure communications so
D> telnet is not an option. Any suggestions?
D>
D> Thanks.

rcmd from the resource kit isn't secure. There are ssh implimentations for
windows, free and paid. Do a google search on them. You can also look at the
tools on http://www.sysinternals.com/ to see if they suit you.

But all these ain't built-in!
Windows 2000 Server has the Remote Desktop.
If one needs this to be secure he can use IPSec for this connection.
The same holds for telnet: IPSec makes telnet a secure option!

Stefan
[
 
D

DVL

But all these ain't built-in!
Windows 2000 Server has the Remote Desktop.

We'd like to use RDC but we have a flaky accounting server application on
the server that doesn't like RDC.
If one needs this to be secure he can use IPSec for this connection.
The same holds for telnet: IPSec makes telnet a secure option!

Stefan

How do you implement IPSec? We aren't using it on our network but can it
be enabled for just certain clients while still allowing them to use non-
IPSec TCP-IP communications?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top